In Kaggle's real-time strategy simulation competition, Maze Crawler, two AI coding agents (Claude + Codex) handled all research, strategy, implementation, experiments and submission decisions. I wrote no code myself. My role was the orchestrator: setting goals, mediating debates and approving submissions. This page documents those two days.
Maze Crawler pits two players against each other on a 20-cell-wide maze that scrolls endlessly north. It is a
partially observed (fog-of-war), two-player real-time strategy competition. The southern boundary rises continuously, destroying lagging units; the last surviving Factory wins. Instead of a prediction CSV, the submission is an
agent(obs, config) function inside a single main.py file. It plays actual matches against other entrants on the server to earn a rating. Submissions are limited to 5 per day.
Every turn combines exploration (which route will survive?), economy (where to collect energy?), combat (collisions can destroy both sides), and time pressure (move north faster than the map scrolls).
Sets goals and budgets (D1–D6), mediates strategy debates and gives final submission approval. Writes no code.
Writes agent code, runs seed sweeps, operates the submission pipeline and polls the leaderboard.
Reviews designs, enforces gates and challenges submissions. Submission requires “no-objection.”
The structure lights up sequentially when you scroll into this section.
The agents ran independently in two macOS terminal tabs, communicating live through a terminal bridge targeting the exact tty. Every agreement was numbered and recorded in DECISIONS.md(D1–D11). Actions that consume a quota, such as Kaggle submissions, required acquiring a lock and confirming the other agent's no-objection before execution, preventing two agents from double-spending the daily allowance of only 5 submissions.
Hover over a point for its submission message and local-gate results. Public scores fluctuate as matches continue: p6 ranged from 689 to 963 in Day-1 afternoon polling. The values above are the stabilized final snapshot.
| # | Date (UTC) | Agent | Public score | Notes |
|---|---|---|---|---|
| 1 | 05-12 | p10 pipeline validator | 476.9 | Starter + safety guards; pipeline validation |
| 2 | 05-12 | p1_candidate | 632.3 | First custom agent |
| 3 | 05-12 | p4_bfs | 766.0 | Introduced BFS path planning |
| 4 | 05-12 | p6_bfs_optimistic | 876.9 | JUMP edges + optimistic treatment of unexplored cells; 93.5% win rate over 200 seeds |
| 5 | 05-12 | p6 (resubmitted) | 845.3 | Identical code — measuring public-score variance |
| 6 | 05-13 | p8b_opp_vision_active_crush | 896.1 | Adjacent-enemy crush rule, h2h +0.62σ |
| 7 | 05-13 | p8c_mirror_prior_lateral | 906.4 | East–west mirror prior — final submission |
The 5-per-day limit makes submissions an experiment budget. Every candidate had to pass local gates before submission, with results preserved in submission messages and logs. Actual gates for the final submission (p8c):
| Gate | Criterion | p8c result |
|---|---|---|
| h2h vs current champion (p6) | 200 seeds, report win rate + σ | 86W/41D/73L · 0.532 (+0.91σ) |
| Regression sweep vs random / starter | No performance regression | 0.975 / 0.975 |
| Action counters | 0 risky actions | BAD_entry 0 · low_margin_loss 0 |
| New-feature activation rate | Prove it is not dead code | Crush rule fired on 24/26 opportunities (92%) |
| Submission integrity | Record md5 before and after | 2c3367ee… == p8c source ✓ |
| Submission lock | 30s TTL + peer no-objection | owner=Claude, Codex no-objection |
Source: SESSION_LOG.md — all 7 submissions are recorded in the same format.
Completed two candidates (p7 trap-fix, OA1 minimal), but local gates provided no evidence of a leaderboard improvement. → Ended without submitting, preserving all 5 quota slots. “Preserving quota beats a bad submission.”
Searched four key champion constants with Optuna TPE, separating training and evaluation seeds. Conclusion: the hand-tuned defaults were already nearly optimal. The measurements showed that micro-tuning would not move the leaderboard.
Trained a reward-prediction model on ~2,500 game records (33-key schema). It had predictive power, but policy lift was 0. Identified a textbook off-policy trap, discarded the model and documented the process.
The Day-1 research report (research report) concluded that, with a two-day budget, the priority was an agent that stays alive. Eliminate crashes, self-destruction and friendly collisions first, then build verifiable heuristics. RL and deep learning were explicitly deferred. The algorithm survey covered BFS/A*, frontier exploration, PIBT, POMCP and behavioral cloning, recording why each was adopted or deferred.
Because every rule was deterministic, the 200-seed experiments were reproducible and the gate win rates and σ values could be trusted.
The submitted agent is on the left. Watch its Factory move north ahead of the scrolling boundary and select routes that treat unknown walls optimistically. Original files are in the repository's replays/ directory.
The limitations are explicit: I participated for only two days. The rank was 39/145 at the last submission, but other teams continued improving for another month, leading to a final rank of 131/459 (top 29%). The gap to the leaders (1,400+ points) lay in opponent modeling and long-term economic management. A Day-3 plan for replay-based failure analysis was prepared but never executed. Every number on this page comes directly from the Kaggle API and repository logs.
GitHub — original working directory (published unedited) Kaggle leaderboard ← Portfolio home