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 answer, supported_facts, uncertainty. When JSON.parse() encounters an ISO 8601 date string such as '2024-01-01T00:00:00Z', does it automatically convert it to a JavaScript Date object? State what type is actually returned. Avoid claiming automatic conversion occurs.
{
"metrics": {
"accuracy": {
"checks": [
{
"contains": [
"string"
]
},
{
"contains": [
"not automatically"
]
},
{
"contains": [
"Date object"
]
}
]
},
"fabricated": {
"checks": [
{
"contains": [
"remains a string"
]
},
{
"contains": [
"no automatic conversion"
]
},
{
"contains": [
"must manually construct"
]
}
]
}
}
}temperature
0
max_tokens
460
timeout (s)
120
type
scored
file
halluc-api-json-parse-date.json