Show HN: Jevman – AI decision models play Pac-Man
TL;DR Highlight
Open-source Pac-Man benchmark ranks decision models over 100 real-time games each
Who Should Read
Backend developer weighing small decision models instead of chat LLMs for latency-sensitive routing or control logic
Core Mechanics
- Each model plays 100 games
- Models face the classic scripted ghosts until all three lives are lost.
- Games are capped at 5 minutes, but the longest lasted only 2 minutes 24 seconds.
- Models answer with odds per direction
- At each junction the game sends the maze, pellets and ghosts as JSON.
- The model returns a probability per direction and Pac-Man picks from them.
- Answers over 2 seconds fall back to a rule
- A simple backup rule replaces late answers and counts them as backup moves.
- Claude Haiku 5.5, run by the authors, was left off because two thirds of its answers came late.
- Ranking uses mean score with margin of error
- It uses the mean score with a 95% margin (±2 standard errors).
- Models within each other's margin are tied, and the high score is the best single game.
- Text-writing models are not ranked
Community Reactions
- Opinion that the model should run every tick, not just at junctions
- The commenter notes Pac-Man can change direction at any point.
- Author update that community contributions doubled the tested models
- A new model took #1 and over 1000 games have been played against decision-model ghosts.
- Question about local CPU models and a commenter's experience training small models
- One commenter trained small models to play Doom and plans to train one for this benchmark.
- Opinion that a regular LLM reference would help
- Others said mobile controls were hard and joked about paying 2 cents per game.
How to Apply
- Log latency against a 2-second limit on one decision point
- Pick one place in your service where an LLM makes a decision and record response time today.
- Check what share of calls exceeds 2 seconds.
- Add a rule-based fallback to the LLM call
- Set a timeout and let a simple rule decide when it is exceeded.
- Track how often the fallback fires.
- Try a per-option probability output format
- Make a classification or routing prompt return only JSON probabilities per option, with no explanation.
- Compare latency and accuracy against your current text answers.
- Compare scores by mean and margin of error
- When comparing models A and B, run at least 100 trials and compute the mean and ±2 standard errors.
- Treat overlapping ranges as tied.
Try It
# Paste into Claude/ChatGPT — simplified version of the article's method (probabilities-only decision prompt)
You are a decision model. Output JSON only, with no explanation.
Situation: {{situation description}}
Options: {{option list, e.g. up, down, left, right}}
Give the probability that each option is best, summing to 1, in the format {"up":0.0,"down":0.0,"left":0.0,"right":0.0}.
Next step: run the same situation 20 times and check how much the probabilities vary and whether responses arrive within 2 seconds.Terminology
Related Papers
The Judge Can Debias Itself: Awareness and Self-Debiasing for Reliable LLM-as-a-Judge
Warning an LLM judge about bias or letting it self-critique improved 20 of 21 model–bias combinations.
90% of US working hours are spent on tasks not covered well by AI benchmarks
Mapping 29 benchmarks to job tasks shows 90% of US working hours lack good coverage
Postgres 19 delayed after AI reviewers find more bugs than humans can fix
LLM code review surfaced so many bugs that Postgres 19 slipped to November and 8-10 features were reverted
Show HN: Gemini 4 Argon plays StarCraft
LLMs wrote StarCraft bots in one hour; GPT-6 Astra scored highest.
A Plausible Explanation Is Enough to Mislead Multimodal Judges
Adding plausible explanations to fixed answers cut MLLM judges' wrong-answer rejection by 12.7–13.8 points.
Neural networks are clean
Looking at neurons directly shows most have one main job, challenging superposition.