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

+11 -11
View File
@@ -239,20 +239,20 @@ Un modello che impara dall'esito dei segnali e può solo rimpicciolire le operaz
**Lavori**
- [ ] [#62](https://gitea.encke-hake.ts.net/BalboSoft/Anubis/issues/62) Archivio degli indizi "a una certa data" ed etichette
- [ ] [#63](https://gitea.encke-hake.ts.net/BalboSoft/Anubis/issues/63) Addestramento, convalida, calibrazione e registro dei modelli
- [ ] [#64](https://gitea.encke-hake.ts.net/BalboSoft/Anubis/issues/64) Ciclo continuo: modello in carica e sfidante, ombra, deriva, messa da parte
- [ ] [#65](https://gitea.encke-hake.ts.net/BalboSoft/Anubis/issues/65) Altri apprendimenti semplici: scostamento, impatto delle notizie, scoperte in chiaro
- [ ] [#66](https://gitea.encke-hake.ts.net/BalboSoft/Anubis/issues/66) Schermata Apprendimento; Impostazioni sul modello
- [ ] [#67](https://gitea.encke-hake.ts.net/BalboSoft/Anubis/issues/67) Chiusura della fase, revisione indipendente e tag `fase-8`
- [x] [#62](https://gitea.encke-hake.ts.net/BalboSoft/Anubis/issues/62) Archivio degli indizi "a una certa data" ed etichette
- [x] [#63](https://gitea.encke-hake.ts.net/BalboSoft/Anubis/issues/63) Addestramento, convalida, calibrazione e registro dei modelli
- [x] [#64](https://gitea.encke-hake.ts.net/BalboSoft/Anubis/issues/64) Ciclo continuo: modello in carica e sfidante, ombra, deriva, messa da parte
- [x] [#65](https://gitea.encke-hake.ts.net/BalboSoft/Anubis/issues/65) Altri apprendimenti semplici: scostamento, impatto delle notizie, scoperte in chiaro
- [x] [#66](https://gitea.encke-hake.ts.net/BalboSoft/Anubis/issues/66) Schermata Apprendimento; Impostazioni sul modello
- [x] [#67](https://gitea.encke-hake.ts.net/BalboSoft/Anubis/issues/67) Chiusura della fase, revisione indipendente e tag `fase-8`
**Criteri di accettazione**
- [ ] Un test dimostra che nessun indizio usa dati successivi alla decisione
- [ ] Il primo modello è addestrato sugli esempi storici con rapporto di convalida
- [ ] Il moltiplicatore non può superare 1 (test di proprietà)
- [ ] Promozione, scarto e messa da parte sono coperti da test con dati sintetici
- [ ] La schermata Apprendimento corrisponde al mockup
- [x] Un test dimostra che nessun indizio usa dati successivi alla decisione (`NoClueUsesDataAfterTheDecision`, `NothingSavedOrDatedAfterTheDecisionIsRead`, `ADecisionRecoveredLateSeesOnlyWhatWasKnownWhenItWasDue`)
- [x] Il primo modello è addestrato sugli esempi storici con rapporto di convalida (`docs/learning/first-model.md`; `TheFirstModelIsTheOneOfItsExamples`, `TheFirstModelTakesChargeAtTheFirstStart`). Solo crypto: le strategie azionarie aspettano lo storico di Alpaca
- [x] Il moltiplicatore non può superare 1 (test di proprietà: `TheMultiplierNeverExceedsOne`, `TheFilterNeverMakesAnOrderBigger`)
- [x] Promozione, scarto e messa da parte sono coperti da test con dati sintetici (`AChallengerThatIsReallyBetterIsPromotedAtAThreshold`, `AChallengerThatIsNotBetterIsDiscardedAfterThreeHundredCases`, `ThePrecisionUnderHalfSetsTheModelAsideUntilItComesBack`, `ARisingErrorSetsTheModelAside`, `CluesNeverStudiedSetTheModelAside`)
- [x] La schermata Apprendimento corrisponde al mockup (`TheDemoShowsTheModelAsInTheMockup` e confronto a 1440 e 390 px con il mockup 06)
## Fase 9 — Rifinitura e consegna in Docker