Files
fgAI/tests
larssand 36516faf9a Add real detector health tooling: learning state and historical precision
Replaces the old Prometheus-only "detector precision" metric, which
recomputed from whatever field_deviations happened to be active in the
current poll cycle cross-referenced against live FeedbackStore rules — a
revoked or expired suppression rule made the signal vanish, and nothing was
tracked between polls. Adds DetectorPrecisionStore, a permanent append-only
log of review outcomes (kept deliberately separate from FeedbackStore's
mutable suppression rules) recorded the moment a human reviews a finding,
plus BaselineStore.detector_readiness() mirroring the existing per-field
profile_readiness() for per-detector learning state, and a plain-language
detector reference. Surfaced in a new Detector Health dashboard panel.
Observability only — nothing here changes scoring or suppression.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-24 16:22:02 +02:00
..
2026-09-23 13:32:09 +02:00
2026-06-18 21:48:32 +02:00
2026-06-29 19:48:29 +02:00
2026-07-02 21:17:50 +02:00
2026-07-06 11:03:05 +02:00
2026-07-02 21:17:50 +02:00
2026-07-06 16:49:30 +02:00
2026-06-18 21:03:07 +02:00
2026-06-18 21:03:07 +02:00
2026-06-29 19:26:16 +02:00
2026-06-25 22:05:04 +02:00
2026-06-21 15:00:13 +02:00