Test fixture
Bug fixes, edge conditions, and minimal patch accuracy.
The model receives the prompt (and optional system message). The run uses scorer rubric_json_metrics with the JSON configuration below. Pass/fail and partial credit are determined entirely by that scorer against the model output; no human grading.
Return JSON only with keys diagnosis, fix, tests. A component schedules setInterval but never clears it, causing updates after teardown. Identify the lifecycle bug and fix.
{
"metrics": {
"repro": {
"checks": [
{
"contains": [
"setInterval"
]
},
{
"contains": [
"teardown"
]
},
{
"contains": [
"updates after"
]
},
{
"contains": [
"never clears"
]
}
]
},
"hidden": {
"checks": [
{
"contains": [
"clearInterval"
]
},
{
"contains": [
"cleanup"
]
},
{
"contains": [
"unmount"
]
}
]
},
"diagnose": {
"checks": [
{
"contains": [
"timer"
]
},
{
"contains": [
"lifecycle"
]
},
{
"contains": [
"leak"
]
}
]
}
}
}temperature
0
max_tokens
420
timeout (s)
120
type
scored
file
debug-timer-cleanup-v2.json