oneshotlm
Compare all models on this prompt →

Force-directed graph · ministral-8b-2512

Using the pre-provided d3.min.js (global d3), render an interactive force-directed graph of about 40 nodes in several clusters with draggable nodes, hover highlighting of neighbors, and zoom/pan. Define the sample nodes and links inline.

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

Using the pre-provided d3.min.js (global d3), render an interactive force-directed graph of about 40 nodes in several clusters with draggable nodes, hover highlighting of neighbors, and zoom/pan. Define the sample nodes and links inline.

assistant
write index.html (9115 bytes)
toolResult

Successfully wrote 9115 bytes to index.html

assistant

The interactive force-directed graph has been created in `index.html` with: - **40 nodes** organized into **4 clusters** - **Draggable nodes** (click and drag to reposition) - **Hover highlighting** of neighbors (nodes and links connected to the hovered node) - **Zoom and pan** functionality (use mouse wheel or drag to zoom/pan) - **Tooltips** showing node names on hover You can open this file in any modern browser to see the interactive graph.

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

modelministral-8b-2512
vendorMistral AI
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Force-directed clustered graph renders; drag and wheel zoom work well, click/keys show no visible change.

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 drag2.1%
on wheel2.1%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread12.6 / 255
console errors0
js errors none

METRICS

runtime57.0s
tokens in6.3k
tokens out3.4k
cached1.3k
cost / run$0.0013