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:
@@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user