pymutant-mcp
2026-03-21
Update runner API with option validation, expand benchmark tooling, and add cold-start tests
14 files · 673+ · 150-
Add run option validation
2 files changed
api.pyAdded _validate_run_options to reject conflicting paths + strict_campaign/changed_onlyhelpers.pyMinor adjustments to helper output handling
- Run API now rejects explicit paths when combined with strict_campaign or changed_only flags
harden
behavioral
1 file
api.py
Expand benchmark and mutation gate tooling
2 files changed
benchmark.pyMajor expansion with artifact compaction, cold-start quality benchmark, and improved reportingmutation_gate.pyExtended gate with additional budget controls and improved JSON output
- Quality benchmark now supports cold-start mode and compacts artifacts after run completion
harden
behavioral
1 file
benchmark.py
- Mutation gate expanded with finer-grained budget tracking and JSON result output
harden
behavioral
1 file
mutation_gate.py
Add focused tests for new features
5 files changed
test_run_option_validation.py29 lines testing run option conflict detectiontest_output_sanitization.pyAdded 20 lines of output sanitization edge case teststest_artifact_compaction.py44 lines testing benchmark artifact compactiontest_quality_cold_start.py48 lines testing quality benchmark cold-start pathtest_main_api.pyAdded 27 lines testing new MCP tool integration
- Added tests for run option validation, artifact compaction, and quality cold-start scenarios
qualify
behavioral
3 files
test_run_option_validation.pytest_artifact_compaction.pytest_quality_cold_start.py
Update LOC baselines
1 file changed
max-loc-baseline.jsonUpdated limits for expanded api.py, helpers.py, and test files