mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
A deterministic golden-set + red-team floor that gates every Coach change offline, plus an opt-in live-judge layer that scores warmth and groundedness with a pinned model only when COACH_EVAL_API_KEY is set. - 42 golden cases across grounding, cross-metric, data-honesty, provider-parity and own-baseline taxonomies, graded by behaviour-anchored binary criteria. - Structured-claim grounding helpers extend the numeric verifier from numbers to threshold / own-baseline / confident-verdict claims; the numeric API is unchanged so the existing grounding tests stay green. - Red-team battery asserts the existing inbound refusal, outbound dose screen, acute red-flag escalation and learn-link guards fire. - Nightly + manual workflow runs the deterministic floor always; the live judge step runs only when the secret is present and is non-blocking.