(r)
| 21 | "deepseek-v4-flash_strict_rejudge.json"} |
| 22 | |
| 23 | def is_error(r): |
| 24 | # empty response with no genuine refusal text -> treat as query error, exclude |
| 25 | return (not (r.get("model_response") or "").strip()) and r.get("verdict") == "REFUSAL" |
| 26 | |
| 27 | def score(records): |
| 28 | ts = {t: {"total":0,"correct":0,"wrong":0,"refusal":0} for t in TIERS} |