bnnr

v0.8.0 safe
3.2
Low Risk

BNNR: XAI-driven augmentation & diagnostics for PyTorch vision - find model failures, fix with saliency-guided augmentation (ICD/AICD), prove with auditable reports.

📦 Package Quality Overall: Low (4.6/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • Test runner config found: pyproject.toml
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/bnnr-team/bnnr/tree/main/docs
  • Detailed PyPI description (10064 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

  • 661 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 score 9.0

Found 6 network call pattern(s)

  • }%", end="", flush=True) urllib.request.urlretrieve(url, tmp, _hook) # noqa: S310 print() t
  • {url}") req = urllib.request.Request( url, headers={"User-Agent": "Mo
  • with ( urllib.request.urlopen(req, timeout=180) as resp, targe
  • t urllib.request urllib.request.urlopen(f"http://127.0.0.1:{PORT}/api/runs", timeout=2)
  • rue, exist_ok=True) req = urllib.request.Request( url, headers={"User-Agent": "bnnr-e
  • method="GET", ) with urllib.request.urlopen(req, timeout=120) as resp: # noqa: S310 — curated U
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • arameters()).device model.eval() maps = generate_saliency_maps( model,
  • eval mode (called with model.eval() internally). loader: DataLoader whose batches
  • kappa, ece. """ model.eval() all_preds: list[torch.Tensor] = [] all_labels: lis
  • arameters()).device model.eval() try: maps = generate_saliency_maps(
  • port torch adapter.model.eval() pg = {g: {"c": 0, "n": 0} for g in range(n_groups)}
  • y) -> float: ad.model.eval() c = t = 0 with torch.no_grad():
⚠ Shell / Subprocess Execution score 6.0

Found 3 shell execution pattern(s)

  • None: try: out = subprocess.check_output( ["git", "rev-parse", "HEAD"], cwd=R
  • print("+", " ".join(cmd)) subprocess.run(cmd, cwd=REPO, check=True) def main() -> None: WORK.mk
  • hboard npm build "B602", # shell=True only on Windows for npm.cmd "B607", # npm on PATH "B61
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://127.0.0.1:8080/`
⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Mateusz Walo, Diana Morzhak, Dominika Zydorczyk, Zuzanna Saczuk" 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 bnnr
Build a simple Python application using the bnnr package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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