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, code, done. Set benchmark to "cost", title to "Implement a basic arithmetic expression evaluator", and done to true. Implement compact support for +, -, *, / and parentheses over numbers; describe key approach briefly.
{
"metrics": {
"strict": {
"checks": [
{
"contains": [
"cost"
]
},
{
"contains": [
"done"
]
},
{
"contains": [
"expression"
]
},
{
"contains": [
"parentheses"
]
},
{
"contains": [
"precedence"
]
}
]
}
}
}temperature
0
max_tokens
520
timeout (s)
150
type
scored
file
cost-complex-calculator.json