fang_check_diff
Runs diff-scoped mutation testing on added Python lines versus a Git revision, then executes tests and reports surviving mutants. Use it to verify new tests catch changes.
Instructions
Diff-scoped mutation testing. Mutates only added Python lines versus a git revision (default HEAD), runs the test suite, and returns the mutants the tests failed to detect. Use this to verify that new tests actually bite.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fang_check_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | No | Git revision to diff against (default: HEAD). | |
| jobs | No | Parallel workers (default: 2). | |
| root | No | Project root (default: server root). | |
| sample | No | Max mutants to evaluate (default: 40). | |
| timeout | No | Per-mutant timeout in seconds. | |
| survivor_limit | No | Max survivors returned (default: 25). |