marginfx

v0.1.2 safe
1.7
Low Risk

Average marginal effects and bootstrap standard errors for any machine learning model.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 5 test file(s) found

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

Some documentation present

  • Detailed PyPI description (9098 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 5.0

Partial type annotation coverage

  • 22 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 6 obfuscation pattern(s)

  • - Model modes matter: model.eval() for inference, model.train() for refit - Optimizer an
  • x Always runs in model.eval() mode with torch.no_grad(). Parameters --------
  • -> np.ndarray: model.eval() with torch.no_grad(): X_tensor = tor
  • np.ndarray: model.eval() # Categorical: first difference, no gradient ne
  • r.step() new_model.eval() return new_model return fit_fn # ----
  • optimizer.step() model.eval() return model @pytest.fixture def binary_classif
✓ 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: gmail.com>

✓ 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 marginfx
Build a simple Python application using the marginfx package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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