culprit

v0.4.0
io.github.noordeen123/culprit Checked 1 day ago Published 4 months ago

Deterministic, offline root-cause analysis and pre-commit fix verification for coding agents.

B76/100
Maintenance
75
Security
100
Works
70
Community
38

Weights: maintenance 30, security 30, works 25, community 15. Formula 2026.10-1, computed 1 day ago by code; an AI never sets scores.

  • last activity 96 days ago
  • smoke test: needs_credentials
  • 6 stars

Smoke test

Result
Needs API key
Started with
culprit
Sandbox
docker+runsc (isolated container, no network while running)
Startup
370 ms
Error
server closed the connection
Server output
note: --mode api requires ANTHROPIC_API_KEY; falling back to --mode harness
Traceback (most recent call last):
  File "/work/venv/bin/culprit", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/work/venv/lib/python3.11/site-packages/culprit/cli.py", line 266, in main
    result = analyze(repo, pr=pr, base=base, head=args.head, force=args.force,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/venv/lib/python3.11/site-packages/culprit/cli.py", line 113, in analyze
    ctx = pr_context.resolve(repo, pr=pr, base=base, head=head)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/venv/lib/python3.11/site-packages/culprit/pr_context.py", line 427, in resolve
    return from_local(repo, base=base, head=head)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/venv/lib/python3.11/site-packages/culprit/pr_context.py", line 152, in from_local
    head = _proc.git(["rev-parse", "--abbrev-ref", "HEAD"], repo).strip()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/venv/lib/python3.11/site-packages/culprit/_proc.py", line 38, in git
    return run(["git", "-C", repo] + args, check=check)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/venv/lib/python3.11/site-packages/culprit/_proc.py", line 33, in run
    raise ProcError(cmd, proc.returncode, proc.stderr)
culprit._proc.ProcError: `git -C /tmp rev-parse --abbrev-ref HEAD` exited 128: fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Security scan

Scanned the published PyPI distribution culprit-0.4.0-py3-none-any.whl, 28 files. Tools: builtin, osv-api.

Capabilities found in the code

  • Reads environment variables
  • Writes or deletes files
  • Makes network requests
  • Runs shell commands

No findings.

Repository health

Repository
noordeen123/culprit
Last commit
3 months ago
Last release
v0.4.1 (3 months ago)
Commits (90 days)
5
Pull requests
0 open, 19 merged
Issues
0 open, 0 closed
Contributors
1

Check history

  1. 1 day ago Score & page continue
  2. 1 day ago Description continue
  3. 1 day ago Smoke test continue smoke: needs_credentials
  4. 21 days ago Security scan continue
  5. 21 days ago Repo health continue