enforce-nn

v2.0.0 safe
1.7
Low Risk

A hard-constrained neural network framework that enforces nonlinear equality and inequality constraints at inference time via adaptive-depth neural projection.

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 19 test file(s) found

  • Test runner config found: pyproject.toml
  • 19 test file(s) detected (e.g. smoke_test.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (18492 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Type checker (mypy / pyright / pytype) referenced in project
  • 130 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 522

🔬 Heuristic Checks

✓ Outbound Network Calls

No suspicious network call patterns found

⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • 16, output_neurons=2), layer).eval() x = torch.rand(8, 1) with torch.no_grad(): ytilde,
  • sult`.""" self.model.eval() ytilde_s, yhat_s, proj_iter, inference_time = s
  • onstraints, loss)) model.eval() with torch.no_grad(): ytilde, yhat, _ = mode
  • ), ) layer.eval() x = torch.zeros(2, 1) yhat = torch.tensor([[2.0,
  • ), ) layer.eval() x, yhat = torch.zeros(1, 1), torch.tensor([[2.0]])
  • constraints), cfg) layer.eval() x, yhat = torch.randn(5, 3), torch.randn(5, 4) y
✓ Shell / Subprocess Execution

No shell execution patterns detected

✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: tudelft.nl>

✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 522

  • GitHub API error: 522
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with enforce-nn
Build a simple Python application using the enforce-nn package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!