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 report sorter parses localized decimal strings with parseFloat, so "9,8" becomes 9 and ranks incorrectly. Identify the bug and fix.
{
"metrics": {
"repro": {
"checks": [
{
"contains": [
"localized"
]
},
{
"contains": [
"9,8"
]
},
{
"contains": [
"parseFloat"
]
},
{
"contains": [
"rank"
]
}
]
},
"hidden": {
"checks": [
{
"contains": [
"locale aware"
]
},
{
"contains": [
"numeric value"
]
},
{
"contains": [
"Intl"
]
}
]
},
"diagnose": {
"checks": [
{
"contains": [
"decimal"
]
},
{
"contains": [
"sorter"
]
},
{
"contains": [
"comma"
]
}
]
}
}
}temperature
0
max_tokens
420
timeout (s)
120
type
scored
file
debug-locale-decimal-sort-v2.json