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 queue worker catches processing errors and republishes the same message immediately without incrementing attempts or routing poison messages to the dead-letter queue, causing an infinite retry loop. Identify the retry bug and fix it.
{
"metrics": {
"repro": {
"checks": [
{
"contains": [
"same message"
]
},
{
"contains": [
"immediately"
]
},
{
"contains": [
"infinite retry"
]
},
{
"contains": [
"dead-letter"
]
}
]
},
"hidden": {
"checks": [
{
"contains": [
"attempt count"
]
},
{
"contains": [
"backoff"
]
},
{
"contains": [
"poison message"
]
}
]
},
"diagnose": {
"checks": [
{
"contains": [
"retry loop"
]
},
{
"contains": [
"republish"
]
},
{
"contains": [
"dead-letter queue"
]
}
]
}
}
}temperature
0
max_tokens
520
timeout (s)
120
type
scored
file
debug-dead-letter-retry-loop-v2.json