Evaluation
An evaluation plays a trained agent's episodes from Blue's bedroom beside the same count of episodes of random presses under the same seeds, so a comparison sets the agent against what pressing at random reaches with the same draws of the game's randomness. A run plays one every 250,000 steps, and squirtl evaluate plays one at a run's last checkpoint.
The Episodes
Each evaluation plays 30 episodes of each player, the count Mnih et al.1 evaluate over. The deep Q-network and PQN choose a random press with probability 0.05 at each step, the epsilon Mnih et al. evaluate at, since each acts through its highest-valued press and holds no distribution to sample from. PPO samples each press from its policy, as Schulman et al.2 score PPO on the episodes its training samples, and plays the same episodes again under the same seeds taking its most likely press at every step, as Mhammedi and Cohan3 play it in the evaluation rollouts that choose their best checkpoint. Every comparison reads the sampled episodes, and The Most Likely Press sets beside each PPO seed's count of them reaching the goal its count at the most likely press. Random presses choose uniformly among the seven presses at every step. Each random draw of an episode comes from a generator seeded for that episode's number, so an evaluation plays press for press alike however many environments run it.
The Measures
Each evaluation averages over each player's episodes the share reaching the run's goal, the steps the episodes reaching it took, the positions reached, the return, and each term's part of that return. Across runs, each measure is reported as its interquartile mean, the mean of the runs left once a quarter is cut from each end, with its 95% percentile bootstrap interval and the count of runs behind it, as Agarwal et al.4 aggregate a handful of runs. The comparison of one agent against random presses, or against another agent, is the probability that a run of the first beats a run of the second on mean return, which the Mann-Whitney statistic over every pair of runs estimates.
The Released Runs
A release may attach the runs the Results section measures, each holding its settings, its recorded episodes, and the weights of its last checkpoint, with no optimizer state and no replay memory. A search committed beside them is attached as a demonstration, holding its settings and the episode reaching the goal with no checkpoint, so squirtl watch plays it and no selection of the trained runs matches it. On a release that attaches them, squirtl fetch unpacks its runs under data/runs/, and squirtl evaluate --release <tag> measures again the runs --agent, --start, and --seed select, or every seed of the recommended run's agent and start without them, on a cartridge at data/rom.gb, refusing one whose intro leaves the console in another state than the run recorded. A fetched run holds no evaluation, so every episode plays afresh.
Settings
The table below is written from the help squirtl train prints for each --evaluation. setting, and mise write rewrites it.
| Flag | Default | What It Sets |
|---|---|---|
--evaluation.environments | the machine's | The environments an evaluation plays its episodes across in parallel, each in a worker process of its own, which defaults to the CPUs the process may use. |
--evaluation.episodes | 30 | The episodes each evaluation plays of the agent and of the random baseline, whose default follows Mnih et al. |
--evaluation.epsilon | 0.05 | The chance of a random action at each step of an evaluation episode of the deep Q-network or of PQN, whose default follows Mnih et al. PPO samples each action from its policy and plays the same episodes again taking its most likely action at every step. |
- 1Mnih et al. 2015.
"Human-level control through deep reinforcement learning." Nature 518(7540): 529–533. https://
doi.org/ 10.1038/ nature14236 - 2Schulman et al. 2017.
"Proximal Policy Optimization Algorithms." arXiv:1707.06347. https://
arxiv.org/ abs/ 1707.06347 - 3Mhammedi and Cohan 2026.
"Decoupling Exploration and Policy Optimization: Uncertainty Guided Tree Search for Hard Exploration." arXiv:2603.22273v4. https://
arxiv.org/ abs/ 2603.22273v4 - 4Agarwal et al. 2021.
"Deep Reinforcement Learning at the Edge of the Statistical Precipice." Advances in Neural Information Processing Systems 34: 29304–29320. https://
proceedings.neurips.cc/ paper/ 2021/ hash/ f514cec81cb148559cf475e7426eed5e-Abstract.html