Add popularity score for EV-optimized number selection

Adds _calculate_popularity_score() which favors number combinations
unlikely to be picked by other players (numbers > 31, no consecutive
sequences, avoiding common "lucky numbers"). This doesn't improve hit
probability (lottery draws are i.i.d. random) but increases expected
value by reducing the chance of sharing a jackpot.

- New 20% weight in quality score
- New Popularity_Score column in tip CSV export

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 13:34:43 +02:00
co-authored by Claude Sonnet 4.6
parent 23498767bf
commit e3a022b000
3 changed files with 39 additions and 5 deletions
+2 -1
View File
@@ -215,7 +215,8 @@ class WeeklyTipGenerator:
'AI_Score': f"{tip['ai_score']:.4f}",
'Pattern_Weight': f"{tip['pattern_weight']:.4f}",
'Confidence': f"{tip['confidence']:.4f}",
'Quality': f"{tip['quality']:.4f}"
'Quality': f"{tip['quality']:.4f}",
'Popularity_Score': f"{UltimateAIMLHybridGenerator._calculate_popularity_score(tip['numbers']):.4f}"
})
df_export = pd.DataFrame(rows)