fairness-training

v0.1.0 safe
2.2
Low Risk

Guaranteed fairness constraints for PyTorch neural networks via differentiable optimization layers.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 4 test file(s) found

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

Some documentation present

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

  • 42 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)

  • twork, cols) network.eval() with torch.no_grad(): probe = torch.ze
  • state() self.eval() all_predictions = [] all_targets
  • dation.""" self.model.eval() total_loss = 0.0 num_batches = 0 s
  • ) self.model.eval() all_preds = [] all_targets = []
  • t_inference_state() model.eval() batches = [] manual_gaps = [] manual_sizes =
✓ 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: g.ucla.edu>

  • Very short email domain: g.ucla.edu>
✓ 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 6.0

3 maintainer concern(s) found

  • Only one version has ever been released — brand new package
  • 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 fairness-training
Build a simple Python application using the fairness-training package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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