Test fixture
Cost-aware correctness and efficient API spend per successful task.
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 benchmark, title, diagnosis, fix, done. Set benchmark to "cost", title to "Fix shallow vs deep copy bug", and done to true. A copied settings object still shares nested flags. Diagnose and fix without overengineering.
{
"metrics": {
"strict": {
"checks": [
{
"contains": [
"cost"
]
},
{
"contains": [
"done"
]
},
{
"contains": [
"nested"
]
},
{
"contains": [
"deep copy"
]
},
{
"contains": [
"shared"
]
}
]
}
}
}temperature
0
max_tokens
520
timeout (s)
150
type
scored
file
cost-analysis-shallow-copy-bug.json