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

@@ -1,9 +1,9 @@
{
"trained_at": "2026-02-04T09:51:16.756987",
"num_samples": 3076,
"trained_at": "2026-05-19T12:56:08.778673",
"num_samples": 3106,
"num_features": 20,
"final_loss": 0.3723479768672547,
"final_val_loss": 0.3735503777861595,
"best_val_loss": 0.3733456790447235,
"final_loss": 0.3726997012511278,
"final_val_loss": 0.37363722175359726,
"best_val_loss": 0.373420712351799,
"epochs_trained": 30
}
+54 -54
View File
@@ -1,61 +1,61 @@
{
"adjustments": {
"1": -0.019239457546212986,
"2": -0.04864542018655696,
"3": -0.0341626104844147,
"4": -0.019313709421212986,
"5": -0.03386929706155697,
"6": -0.04864542018655696,
"7": 0.009509281782781966,
"8": -0.01982426680905131,
"9": -0.019164832546212984,
"10": -0.019458901407925413,
"11": -0.0192376104844147,
"12": -0.005193716018053124,
"13": -0.034089832546212985,
"14": -0.04864542018655696,
"15": -0.03386929706155697,
"16": -0.0341626104844147,
"17": -0.04864542018655696,
"18": -0.03401668888972884,
"19": -0.04864542018655696,
"20": -0.04864542018655696,
"21": -0.019314446380353845,
"22": -0.03394317767718197,
"23": -0.019750036932742264,
"24": -0.03386929706155697,
"25": -0.004753345214365449,
"26": -0.03401668888972884,
"27": -0.019458901407925413,
"28": -0.019384649532925416,
"29": -0.034089832546212985,
"30": -0.04864542018655696,
"31": -0.04864542018655696,
"32": -0.005190049554206994,
"33": -0.034378768229570394,
"34": -0.04864542018655696,
"35": -0.03372042018655696,
"36": -0.04864542018655696,
"37": -0.004679834001818573,
"38": -0.03423502453292542,
"39": -0.03430707651119357,
"40": -0.034378768229570394,
"41": -0.04864542018655696,
"42": -0.034378768229570394,
"43": -0.04864542018655696,
"44": -0.03372042018655696,
"45": -0.04864542018655696,
"46": -0.005049972321408152,
"47": -0.03379504518655696,
"48": -0.03401668888972884,
"49": -0.019092802677181973
"1": -0.0994862945437695,
"2": -0.1248629636841759,
"3": -0.12616662253783967,
"4": -0.15553493931812296,
"5": -0.11189041747698655,
"6": -0.1388683136503966,
"7": -0.09014676347906732,
"8": -0.11572166445504231,
"9": -0.07520215115747134,
"10": -0.10010115549147716,
"11": -0.11560963436741567,
"12": -0.10028342051734862,
"13": -0.11168978861557464,
"14": -0.1526636856874924,
"15": -0.05417950645156993,
"16": -0.12777928265967228,
"17": -0.12530654686312348,
"18": -0.11183229142514102,
"19": -0.09902207172091577,
"20": -0.029776650961084578,
"21": -0.12733768488517044,
"22": -0.14123268787172502,
"23": -0.1135369674174259,
"24": -0.1269362504093053,
"25": -0.08791477391266757,
"26": -0.1253552225691296,
"27": -0.128343701675931,
"28": -0.08632929916101496,
"29": -0.09930392741748621,
"30": -0.15362771006530596,
"31": -0.1659211045824391,
"32": -0.07242761451468395,
"33": -0.12702118870091922,
"34": -0.1383242826775991,
"35": -0.11176200966803025,
"36": -0.13694601435372344,
"37": -0.047805930390573126,
"38": -0.14016944903534453,
"39": -0.12692425715858557,
"40": -0.09995688206616946,
"41": -0.16727016816434043,
"42": -0.1259060956242059,
"43": -0.09600747206120991,
"44": -0.11335461843807568,
"45": -0.15376749982199803,
"46": -0.10192355718548886,
"47": -0.12410346839445828,
"48": -0.09794025493170301,
"49": -0.1003416088372136
},
"stats": {
"incorrect": 430,
"correct": 60,
"cycles": 10,
"last_update": "2026-01-31T20:12:26.724555"
"incorrect": 1720,
"correct": 240,
"cycles": 40,
"last_update": "2026-05-19T12:56:08.782124"
},
"learning_rate": 0.1,
"last_saved": "2026-01-31T20:12:26.724608"
"last_saved": "2026-05-19T12:56:08.782183"
}
Binary file not shown.