The criterion: stations seen, cut in time; M1's regressions station by station; no regression when nothing is flagged

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-16 17:59:06 +01:00
1 parent f93cdf3cd1
commit 975ebc7c1a
4 files changed
+10 -4

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ def regressions(base, new):
b, n = base.get(f, [0, 0, 0]), new.get(f, [0, 0, 0])
for name, i in (("found", 0), ("correct", 1)):
pb, pn = pct(b[2], b[i]), pct(n[2], n[i])
if pb is not None and (pn is None or pb - pn > REGRESSION):
if pb is not None and pn is not None and pb - pn > REGRESSION: # nothing flagged: no correct to lose
out.append((f, name, pb, pn))
return out