Improve generator quality and sync data (May 2026)

Data:
- Add missing draw 2026-05-16 (7 11 20 23 27 30 SZ:9) via GitHub archive
- Run retroactive learning for skipped 2026-01-07 draw

Generator improvements (ported from Eurojackpot):
- Add hard structural filters (sum 100-200, min 1 even + 1 odd per tip)
- Add long-term frequency prior as learner dampener (alpha=0.2)
- Fix ENSEMBLE strategy generating duplicate tips (greedy → weighted random)
- Fix Division-by-Zero edge case in set_frequency_prior
- Fix freq_alpha boundary and clip final adjusted value to [0,1]
- Prevent negative weights in random.choices (floor at 0.001)
- Use vectorized stack().value_counts() for frequency calculation

.gitignore:
- Exclude data/backups/, weekly tip CSVs, performance reports, data/data/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
cbazzaandClaude Sonnet 4.6 committed 2026-05-19 13:34:24 +02:00
1 parent 49c8bffb87
commit 31cfd914c5
9 files changed
+805 -87

No files matched your search

+210
View File
@@ -174,6 +174,216 @@
"file": "weekly_lotto_tips_20260203_210148.csv",
"avg_confidence": 0.43053407858302783,
"avg_quality": 0.6127569878171568
},
{
"timestamp": "2026-02-06T21:24:33.178900",
"num_tips": 10,
"file": "weekly_lotto_tips_20260206_212433.csv",
"avg_confidence": 0.39179800156619443,
"avg_quality": 0.5831545873566034
},
{
"timestamp": "2026-02-10T21:00:22.150517",
"num_tips": 10,
"file": "weekly_lotto_tips_20260210_210022.csv",
"avg_confidence": 0.43625158283574716,
"avg_quality": 0.6169535402692883
},
{
"timestamp": "2026-02-13T21:00:21.382316",
"num_tips": 10,
"file": "weekly_lotto_tips_20260213_210021.csv",
"avg_confidence": 0.43088261472508316,
"avg_quality": 0.6109923873184334
},
{
"timestamp": "2026-02-17T21:00:26.043929",
"num_tips": 10,
"file": "weekly_lotto_tips_20260217_210026.csv",
"avg_confidence": 0.42905107467438075,
"avg_quality": 0.6160959707954421
},
{
"timestamp": "2026-02-20T21:00:26.545065",
"num_tips": 10,
"file": "weekly_lotto_tips_20260220_210026.csv",
"avg_confidence": 0.43055460012609004,
"avg_quality": 0.6159742993010366
},
{
"timestamp": "2026-02-24T21:00:15.456660",
"num_tips": 10,
"file": "weekly_lotto_tips_20260224_210015.csv",
"avg_confidence": 0.4389957217440533,
"avg_quality": 0.6166952308149034
},
{
"timestamp": "2026-02-27T21:00:26.214280",
"num_tips": 10,
"file": "weekly_lotto_tips_20260227_210026.csv",
"avg_confidence": 0.41380590175304316,
"avg_quality": 0.6007363719044858
},
{
"timestamp": "2026-03-03T21:00:30.382128",
"num_tips": 10,
"file": "weekly_lotto_tips_20260303_210030.csv",
"avg_confidence": 0.6131651661650304,
"avg_quality": 0.7146464746308903
},
{
"timestamp": "2026-03-06T21:00:24.428265",
"num_tips": 10,
"file": "weekly_lotto_tips_20260306_210024.csv",
"avg_confidence": 0.39974949595009224,
"avg_quality": 0.5881493624603976
},
{
"timestamp": "2026-03-10T21:05:18.962145",
"num_tips": 10,
"file": "weekly_lotto_tips_20260310_210518.csv",
"avg_confidence": 0.43571892829509284,
"avg_quality": 0.619982489791712
},
{
"timestamp": "2026-03-13T21:01:53.225581",
"num_tips": 10,
"file": "weekly_lotto_tips_20260313_210153.csv",
"avg_confidence": 0.4111754357415879,
"avg_quality": 0.6009998715375982
},
{
"timestamp": "2026-03-17T21:00:32.536342",
"num_tips": 10,
"file": "weekly_lotto_tips_20260317_210032.csv",
"avg_confidence": 0.4207776853663847,
"avg_quality": 0.6117993361098875
},
{
"timestamp": "2026-03-20T21:16:55.124861",
"num_tips": 10,
"file": "weekly_lotto_tips_20260320_211655.csv",
"avg_confidence": 0.4029942661902326,
"avg_quality": 0.5898327020762006
},
{
"timestamp": "2026-03-24T21:01:28.095284",
"num_tips": 10,
"file": "weekly_lotto_tips_20260324_210128.csv",
"avg_confidence": 0.4245373981596304,
"avg_quality": 0.6094510518762004
},
{
"timestamp": "2026-03-27T21:00:28.070123",
"num_tips": 10,
"file": "weekly_lotto_tips_20260327_210028.csv",
"avg_confidence": 0.42596489621339506,
"avg_quality": 0.614192879963136
},
{
"timestamp": "2026-03-31T21:00:20.282697",
"num_tips": 10,
"file": "weekly_lotto_tips_20260331_210020.csv",
"avg_confidence": 0.4311573904241078,
"avg_quality": 0.6143222769705906
},
{
"timestamp": "2026-04-03T21:46:54.466732",
"num_tips": 10,
"file": "weekly_lotto_tips_20260403_214654.csv",
"avg_confidence": 0.40367778119537806,
"avg_quality": 0.5978802314336015
},
{
"timestamp": "2026-04-07T21:00:23.043609",
"num_tips": 10,
"file": "weekly_lotto_tips_20260407_210023.csv",
"avg_confidence": 0.42841389944709796,
"avg_quality": 0.613680679288901
},
{
"timestamp": "2026-04-10T21:00:21.478887",
"num_tips": 10,
"file": "weekly_lotto_tips_20260410_210021.csv",
"avg_confidence": 0.4201527267401346,
"avg_quality": 0.6037242036565935
},
{
"timestamp": "2026-04-14T21:00:20.493117",
"num_tips": 10,
"file": "weekly_lotto_tips_20260414_210020.csv",
"avg_confidence": 0.4201339358438558,
"avg_quality": 0.6070767820478455
},
{
"timestamp": "2026-04-17T21:00:21.627397",
"num_tips": 10,
"file": "weekly_lotto_tips_20260417_210021.csv",
"avg_confidence": 0.40653731661730175,
"avg_quality": 0.5959122317720231
},
{
"timestamp": "2026-04-21T21:00:21.291830",
"num_tips": 10,
"file": "weekly_lotto_tips_20260421_210021.csv",
"avg_confidence": 0.4281003982558874,
"avg_quality": 0.6180774622190407
},
{
"timestamp": "2026-04-24T21:00:21.813713",
"num_tips": 10,
"file": "weekly_lotto_tips_20260424_210021.csv",
"avg_confidence": 0.40368288784557055,
"avg_quality": 0.590237489018969
},
{
"timestamp": "2026-04-28T21:16:39.462043",
"num_tips": 10,
"file": "weekly_lotto_tips_20260428_211639.csv",
"avg_confidence": 0.38479137617697334,
"avg_quality": 0.5730525563530181
},
{
"timestamp": "2026-05-01T21:13:28.620453",
"num_tips": 10,
"file": "weekly_lotto_tips_20260501_211328.csv",
"avg_confidence": 0.41358937770573123,
"avg_quality": 0.5981172891531314
},
{
"timestamp": "2026-05-05T21:00:21.883272",
"num_tips": 10,
"file": "weekly_lotto_tips_20260505_210021.csv",
"avg_confidence": 0.39151792949512265,
"avg_quality": 0.5835184310224573
},
{
"timestamp": "2026-05-08T21:00:27.261943",
"num_tips": 10,
"file": "weekly_lotto_tips_20260508_210027.csv",
"avg_confidence": 0.39430951299665706,
"avg_quality": 0.5770382849355139
},
{
"timestamp": "2026-05-12T21:00:21.984425",
"num_tips": 10,
"file": "weekly_lotto_tips_20260512_210021.csv",
"avg_confidence": 0.4339787527079359,
"avg_quality": 0.6033231576498798
},
{
"timestamp": "2026-05-15T21:00:21.046302",
"num_tips": 10,
"file": "weekly_lotto_tips_20260515_210021.csv",
"avg_confidence": 0.41244722617171564,
"avg_quality": 0.5996401924263831
},
{
"timestamp": "2026-05-19T13:32:39.647439",
"num_tips": 10,
"file": "weekly_lotto_tips_20260519_133239.csv",
"avg_confidence": 0.4215215125819441,
"avg_quality": 0.5999271737766253
}
]
}