Local edit
Alters a single label, visual attribute or isolated state. Nothing else should move.
Can a coding agent perform programmatic video editing, from an instruction that leaves the consequences unsaid?
VEDIT-Bench: A Unified Benchmark for Evaluating Coding Agents on Programmatic Video Editing from Undescribed Instructions
“Agents apply stated video edits and preserve unedited content, but fail to infer latent intent and propagate its programmatic consequences.
Programmatic dynamic visual artifacts — animations, simulations and interactive visualizations — are specified by executable programs, which makes them parametric, controllable and reproducible. In practice, coding agents are often tasked with editing these artifacts given only a rendered video and an underspecified instruction that states the primary modification while leaving its structural, quantitative and temporal consequences implicit.
We formulate this task as video-conditioned programmatic editing from undescribed instructions: without access to the original source code, an agent must reconstruct the underlying scene, execute the explicit edit, propagate its implicit consequences over time, and preserve all unaffected content and dynamics.
VEDIT-Bench comprises 678 editing tasks across 226 source scenes spanning seven domains and three program families, organized into three escalating tiers — L1 local edits, L2 linked updates and L3 rule or structural changes — and paired with time-anchored Direct Derived Invariant metrics. Evaluating eight frontier coding agents reveals that while local edits barely differentiate models, performance degrades sharply on L3, accompanied by a substantial rank reshuffle and a pronounced drop in dependent updates.
Given only a source video and an instruction with hidden intent, an agent must rebuild the scene as code, apply the edit, and carry its unstated effects through time.
The agent receives a rendered clip — here, an HTML/JS atom viewer showing calcium. The program that produced it is withheld, so structure, layout and orbital dynamics must be recovered from frames alone.
The video-editing instruction names the primary change and nothing else. Turning Ca into Ca2+ silently implies two fewer orbiting electrons, a new configuration, a different valence, and an emptied outer shell throughout the animation.
Without source code or frame reuse, the agent must synthesize a standalone program that reconstructs and re-renders the edited video from scratch.
The rendered video is judged against a hidden reference edit, criterion by criterion:
Opus 5.5 · Claude Code · render.pyEvery source video is edited at three levels that hold reconstruction difficulty fixed while widening the scope of causal propagation.
Alters a single label, visual attribute or isolated state. Nothing else should move.
Alters an element together with directly linked ones — a value, its visual encoding and the summary readout.
Alters a governing rule, threshold or structural relation, so later states must be re-derived over time.
Deterministic source programs across seven domains and three program families, each paired with an L1, L2 and L3 instruction. Hover any tile to play it; click to read its three edits.
Coloured by program family and renderer.
Holistic video similarity misses small but decisive changes — a single numeric label can flip correctness while touching a few pixels. So every task carries observable, time-anchored criteria, rated 0–4 by a VLM judge that inspects source, reference and candidate frame by frame.
Did the named change happen — at the right moment?
Verifies the explicitly requested object, attribute or state change at the specified time.
Did the unstated consequences follow?
Verifies that rule-governed effects nobody spelled out propagate consistently over time.
Did everything else stay put?
Verifies that unrelated objects, layouts, styles and motion patterns are not disturbed.
Preservation of the source outside the edit region, weighted towards lines, text and edges.
Motion dynamics against the reference: freezes, bursts, flicker, pacing and duration.
Share of the source→reference gap closed inside the edit region: 0 = unchanged, 100 = reference.
Composite score (Completed-only) and rank at each level. Hover a line.
Mean over agents for each measure at L1, L2 and L3; label is the L3 − L2 change.
Direct vs Derived score for each agent. The bar between them is the part of the edit that was stated but not followed through.
Auto-zero composite per domain; axis labels give the mean over agents. Toggle agents below.
Completed-only composite averaged over agents; label is the L3 − L1 change.
Best agent and its Completed-only composite for each domain and level. No single agent dominates.
Completed-only composite by agent, domain and level. Dot area and colour encode the score; hover for details.
All 84 mini-subset tasks with every agent’s delivered video, synchronised by relative time. Starred scenes are the ones shown in the paper. Click any agent to open the judge’s notes.
The stated change is usually there. What goes missing is its consequence: the edited scene keeps following the old rule. Each card pairs the reference with a failing agent; notes quote the judge.