falsepass_verify_fix
Reruns a stored repro against a patched source to list changed output lines and, optionally, detect correct-answer rows the patch breaks.
Instructions
Check a patch: rerun the stored repro (repro.py, else repro_auto.py) with the environment taken from source and list the lines that change (no stored output: the unpatched script runs first and is stored as the baseline). source is a patched package folder, or a patched copy of the audit's src/ without pyproject.toml, which is laid over the release. known_good >= 0 also scores every correct-answer row (P1, P2, P14) with and without the patch, on every task (0) or a sample, and lists the tasks whose correct answer the patch stops paying. Runs in the background like an audit (status "running": call falsepass_audit_status).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"env": "<env>",
"source": "<source>"
},
"name": "falsepass_verify_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | the audit's name as falsepass_init returned it: the folder under workdir/audits/ | |
| wait | No | seconds to wait for the background job before returning its progress instead (max 600) | |
| source | Yes | a patched package folder, or a patched copy of the audit's src/ (laid over the release); relative to workdir | |
| offline | No | read Hugging Face datasets from the local cache without checking the Hub first: seconds saved per run once the data is cached (a dataset not cached yet fails to load) | |
| workdir | No | the folder whose audits/ holds the audits (default: the current directory) | . |
| known_good | No | -1: off; 0: also score every correct-answer row with and without the patch; N: on a sample of N tasks |