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 is the worst-case time complexity for matching a regex with catastrophic backtracking? Can all regex patterns be matched in O(n) time? Avoid claiming all regex matching is O(n).
{
"metrics": {
"accuracy": {
"checks": [
{
"contains": [
"O(2^n)"
]
},
{
"contains": [
"backtracking"
]
},
{
"contains": [
"worst case"
]
}
]
},
"fabricated": {
"checks": [
{
"contains": [
"not always O(n)"
]
},
{
"contains": [
"exponential worst case"
]
},
{
"contains": [
"pathological"
]
}
]
}
}
}temperature
0
max_tokens
460
timeout (s)
120
type
scored
file
halluc-compl-regex-compile.json