diff --git a/data/generated_tips/generation_history.json b/data/generated_tips/generation_history.json index ecd6de2..7112c71 100644 --- a/data/generated_tips/generation_history.json +++ b/data/generated_tips/generation_history.json @@ -118,6 +118,13 @@ "file": "weekly_tips_20260105_193143.csv", "avg_confidence": 0.5119966658358427, "avg_quality": 0.6260971285846824 + }, + { + "timestamp": "2026-01-08T09:00:29.474579", + "num_tips": 10, + "file": "weekly_tips_20260108_090029.csv", + "avg_confidence": 0.49425787623829, + "avg_quality": 0.6145839981272502 } ] } \ No newline at end of file diff --git a/data/generated_tips/weekly_tips_20260108_090029.csv b/data/generated_tips/weekly_tips_20260108_090029.csv new file mode 100644 index 0000000..02f0e29 --- /dev/null +++ b/data/generated_tips/weekly_tips_20260108_090029.csv @@ -0,0 +1,11 @@ +Tip_Number,Main_Numbers,Euro_Numbers,Strategy,Main_AI_Score,Euro_AI_Score,Pattern_Weight,Confidence,Quality +1,28-35-36-44-48,4-9,HYBRID-OPT,0.7724,0.6044,0.0077,0.5437,0.6558 +2,5-16-36-42-47,4-10,HYBRID-OPT,0.7250,0.6688,0.0240,0.5632,0.6522 +3,5-10-44-48-50,1-4,HYBRID-OPT,0.6686,0.7839,0.0022,0.5640,0.6526 +4,10-17-28-48-49,1-9,HYBRID-OPT,0.5238,0.8191,0.0251,0.5206,0.6098 +5,5-16-27-32-47,1-12,HYBRID-OPT,0.6519,0.7610,0.0448,0.5622,0.6562 +6,1-26-28-29-44,3-5,PURE-AI,0.4750,0.5344,0.0055,0.3989,0.5070 +7,25-30-35-46-48,9-10,PURE-AI,0.4787,0.7040,0.0077,0.4521,0.5526 +8,5-27-28-47-48,5-9,ENSEMBLE,0.9615,0.5983,0.0066,0.5661,0.6923 +9,5-27-28-47-48,5-9,ENSEMBLE,0.9615,0.5983,0.0066,0.5661,0.6923 +10,5-12-24-32-42,4-5,PURE-PATTERN,0.3780,0.5631,0.0448,0.2059,0.4750 diff --git a/run_tip_generator.sh b/run_tip_generator.sh new file mode 100755 index 0000000..ae9c308 --- /dev/null +++ b/run_tip_generator.sh @@ -0,0 +1,4 @@ +#!/bin/bash +cd "/Users/sebastianfrohlich/Projekte/Eurojackpot" +source venv/bin/activate +python scripts/automation/weekly_tip_generator.py diff --git a/scripts/automation/com.eurojackpot.weekly.plist b/scripts/automation/com.eurojackpot.weekly.plist index 3e4b7dc..b5f074b 100644 --- a/scripts/automation/com.eurojackpot.weekly.plist +++ b/scripts/automation/com.eurojackpot.weekly.plist @@ -2,22 +2,16 @@ - Label com.eurojackpot.weekly - ProgramArguments - /bin/bash - -c - cd "/Users/sebastianfrohlich/Library/Mobile Documents/com~apple~CloudDocs/Jupyter Notebooks/Eurojackpot" && source venv/bin/activate && python scripts/automation/weekly_tip_generator.py 2>&1 | tee -a logs/launchagent.log + /Users/sebastianfrohlich/Projekte/Eurojackpot/run_tip_generator.sh - StartCalendarInterval - Weekday 1 @@ -26,7 +20,6 @@ Minute 0 - Weekday 4 @@ -37,34 +30,28 @@ - WorkingDirectory - /Users/sebastianfrohlich/Library/Mobile Documents/com~apple~CloudDocs/Jupyter Notebooks/Eurojackpot + /Users/sebastianfrohlich/Projekte/Eurojackpot - StandardOutPath - /Users/sebastianfrohlich/Library/Mobile Documents/com~apple~CloudDocs/Jupyter Notebooks/Eurojackpot/logs/stdout.log + /Users/sebastianfrohlich/Projekte/Eurojackpot/logs/stdout.log StandardErrorPath - /Users/sebastianfrohlich/Library/Mobile Documents/com~apple~CloudDocs/Jupyter Notebooks/Eurojackpot/logs/stderr.log + /Users/sebastianfrohlich/Projekte/Eurojackpot/logs/stderr.log - RunAtLoad - EnvironmentVariables PATH - /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin + /opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin LANG de_DE.UTF-8 - LaunchOnlyOnce - Nice 10 diff --git a/scripts/automation/weekly_tip_generator.py b/scripts/automation/weekly_tip_generator.py index bcd1043..3ad668c 100644 --- a/scripts/automation/weekly_tip_generator.py +++ b/scripts/automation/weekly_tip_generator.py @@ -248,7 +248,7 @@ def main(): parser.add_argument( '--data-dir', type=str, - default="/Users/sebastianfrohlich/Library/Mobile Documents/com~apple~CloudDocs/Jupyter Notebooks/Eurojackpot/data", + default="/Users/sebastianfrohlich/Projekte/Eurojackpot/data", help='Daten-Verzeichnis' )