You're offline — showing cached data

F1 race prediction deadline refresh

f1-prediction-saturday
2026-06-13 06:15:07 SAST
← Back to Tasks

Friday/Saturday guarded deadline refresh of F1 prediction (MC-4875): 04:00, 08:00, 12:00, and 19:00 SAST (02:00/06:00/10:00/17:00 UTC). Each slot picks up fresh sprint / practice data, re-runs the full pipeline, and auto-submits the full race picks (Pole + Top 10 in order + Fastest Lap) to Superbru — but only while the submission window is still open (see deadline-aware safety below).

Why guarded windows: the scheduler only supports static cron, so the safe strategy is bounded frequent windows plus fail-closed deadline checks in run_weekly.py. The Friday windows cover Friday qualifying weekends such as Azerbaijan (12:00 UTC qualifying covered by the 10:00 UTC guard). The Saturday 02:00 UTC guard covers very early qualifying such as Australia 05:00 UTC, Japan 06:00 UTC, and Las Vegas 04:00 UTC; the Saturday 06:00 UTC guard covers China 07:00 UTC. The 10:00/17:00 UTC guards preserve later-weekend visibility. After a deadline has passed, later slots self-skip, so no double-submit and nothing is overwritten after the deadline.

Same run_weekly.py script as the Thursday task — find_upcoming_race finds races within 0-4 days, so today's race (1 day out) is captured.

Deadline-aware safety: run_weekly.main() calls submission_window_open(race) which checks now < qualifying_utc. If Qualifying has already started (earlier weekend slot), the submit step is skipped — Telegram notes "Superbru auto-submit skipped: qualifying already started at

Sprint team pick is handled by the separate f1-sprint-pick task at Sat 04:00/06:00 SAST, gated by sprint_window_open(race). This refresh does NOT re-submit the sprint team pick.

Goal: lock in updated race picks before each race's Quali deadline, still earning the +2 EBP. Future improvement: fully deadline-aware scheduling that reads qualifying_utc per race instead of fixed slots — must keep the existing before-sprint / before-qualifying test gates passing (tests/test_sprint_winner.py::test_saturday_*).

Fri+Sat at 04:00, 08:00, 12:00, 19:000 4,8,12,19 * * 5,6
Yes
shell
3600s
Yes
in 2h (2026-06-13 08:00)

Task Definition

tasks/f1-prediction-saturday.md
shell
set
No
No
cd /home/lucienne/workspace/projects/f1-predictor && /usr/bin/python3.12 run_weekly.py

Edit Schedule

Result:
7
Runs (7d)
7
Completed
0
Failed
0
Timeout
100%
Success (7d)
3.3m
Avg Duration
f1 prediction

Run History (7)

StartedFinishedStatusDurationOutputLog
2h ago 2h ago completed 4.0m
9_fp_deep_analysis.py (timeout=600s)... [SUCCESS] 09_fp_deep_analysis.py completed [PIPELINE] Saved FP signals (FastF1) ...
View log
11h ago 11h ago completed 3.6m
.py completed [PIPELINE] FP analysis: trying FastF1 first... [PIPELINE] Running 09_fp_deep_analysis.py (timeout=600s). ...
View log
18h ago 18h ago completed 3.5m
00s)... [SUCCESS] 10_f1_editorial.py completed [PIPELINE] FP analysis: trying FastF1 first... [PIPELINE] Running 09_fp ...
View log
22h ago 22h ago completed 2.9m
] Running 02_news.py (timeout=300s)... [SUCCESS] 02_news.py completed [PIPELINE] Running 03_reddit.py (timeout=300s)... ...
View log
1d ago 1d ago completed 3.9m
00s)... [SUCCESS] 02_news.py completed [PIPELINE] Running 03_reddit.py (timeout=300s)... [SUCCESS] 03_reddit.py complet ...
View log
6d ago 6d ago completed 2.8m
Race found: Monaco Grand Prix on 2026-06-07 Type: Standard weekend Running pipeline for Monaco Grand Prix (monaco-2026). ...
View log
7d ago 7d ago completed 2.7m
ictor/pipeline/09b_openf1_fp.py", line 451, in <module> sys.exit(main()) ^^^^^^ File "/home/lucienne/ ...
View log

Comments (0)

No comments yet — add instructions for Luci
Help