Wire the Lottoland fallback into the automated update workflow

AutoUpdateAndLearn.update_data() called LottoAPIUpdater with
api_name='github', which skipped the already-implemented Lottoland ->
GitHub -> lottoAPI fallback chain entirely. The GitHub archive alone
has repeatedly lagged 1-6 days behind actual draws (most recently the
Aug 5 draw, still missing as of Aug 7), causing tips to be generated
and models to be retrained on stale data. Switching to api_name='all'
tries Lottoland first, which has consistently had same-day results in
testing, with GitHub still covering full history/fallback.

Also includes the Aug 5 draw pulled in via this fix and the resulting
model retrain (data update was previously interrupted by a truncated
pipe during manual testing, this completes it).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-07 10:55:17 +02:00
co-authored by Claude Sonnet 5
parent 79c4c0d4b3
commit a45092b162
7 changed files with 25 additions and 13 deletions
+1
View File
@@ -3147,3 +3147,4 @@ datum;Z1;Z2;Z3;Z4;Z5;Z6;SZ
2026-07-25;18;21;31;36;42;44;3
2026-07-29;3;16;22;43;48;49;8
2026-08-01;19;20;22;25;31;42;8
2026-08-05;15;23;24;36;44;49;0
1 datum Z1 Z2 Z3 Z4 Z5 Z6 SZ
3147 2026-07-25 18 21 31 36 42 44 3
3148 2026-07-29 3 16 22 43 48 49 8
3149 2026-08-01 19 20 22 25 31 42 8
3150 2026-08-05 15 23 24 36 44 49 0
+13
View File
@@ -857,6 +857,19 @@
"main": 0.1,
"sz_rate": 0.0
}
},
{
"timestamp": "2026-08-07T10:50:43.433684",
"draw_date": "2026-08-05",
"evaluation": {
"main": 1,
"sz": true,
"tip": 10
},
"avg_matches": {
"main": 0.6,
"sz_rate": 0.1
}
}
]
}
@@ -1,9 +1,9 @@
{
"trained_at": "2026-08-04T17:19:36.241253",
"num_samples": 3128,
"trained_at": "2026-08-07T10:53:11.352902",
"num_samples": 3129,
"num_features": 20,
"final_loss": 0.37382649620877034,
"final_val_loss": 0.3735962837934494,
"best_val_loss": 0.37336874306201934,
"epochs_trained": 26
"final_loss": 0.3726010733767401,
"final_val_loss": 0.37349517047405245,
"best_val_loss": 0.37338881492614745,
"epochs_trained": 30
}
Binary file not shown.