Check tasks for leakage
check_task_leakageCheck whether coding tasks from SWE-bench-style benchmarks leaked their fix. Pass one instance ID for the full evidence, or up to 50 IDs in the queries field, as a JSON array of strings or one string separated by commas, spaces or new lines (a results file's task list), to get back which are flagged. Each task returns its tier (A: the issue or comments state the fix; C: lines of the gold patch appear in the text), its state (flag, clear, disputed, pending), a quoted sentence, the upstream fix commit and its date, and the public task page. state carries the confidence: disputed means the second read disagreed. Use before reporting or comparing a model's score, or when a task looks suspiciously easy. Covers SWE-bench Verified and Lite.
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": "check_task_leakage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | One-task form of queries. Give queries or query, not both. | |
| queries | No | Several tasks at once: 1 to 50 identifiers separated by commas, spaces or new lines, or a JSON array of strings (also accepted). Each is a SWE-bench instance ID (django__django-11099), a GitHub issue or PR URL (https://github.com/django/django/pull/11099), or repo#number (django/django#11099). | |
| benchmark | No | Optional: restrict the match to one benchmark. Display names such as 'SWE-bench Verified' are accepted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| found | No | ||
| tasks | No | ||
| caveat | Yes | ||
| matches | No | ||
| notFound | No | ||
| flaggedCount | No | ||
| totalMatches | No |