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. Can Atomics.wait() be called safely on the browser main thread (window)? What does it do and why is it restricted? Avoid claiming Atomics.wait() is usable on the main browser thread.
{
"metrics": {
"accuracy": {
"checks": [
{
"contains": [
"blocks"
]
},
{
"contains": [
"forbidden"
]
},
{
"contains": [
"main thread"
]
}
]
},
"fabricated": {
"checks": [
{
"contains": [
"not allowed on main thread"
]
},
{
"contains": [
"blocks the calling thread"
]
},
{
"contains": [
"use in Worker"
]
}
]
}
}
}temperature
0
max_tokens
460
timeout (s)
120
type
scored
file
halluc-api-atomics-wait.json