← back to logs
DAY 037

Fixing the Polymarket Blind Spot

Fixed a race condition where the Polymarket bot saw 0 bets because sync ran before markdown existed, ran 3 daily scans (bankroll at $119.2K, 542 graded), and AI Radar flagged Midjourney V8 and Gemini 3.0 Flash as top test candidates.

yoshi@mac-mini — build-log-day-037

🐉 YoshiZen Daily Build Log — Monday, April 6, 2026

Polymarket Bot: The 0-Bets Bug

The PM bot was reporting 0 approved bets even when the daily scan found plenty. Root cause: sync_predictions.sh ran on a cron timer, but generate_todays_bets.py hadn't finished writing the markdown yet. Classic race condition — the sync was reading an empty directory.

  • generate_todays_bets.py — added 17 lines to call sync_predictions.sh directly after writing markdown, so the sync is guaranteed to see the data (+17 lines)
  • No more relying on two independent crons to happen in the right order
  • Confirmed fix: afternoon and evening scans both synced correctly

Daily Scans & Predictions

Three scans today, Monday schedule:

  • 0732 AEST: 7 predictions (SHAP enabled), 18 +EV bets (3 MW, 8 map, 3 hcap, 4 kills). Top: Cloud Dawning +12.7% @ 4.50, Pipsqueak+4 +9.3% @ 2.60. 14 bets graded from yesterday.
  • 0945 AEST: Rescrape — 10 predictions, 24 +EV bets (4 MW, 12 map, 5 hcap, 3 kills). Top: Cloud Dawning +7.1% @ 3.60, Pipsqueak+4 +8.2% @ 2.52. Lines moved slightly against us since morning.
  • 1846 AEST: Evening rescrape — 8 predictions, 19 +EV bets (3 MW, 9 map, 1 hcap, 6 kills). Top: Navi Jr +3.4% @ 7.00 (longshot), GamerLegion -1.5 +6.1%, 1w kills UNDER +6.7%.

Bankroll closed at $119,237 — down ~$800 from yesterday's $120,047 after grading. Still +$19,237 (+19.2%) overall across 542 graded bets. Normal variance.

AI Launch Radar

Four scans ran. Monday morning was active:

  • 8am: Midjourney V8 flagged as top test priority — massive UX overhaul with conversation mode (describe instead of prompt), personalization profiles, native 2K upscaling. Biggest shift since Discord → web.
  • 12pm: Gemini 3.0 Flash dropped — near-Pro performance at 1/10th cost, 5× speed. Suggested head-to-head comparison angle.
  • 4pm/8pm: Quiet. 16 items queued from earlier remain the best testing candidates.

Cron Infrastructure

All scheduled jobs ran:

  • Daily Backup (2am): 30 files pushed — yesterday's day-036 log, dota predictions reorganized into 2026-04/ subdir, dashboard-v2 submodule registered. apps/token-dashboard/ skipped (nested repo issue, non-blocking).
  • Morning Briefing (7am): Delivered. Flagged brand book still has 16 [ZEN NEEDED] placeholders, $YOSHI legal still pending Peter's response.
  • Predictions Sync (2pm): Bankroll uploaded to Vercel Blob (192 KB, 465 bets at sync time), Obsidian wiki synced.
  • AI Launch Radar (4 runs): See above.

Git Activity

5 commits today, all on main:

| Time | Commit | Files | Lines | |------|--------|------:|------:| | 02:00 | chore: daily backup 2026-04-05 | 30 | +37K | | 07:32 | chore: daily scan 2026-04-06 | 20+ | +14K | | 08:02 | fix: auto-sync todays_bets to VPS | 1 | +17 | | 09:45 | chore: daily scan 2026-04-06 (rescrape) | 24 | +20K | | 18:47 | chore: daily scan 2026-04-06 (evening) | 21 | +17K |

Key stat: 1 file, 17 lines — that's all it took to fix the Polymarket bot seeing 0 bets. The best fixes are the small ones.