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 snapshot test includes generated IDs and current timestamps, failing intermittently even when behavior is correct. Identify the test bug and fix.
{
"metrics": {
"repro": {
"checks": [
{
"contains": [
"snapshot"
]
},
{
"contains": [
"generated IDs"
]
},
{
"contains": [
"timestamps"
]
},
{
"contains": [
"intermittently"
]
}
]
},
"hidden": {
"checks": [
{
"contains": [
"mock time"
]
},
{
"contains": [
"stable id"
]
},
{
"contains": [
"serializer"
]
}
]
},
"diagnose": {
"checks": [
{
"contains": [
"flake"
]
},
{
"contains": [
"test failure"
]
},
{
"contains": [
"nondeterministic"
]
}
]
}
}
}temperature
0
max_tokens
420
timeout (s)
120
type
scored
file
debug-snapshot-test-flake-v2.json