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. In JavaScript, if both a resolved Promise callback and a setTimeout(fn, 0) are queued at the same time, which executes first? Explain the microtask queue vs macrotask queue. Avoid claiming setTimeout(fn, 0) runs before Promise callbacks.
{
"metrics": {
"accuracy": {
"checks": [
{
"contains": [
"microtask"
]
},
{
"contains": [
"Promise"
]
},
{
"contains": [
"before setTimeout"
]
}
]
},
"fabricated": {
"checks": [
{
"contains": [
"microtasks run first"
]
},
{
"contains": [
"setTimeout is a macrotask"
]
},
{
"contains": [
"Promise callbacks execute first"
]
}
]
}
}
}temperature
0
max_tokens
460
timeout (s)
120
type
scored
file
halluc-behav-event-loop-order.json