Test fixture
Bug fixes, edge conditions, and minimal patch accuracy.
The model receives the prompt (and optional system message). The run uses scorer contains_all with the JSON configuration below. Pass/fail and partial credit are determined entirely by that scorer against the model output; no human grading.
Fix the bug and return corrected Python code only.\n\ndef find_user(users, user_id):\n for u in users:\n if u['id'] == user_id:\n return users[0]\n return None\n
{
"expected_contains": [
"return u",
"for u in users",
"return None"
]
}temperature
0
max_tokens
220
timeout (s)
120
type
scored
file
debugging_medium_07.json