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. Promise.allSettled returns objects with status and either value or reason. Identify the result shape for one fulfilled and one rejected promise.
{
"metrics": {
"accuracy": {
"checks": [
{
"contains": [
"status"
]
},
{
"contains": [
"value"
]
},
{
"contains": [
"reason"
]
}
]
},
"fabricated": {
"checks": [
{
"contains": [
"allSettled"
]
},
{
"contains": [
"fulfilled"
]
},
{
"contains": [
"rejected"
]
}
]
}
}
}temperature
0
max_tokens
460
timeout (s)
120
type
scored
file
halluc-api-promises.json