This is a minimal distribution of the Testability Analysis framework, designed to evaluate the testability of AI-generated code changes (PRs) in software engineering contexts.
- Python 3.8+
- pip (package manager)
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activatepip install -r requirements.txtThe distribution includes scripts to set up the dataset, run the analysis pipeline, and generate reports.
You can load the actual AIDev dataset from Hugging Face or use sample data for quick testing.
For full analysis (requires internet):
python scripts/setup_aidv_dataset.pyFor a quick test (uses local sample data):
python scripts/setup_aidv_dataset.py --use-sampleExecute the complete testability analysis on the loaded dataset.
python scripts/run_analysis_pipeline.pyAfter the pipeline completes, you can generate markdown reports and visualizations.
Generate Reports:
python scripts/generate_reports.pyGenerate Visualizations:
python scripts/generate_comprehensive_visualizations.pysrc/: Core application logic and components.scripts/: Execution scripts for data setup, pipeline runs, and reporting.config/: Configuration files for industry standards.data/: (Generated) Raw and processed dataset files.reports/: (Generated) Detailed analysis and compliance reports.visualizations/: (Generated) Charts and visual metrics.
This project is licensed under the MIT License - see the LICENSE file for details.