auto-trace-analyzer is a lightweight automated engine designed to analyze tracebacks and generate clear, structured, and actionable explanations.
It is intended for developers, automated pipelines, debugging platforms, and quality assurance systems that require rapid error interpretation.
auto-trace-analyzer provides consistent and human-readable interpretations of exceptions.
The tool extracts key information from raw tracebacks and converts it into structured insights that facilitate faster debugging and error resolution.
Automatically analyzes Python exceptions and generates a structured explanation.
Presents a concise description of the issue based on the traceback content.
Identifies likely underlying causes derived from the traceback context.
Provides actionable, line-specific suggestions to help resolve the issue efficiently.
pip install auto-trace-analyzerConfigure API_KEY:
# conda
conda activate your_env_name
conda env config vars set OPENAI_API_KEY="sk-xxxx"
conda deactivate
conda activate your_env_name
echo $env:OPENAI_API_KEY #echo %OPENAI_API_KEY%# cmd
setx OPENAI_API_KEY "sk-xxxxx"Run the analyzer by passing a script to be evaluated:
auto-trace-analyzer demo.pySee the LICENSE file for details.
For issues, feature requests, or contributions, please open an issue/PR in the GitHub repository.
