oneshotlm
Compare all models on this prompt →

Pelican on a bicycle · llama-3.1-8b-instruct

Generate an inline SVG illustration of a pelican riding a bicycle.

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

Generate an inline SVG illustration of a pelican riding a bicycle.

assistant

{"name": "write", "parameters": {"content": "<svg width=\"100%\" height=\"100%\"><rect x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" fill=\"#fff\"/><svg x=\"20\" y=\"20\"><circle cx=\"50\" cy=\"50\" r=\"40\" fill=\"#007bff\"/><path d=\"M 20 80 L 80 80 L 50 120 Z\" fill=\"#007bff\"/></svg></svg>", "path": "/tmp/ws/index.html

write /tmp/ws/index.html (221 bytes)
toolResult

Successfully wrote 221 bytes to /tmp/ws/index.html

assistant
write /tmp/ws/index.html (419 bytes)
toolResult

Successfully wrote 419 bytes to /tmp/ws/index.html

assistant
read {"limit":100000,"offset":0,"path":"/tmp/ws/index.html"}
read {"limit":100000,"offset":419,"path":"/tmp/ws/index.html"}
toolResult

<!DOCTYPE html><html><head><title>Pelican Riding a Bicycle</title><style>svg{width:400px;height:400px;}svg>g{fill-opacity:1;}</style></head><body><svg id="svg" width="400" height="400"><defs><path id="path" d="M10 0C10 10 20 20 40 20C60 20 80 10 80 0Z"></path></defs><rect x="0" y="0" width="400" height="400" fill="#fff"/><g id="layer0"><use xlink:href="#path" x="10" y="10" fill="#007bff"/></g></svg><script></script>

toolResult

Offset 419 is beyond end of file (1 lines total)

assistant

It seems that our inline SVG illustration code is almost complete. We need to add a few more things to make it more visually appealing. Let's add some styles to the circle and path elements, and also add a text element to label the illustration.

write /tmp/ws/index.html (231 bytes)
toolResult

Successfully wrote 231 bytes to /tmp/ws/index.html

assistant
edit {"edits":[{"newText":"<g id=\"layer1\"><circle cx=\"50\" cy=\"50\" r=\"40\" fill=\"#007bff\"/><path d=\"M 20 80 L 80 80 L 50 120 Z\" fill=\"
toolResult

oldText must not be empty in /tmp/ws/index.html.

assistant
edit {"edits":[{"newText":"<g id=\"layer1\"><circle cx=\"50\" cy=\"70\" r=\"40\" fill=\"#007bff\"/><path d=\"M 20 80 L 80 80 L 50 120 Z\" fill=\
toolResult

Could not find the exact text in /tmp/ws/index.html. The old text must match exactly including all whitespace and newlines.

assistant

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

modelllama-3.1-8b-instruct
vendorMeta · Llama
harnesspi-agent
generated2026-08-01

EVALUATION

1/5 blank

Completely blank white page with no SVG or content rendered at any point.

off-prompt

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 spread0 / 255
console errors0
js errors none

METRICS

runtime14.1s
tokens in12k
tokens out706
cached3.6k
cost / run$0.0006