A game tester that plays, notices, and writes it up
Three agents test a Godot platformer. The Explorer plays it with random key presses while a local CLIP model checks it is still looking at the game. The Inspector flags stretches where the screen jumps or stops responding. The Reporter asks a vision LLM for a bug report. Below are three real runs from this morning, two of them as replays, and every number on this page comes from the runs' own log files.
Run A: a planted soft-lock
Thirty seconds after the game starts, a planted script pauses it without opening the pause menu. The screen keeps drawing and nothing responds. The agent is not told when, and the game writes the exact time to a log so the run can be scored.
Show all 199 frames as a table
| Frame | Time | Key | Change | P(game) |
|---|
- 14.3 s
- Ground truthThe soft-lock fired just before frame 48.
- frames 49–198
- UnresponsiveFlagged from the next frame to the end of the run. Median change 0.91, against 22.9 in clean play.
- every frame
- Triage: game bugCLIP said every frame was the game (lowest P(game) 0.99), so this was not the harness losing the window.
- frames 46–47
- False alarmA sudden jump: change 54.4 and 44.2, over the 43.0 threshold. The player had jumped and the camera moved with it.
What the Reporter wrote
“Likely a soft-lock or frozen game-state bug (possibly an infinite loop, stuck animation state, or input queue desync) that halts rendering/logic updates while still accepting inputs into a buffer.”
It got the what right: a real bug, a soft-lock, serious. The why is a guess. It cannot see the script that paused the game, and its reproduction steps describe the scene rather than the cause, which is a timer. Nothing replays the inputs to check.
The false alarm at frame 46. It put it down to normal movement and camera scrolling, which matches what the frames show.
Run C: something covers the game
In May, the game window dropped behind my IDE and the agent carried on pressing keys into whatever was in front. Its only two "bugs" that month were screenshots of my IDE. In this run a script opens a window over the game ten seconds in.
- 10.1 s
- The pop-up opens.
- 10.2 s
- Slipped throughFrame 34 is recorded with the pop-up half over the game. CLIP gives it P(game) 0.53, just over the 0.5 cut-off.
- 10.6 s
- GuardThe next CLIP check (every fifth tick) gives 0.37. No key is pressed and the game window is raised.
- 11.5 s
- RecoveredP(game) 1.00, and play resumes at frame 35 on the first attempt.
Two things did not go to plan. Frame 34 went into the recording as game, so the Inspector called it a sudden jump rather than a harness problem. The Reporter dismissed it for the wrong reason: its four frames did not include frame 34, so it blamed the camera. And the pop-up never took keyboard focus, so the focus check did not fire. Only the CLIP half of the guard was tested.
Run B: nothing planted
The same 60 seconds with the soft-lock switched off: 198 frames, zero anomalies, and the lowest P(game) was 0.98.
Every run so far, misses included
| Date | Run | What happened |
|---|---|---|
| 20 May | 4 May runs | Two anomalies flagged, both my IDE captured after the game window dropped out. The Reporter never ran, and the planted ledge bug was never tested. |
| 27 Sep | Runs 1 and 2 | The planted soft-lock never fired: its code sat in level.gd, which no scene loads. I first blamed the Explorer for not reaching it, which was wrong. |
| 27 Sep | Run 3 | Fired at frame 55 and was missed. The first rule wanted every one of 30 frames below 0.76, but a paused game still animates its grass. Rewritten as a 30-frame median. |
| 27 Sep | Run 4 | A fresh run with the new rule fixed beforehand: caught, frames 56–195. |
| 28 Sep | Run A | Caught, frames 49–198. One sudden-jump false alarm. |
| 28 Sep | Run B | Zero anomalies with nothing planted. |
| 28 Sep | Run C, first try | A setup error: the pop-up came and went while Godot and CLIP were still loading. The test now waits for the first frame. |
| 28 Sep | Run C | Recovered on the first attempt; one frame mis-triaged. |
Offline, CLIP gets all 416 labelled frames from May right (328 game, 88 IDE or black screen), zero-shot, with its prompts fixed before the test. That is a sanity check on one game and one IDE, not a benchmark. After this weekend's code clean-up, re-inspecting all eight earlier runs gave identical anomalies and identical per-frame numbers.
How it works
Explorer
explorer.pyPlays with a seeded mix of random keys and short committed runs left or right. It aims for 10 fps but records about 3.3, because pyautogui waits 0.1 s after every key event, so 30 frames is about 9 s.
Guard
explorer.py, perception.pyBefore each key press it checks that the game window has focus, and every fifth tick it asks CLIP (ViT-B/32, on the CPU) whether the frame is the game. If either check fails, it presses nothing and tries three times to get the game back, then stops.
Inspector
inspector.py, calibrate.pyRuns after the run. A sudden jump is a frame change over 43.0. Unresponsive means a 30-frame median change under 1.52 while at least half the keys are moves. Both thresholds come from one clean minute of play. CLIP decides whether an anomaly is a game bug or a harness problem.
Reporter
reporter.pySends four frames and the Inspector's summary to a vision LLM and asks for a JSON bug report: title, severity, reproduction steps, suspected cause, and whether it is a real bug at all.
What it can't do yet
- Explore with purpose. The key sequence is random with a fixed seed. There is no learned policy and no coverage goal.
- See a gameplay bug that doesn't change the whole screen. A second planted bug, a ledge you fall through, is invisible to pixel change and to a whole-frame CLIP check.
- Trust its thresholds. They come from one clean minute, and the jump threshold has already fired on a camera move.
- Keep other windows out of the evidence. A half-covered frame passed the 0.5 cut-off in run C. Capturing the game window itself, not a region of the screen, would fix that.
- Confirm what the Reporter says. Its causes and reproduction steps are unverified, and nothing replays the inputs.
- Run anywhere but Windows, on anything but this one game, from outside the engine.