godot-bug-finder · test runs · 28 September 2026

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.

Replay at 2× speed, 41 s. Left: the agent's own 800×480 captures. Right: the key it pressed next, CLIP's answer to "is this the game?", and how much the frame changed. The flags come from the Inspector, which runs after the run.
Change from the previous frame, run A, by frame (mean grey levels, 0–255)
Frame-to-frame change for 199 frames. It moves between about 3 and 32 during play, spikes to 54 at frame 46 when a jump moves the camera, and drops below 2 from frame 49 to the end, after the soft-lock fires just before frame 48.
Show all 199 frames as a table
FrameTimeKeyChangeP(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

“Character frozen mid-air for 150 frames despite continuous input”
real bugunresponsiveseverity 4 / 5confidence 0.85
Suspected cause
“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.

“Character position jump between platforms during normal traversal”
not a real buglikely false positiveseverity 1 / 5confidence 0.75

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.

Real time, 19 s. The extra frame after frame 34 is the one the guard checked. It is kept for evidence but never recorded as play.
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

DateRunWhat happened
20 May4 May runsTwo 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 SepRuns 1 and 2The 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 SepRun 3Fired 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 SepRun 4A fresh run with the new rule fixed beforehand: caught, frames 56–195.
28 SepRun ACaught, frames 49–198. One sudden-jump false alarm.
28 SepRun BZero anomalies with nothing planted.
28 SepRun C, first tryA setup error: the pop-up came and went while Godot and CLIP were still loading. The test now waits for the first frame.
28 SepRun CRecovered 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.py

Plays 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.py

Before 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.py

Runs 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.py

Sends 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

  1. Explore with purpose. The key sequence is random with a fixed seed. There is no learned policy and no coverage goal.
  2. 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.
  3. Trust its thresholds. They come from one clean minute, and the jump threshold has already fired on a camera move.
  4. 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.
  5. Confirm what the Reporter says. Its causes and reproduction steps are unverified, and nothing replays the inputs.
  6. Run anywhere but Windows, on anything but this one game, from outside the engine.