hyper-surrogate

v0.4.0 safe
2.0
Low Risk

Data-driven surrogates for hyperelastic constitutive models in finite element analysis

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 15 test file(s) found

  • Test runner config found: pyproject.toml
  • 15 test file(s) detected (e.g. mock_data.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "documentation" -> https://jpsferreira.github.io/hyper-surrogate/
  • Detailed PyPI description (7561 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 212 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

✓ Outbound Network Calls

No suspicious network call patterns found

⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • autodiff -> dW/dI ──") model.eval() test_idx = vi[:500] test_inp = inputs[test_idx] x = torch
  • ── Convexity check ──") model.eval() x1 = torch.randn(1000, 3) x2 = torch.randn(1000, 3) lam =
  • t32) # Predict model.eval() with torch.no_grad(): pred_t = model(inputs_t)
  • -> float: self.model.eval() total_loss = 0.0 n = 0 with torch.
  • ).fit() model.eval() x_t = torch.tensor(val_ds.inputs, dtype=torch.flo
✓ Shell / Subprocess Execution

No shell execution patterns detected

✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

⚠ Registered Email Domain score 3.0

Suspicious email domain flags: Very short email domain: fe.up.pt>

  • Very short email domain: fe.up.pt>
✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ 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 hyper-surrogate
Build a simple Python application using the hyper-surrogate package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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