Update automation configuration and add weekly tips
- Update plist to use new project path structure - Simplify plist by removing comments - Add run_tip_generator.sh script for easier execution - Update data directory path in weekly_tip_generator.py - Add generated weekly tips from 2026-01-08 - Update generation history with latest run Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -118,6 +118,13 @@
|
|||||||
"file": "weekly_tips_20260105_193143.csv",
|
"file": "weekly_tips_20260105_193143.csv",
|
||||||
"avg_confidence": 0.5119966658358427,
|
"avg_confidence": 0.5119966658358427,
|
||||||
"avg_quality": 0.6260971285846824
|
"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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -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
|
||||||
|
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd "/Users/sebastianfrohlich/Projekte/Eurojackpot"
|
||||||
|
source venv/bin/activate
|
||||||
|
python scripts/automation/weekly_tip_generator.py
|
||||||
@@ -2,22 +2,16 @@
|
|||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<!-- Label - Eindeutige Identifier -->
|
|
||||||
<key>Label</key>
|
<key>Label</key>
|
||||||
<string>com.eurojackpot.weekly</string>
|
<string>com.eurojackpot.weekly</string>
|
||||||
|
|
||||||
<!-- Programm-Pfad -->
|
|
||||||
<key>ProgramArguments</key>
|
<key>ProgramArguments</key>
|
||||||
<array>
|
<array>
|
||||||
<string>/bin/bash</string>
|
<string>/Users/sebastianfrohlich/Projekte/Eurojackpot/run_tip_generator.sh</string>
|
||||||
<string>-c</string>
|
|
||||||
<string>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</string>
|
|
||||||
</array>
|
</array>
|
||||||
|
|
||||||
<!-- Zeitplan: Montag und Donnerstag um 21:00 -->
|
|
||||||
<key>StartCalendarInterval</key>
|
<key>StartCalendarInterval</key>
|
||||||
<array>
|
<array>
|
||||||
<!-- Montag 21:00 (vor Dienstag-Ziehung) -->
|
|
||||||
<dict>
|
<dict>
|
||||||
<key>Weekday</key>
|
<key>Weekday</key>
|
||||||
<integer>1</integer>
|
<integer>1</integer>
|
||||||
@@ -26,7 +20,6 @@
|
|||||||
<key>Minute</key>
|
<key>Minute</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
</dict>
|
</dict>
|
||||||
<!-- Donnerstag 21:00 (vor Freitag-Ziehung) -->
|
|
||||||
<dict>
|
<dict>
|
||||||
<key>Weekday</key>
|
<key>Weekday</key>
|
||||||
<integer>4</integer>
|
<integer>4</integer>
|
||||||
@@ -37,34 +30,28 @@
|
|||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
|
|
||||||
<!-- Arbeitsverzeichnis -->
|
|
||||||
<key>WorkingDirectory</key>
|
<key>WorkingDirectory</key>
|
||||||
<string>/Users/sebastianfrohlich/Library/Mobile Documents/com~apple~CloudDocs/Jupyter Notebooks/Eurojackpot</string>
|
<string>/Users/sebastianfrohlich/Projekte/Eurojackpot</string>
|
||||||
|
|
||||||
<!-- Standard Output/Error Logging -->
|
|
||||||
<key>StandardOutPath</key>
|
<key>StandardOutPath</key>
|
||||||
<string>/Users/sebastianfrohlich/Library/Mobile Documents/com~apple~CloudDocs/Jupyter Notebooks/Eurojackpot/logs/stdout.log</string>
|
<string>/Users/sebastianfrohlich/Projekte/Eurojackpot/logs/stdout.log</string>
|
||||||
<key>StandardErrorPath</key>
|
<key>StandardErrorPath</key>
|
||||||
<string>/Users/sebastianfrohlich/Library/Mobile Documents/com~apple~CloudDocs/Jupyter Notebooks/Eurojackpot/logs/stderr.log</string>
|
<string>/Users/sebastianfrohlich/Projekte/Eurojackpot/logs/stderr.log</string>
|
||||||
|
|
||||||
<!-- Wichtig: RunAtLoad für sofortigen Test -->
|
|
||||||
<key>RunAtLoad</key>
|
<key>RunAtLoad</key>
|
||||||
<false/>
|
<false/>
|
||||||
|
|
||||||
<!-- Environment Variables -->
|
|
||||||
<key>EnvironmentVariables</key>
|
<key>EnvironmentVariables</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>PATH</key>
|
<key>PATH</key>
|
||||||
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
|
<string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
|
||||||
<key>LANG</key>
|
<key>LANG</key>
|
||||||
<string>de_DE.UTF-8</string>
|
<string>de_DE.UTF-8</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
|
||||||
<!-- Wichtig: Auch bei Sleep/Wake ausführen -->
|
|
||||||
<key>LaunchOnlyOnce</key>
|
<key>LaunchOnlyOnce</key>
|
||||||
<false/>
|
<false/>
|
||||||
|
|
||||||
<!-- Process Nice Level (niedrigere Priorität) -->
|
|
||||||
<key>Nice</key>
|
<key>Nice</key>
|
||||||
<integer>10</integer>
|
<integer>10</integer>
|
||||||
</dict>
|
</dict>
|
||||||
|
|||||||
@@ -248,7 +248,7 @@ def main():
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--data-dir',
|
'--data-dir',
|
||||||
type=str,
|
type=str,
|
||||||
default="/Users/sebastianfrohlich/Library/Mobile Documents/com~apple~CloudDocs/Jupyter Notebooks/Eurojackpot/data",
|
default="/Users/sebastianfrohlich/Projekte/Eurojackpot/data",
|
||||||
help='Daten-Verzeichnis'
|
help='Daten-Verzeichnis'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user