Initial commit: existing turf_saas codebase

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
ML Engineer
2026-04-25 17:18:43 +02:00
commit ed07c8a3d1
137 changed files with 36398 additions and 0 deletions

27
add_grok.py Executable file
View File

@@ -0,0 +1,27 @@
#!/usr/bin/env python3
import sqlite3
DB_PATH = "/home/h3r7/turf_scraper/turf.db"
conn = sqlite3.connect(DB_PATH)
c = conn.cursor()
# Add yesterday's Grok picks (from email)
picks = [
("2026-02-23", "Quinte Auteuil", "PASSIONATA", 8.1, 1),
("2026-02-23", "Quinte Auteuil", "GABISON", 7.5, 2),
("2026-02-23", "Quinte Auteuil", "EMSILORD", 5.2, 3),
]
for date, race, horse, odds, rank in picks:
c.execute("INSERT INTO grok_predictions (date, race_name, horse_name, odds, rank) VALUES (?, ?, ?, ?, ?)",
(date, race, horse, odds, rank))
conn.commit()
print("OK - Grok predictions added")
# Verify
c.execute("SELECT * FROM grok_predictions")
for row in c.fetchall():
print(row)
conn.close()