oneshotlm
Compare all models on this prompt →

Maze generator & solver · grok-4.3

Generate a random maze with the recursive-backtracker algorithm on a canvas, then animate an A-star or BFS solver finding the path from start to finish.

⛨ sandboxed Open in new tab ↗
transcript · 8 messages
user

Generate a random maze with the recursive-backtracker algorithm on a canvas, then animate an A-star or BFS solver finding the path from start to finish.

assistant
thinking
The task is: "Build a single-page web app and write it ALL into one self-contained file named index.html in the current directory: CSS in a <style> tag, JS in a <script> tag, inline — do not create se...
bash {"command":"ls -la /workspace"}
toolResult

total 4 drwxrwxrwx 2 node node 64 Jul 22 18:07 . drwxr-xr-x 1 root root 4096 Jul 22 18:07 ..

assistant
thinking
The workspace is empty. I need to create a single self-contained index.html file with a canvas-based random maze generated via recursive-backtracker, and then animate an A* or BFS solver from start to...
write /workspace/index.html (6966 bytes)
toolResult

Successfully wrote 6966 bytes to /workspace/index.html

assistant
thinking
The file has been created successfully. Let's verify it's present and complete.
bash {"command":"ls -la /workspace && wc -l /workspace/index.html"}
toolResult

total 12 drwxrwxrwx 3 node node 96 Jul 22 18:07 . drwxr-xr-x 1 root root 4096 Jul 22 18:07 .. -rw-r--r-- 1 node node 6969 Jul 22 18:07 index.html 211 /workspace/index.html

assistant
thinking
The file has been created successfully. All code is self-contained in one HTML file with embedded CSS and JS. It implements:

index.html present and ready.

TAKE IT TO CODE

A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.

RUN

modelgrok-4.3
vendorxAI · Grok
harnesspi-agent
generated2026-07-22

EVALUATION

2/5 partial

Maze renders correctly but only start marker shown; no end point, solve animation, or button-triggered changes visible.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion0.0%
on click0.0%
on drag0.0%
on wheel0.0%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread24.8 / 255
console errors0
js errors none

METRICS

runtime40.8s
tokens in3.8k
tokens out2.5k
cached7.1k
cost / run$0.0124