Skip to content

Repository files navigation

bug-autopsy

Turn raw Python tracebacks into structured diagnostics — root cause, confidence score, and actionable fixes. Zero dependencies.

License Python CI


The Problem

You get a wall of traceback. You stare at it. You grep around. You waste 10 minutes.

bug-autopsy fixes that.

One command parses your error, extracts the root cause, assigns a confidence score, and tells you exactly what to fix.


Install

pip install bug-autopsy

Zero dependencies — pure Python stdlib.


Quick Start

# Pipe a traceback directly
python myscript.py 2>&1 | bug-autopsy

# Or from a log file
bug-autopsy error.log

# JSON output
bug-autopsy error.log --json

Output:

┌─────────────────────────────────────────────────────┐
│  Root cause:   AttributeError on NoneType object    │
│  Confidence:   0.91                                  │
│  File:         app/service.py:142                    │
│  Fix:          Check for None before calling .split()│
└─────────────────────────────────────────────────────┘

Why Zero Dependencies?

No pip install chain. No version conflicts. Drop it anywhere Python 3.10+ runs.


Contributing

See CONTRIBUTING.md — PRs welcome.


License

MIT © aaxnet · Built in Ukraine 🇺🇦

About

Turn Python tracebacks into structured diagnostics — root cause, confidence score, fixes. Zero deps.

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages