Improve Telegram notifications and fix data paths

- Enhanced Telegram message format to show TOP 3 by Confidence AND Quality
- Added average statistics (Confidence & Quality) to notifications
- Fixed hardcoded iCloud path in generator (now uses --data-dir parameter)
- Updated AlleEurojackpotzahlen.csv with latest draw (Jan 9)
- Added run_update_and_learn.sh wrapper script
- Created com.eurojackpot.update.plist for automated updates

Benefits:
- Better tip selection with dual metrics visibility
- Generator now works with correct project paths
- More robust automation setup

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
cbazzaandClaude Sonnet 4.5 committed 2026-01-14 10:48:15 +01:00
1 parent 6f7276276d
commit ca003e44b7
6 files changed
+116 -15

No files matched your search

@@ -1673,14 +1673,21 @@ def main():
print("⚡ OPTIMIZED VERSION with Progress Indicators")
print("=" * 70)
data_path = "/Users/sebastianfrohlich/Library/Mobile Documents/com~apple~CloudDocs/Jupyter Notebooks/AlleEurojackpotzahlen.csv"
# Use --data-dir parameter or default to Projekte path
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--data-dir', type=str, default="/Users/sebastianfrohlich/Projekte/Eurojackpot/data")
parser.add_argument('--num-tips', type=int, default=10)
args = parser.parse_args()
data_path = os.path.join(args.data_dir, "AlleEurojackpotzahlen.csv")
try:
# Initialize with fast mode
generator = UltimateAIMLEurojackpotGenerator(data_path, fast_mode=True)
# Generate Tips
tips = generator.generate_ultimate_tips(10)
tips = generator.generate_ultimate_tips(args.num_tips)
if tips:
print("\n🏆 GENERATION COMPLETED!")