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 min-heap priority queue comparator uses a > b instead of a < b; the heap is ordered as a max-heap so the highest priority item is dequeued last instead of first. Identify the comparator reversal and fix it.
{
"metrics": {
"repro": {
"checks": [
{
"contains": [
"comparator"
]
},
{
"contains": [
"max-heap"
]
},
{
"contains": [
"priority"
]
},
{
"contains": [
"reversed"
]
}
]
},
"hidden": {
"checks": [
{
"contains": [
"a < b"
]
},
{
"contains": [
"min-heap"
]
},
{
"contains": [
"swap"
]
}
]
},
"diagnose": {
"checks": [
{
"contains": [
"wrong comparator"
]
},
{
"contains": [
"inverted order"
]
},
{
"contains": [
"a > b"
]
}
]
}
}
}temperature
0
max_tokens
420
timeout (s)
120
type
scored
file
debug-queue-priority-reversal-v2.json