Fix what the independent review of Phase 8 found and close the phase
ci / test (postgres) (push) Successful in 6m37s
ci / test (sqlite) (push) Successful in 7m51s
ci / test (postgres) (pull_request) Successful in 5m40s
ci / test (sqlite) (pull_request) Successful in 7m31s
ci / image (push) Successful in 2m29s
ci / image (pull_request) Successful in 59s

Two reviewers with a clean context read the engine and the screens. The
isotonic calibration took its floor from the first step, even of two cases, so
with few winners it flattened every estimate: the first model is rebuilt with
the fix. Learning failures no longer forget the multiplier an operation was
born with, nor stop a decision or the nightly check; recovered decisions read
the outside world as it was when due; models estimate only the strategies they
studied; a newer history does not repeat what was lived. The screens count
examples instead of verifications, show the next threshold and never round an
alarm to 50%; two forms now check the antiforgery token.

Each defect has its test, on both engines. ADR 0018 point 17 has the list.

refs #67

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-12-01 13:36:26 +01:00
1 parent f69943f70a
commit 0b0f4a5e75
33 files changed
+659 -145

No files matched your search

+1 -1
View File
@@ -148,7 +148,7 @@ public sealed class LearningModelTests
[TestMethod]
public void IsotonicNeverGoesDown()
{
var known = Calibration.Isotonic([1, 2, 3, 4, 5, 6], [false, true, false, true, true, true]);
var known = Calibration.Isotonic([1, 2, 3, 4, 5, 6], [false, true, false, true, true, true], 1);
Assert.AreEqual(0.5, known.Probability(2.5), 1e-9);
var gen = new Gen(4);
var scores = Enumerable.Range(0, 1500).Select(_ => gen.Normal()).ToList();