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. Does a JavaScript WeakRef prevent its referenced object from being garbage collected? What value does deref() return after the object is collected? Avoid claiming WeakRef guarantees object survival.
{
"metrics": {
"accuracy": {
"checks": [
{
"contains": [
"does not prevent"
]
},
{
"contains": [
"undefined"
]
},
{
"contains": [
"garbage collected"
]
}
]
},
"fabricated": {
"checks": [
{
"contains": [
"does not prevent garbage collection"
]
},
{
"contains": [
"deref may return undefined"
]
},
{
"contains": [
"no strong reference"
]
}
]
}
}
}temperature
0
max_tokens
460
timeout (s)
120
type
scored
file
halluc-api-weakref-gc.json