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. What happens when you call .return(value) on a JavaScript generator? What do subsequent calls to .next() return after that? Provide the shape of the returned object. Avoid claiming the generator continues normally after .return().
{
"metrics": {
"accuracy": {
"checks": [
{
"contains": [
"done: true"
]
},
{
"contains": [
"closes"
]
},
{
"contains": [
"undefined"
]
}
]
},
"fabricated": {
"checks": [
{
"contains": [
"generator is closed"
]
},
{
"contains": [
"subsequent next() returns done: true"
]
},
{
"contains": [
"value is the argument"
]
}
]
}
}
}temperature
0
max_tokens
460
timeout (s)
120
type
scored
file
halluc-api-generator-return.json