Test fixture
Grounded answers under adversarial or missing-context prompts.
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 verdict, corrections, evidence. A guide says URLSearchParams.sort sorts by decoded value and preserves original key order for duplicate keys. Correct the behavior.
{
"metrics": {
"accuracy": {
"checks": [
{
"contains": [
"sorts by keys"
]
},
{
"contains": [
"URLSearchParams"
]
},
{
"contains": [
"duplicate"
]
}
]
},
"fabricated": {
"checks": [
{
"contains": [
"decoded value"
]
},
{
"contains": [
"original key order"
]
},
{
"contains": [
"wrong"
]
}
]
}
}
}temperature
0
max_tokens
520
timeout (s)
120
type
scored
file
halluc-edge-urlsearchparams-sort.json