Arxiv 2026Benchmark · Coding agents · Video editing

VEDIT-Bench

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

Haoyu Yao1Chenguo Lin1,†Yike Xiang2Ruize Du1Fengyuan Ran1Qingmiao Hu3Xuesong Duan4Yadong Mu1,✉
1 Peking University2 Wuhan University3 Nanyang Technological University4 Paris-Saclay University
† Project lead✉ Corresponding author
Undescribed instructionL3
 
scroll

“Agents apply stated video edits and preserve unedited content, but fail to infer latent intent and propagate its programmatic consequences.

§ 01 Abstract

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.

0
editing tasks with hidden reference edits
0
deterministic source scenes
0
domains, from circuits to web UIs
0
program families: SVG · HTML/JS · Python
0
time-anchored scoring points
0
frontier coding agents evaluated
§ 02 The task

One sentence, many consequences.

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.

01

Agents get the pixels

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.

02

…and one undescribed editing instruction.

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.

03

The agent infers and writes a program.

Without source code or frame reuse, the agent must synthesize a standalone program that reconstructs and re-renders the edited video from scratch.

04

Three obligations, scored apart.

The rendered video is judged against a hidden reference edit, criterion by criterion:

Direct — the change it namesDerived — what it leaves implicitInvariant — what must stay
    source.mp4 — 2.0 s · 1222×750L3
    Source videoReference edit source code withheld
    Ca → Ca²⁺
    [Ne] 3s² 3p⁶ · valence 8
    18 e⁻
    4th shell emptied · 2-8-8
    20 p⁺ · 20 n stay
    InstructionL3
    ← that’s all it gets
    Opus 5.5 · Claude Code · render.py
    
                
    § 03 Three levels

    L1- L3 editing levels.

    Every source video is edited at three levels that hold reconstruction difficulty fixed while widening the scope of causal propagation.

    L1

    Local edit

    Alters a single label, visual attribute or isolated state. Nothing else should move.

    “Make the electrons orbiting the calcium nucleus green.”Chemistry · calcium atom
    L2

    Linked update

    Alters an element together with directly linked ones — a value, its visual encoding and the summary readout.

    “Record one more night delivery that took 18 minutes.”Charts · delivery histogram
    L3

    Rule or structure change

    Alters a governing rule, threshold or structural relation, so later states must be re-derived over time.

    “Make the rightmost gear slide out of mesh while the gears turn, then slide back.”Physics · three-gear chain

    One source video, three edits — drag the divider

    SourceReference · L1
    ← source · reference →
    § 04 The dataset

    Dataset Statistics.

    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.

    Source videos per domain

    Coloured by program family and renderer.

    SVG animationHTML / JavaScriptPython
    § 05 How we score

    Evaluation.

    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.

    Direct

    Did the named change happen — at the right moment?

    Verifies the explicitly requested object, attribute or state change at the specified time.

    Three-gear chain, L3: the rightmost gear slides out of mesh, then back in.

    Derived

    Did the unstated consequences follow?

    Verifies that rule-governed effects nobody spelled out propagate consistently over time.

    Same task: the detached gear’s pointer halts while out of mesh, then resumes — opposite to the middle gear.

    Invariant

    Did everything else stay put?

    Verifies that unrelated objects, layouts, styles and motion patterns are not disturbed.

    Same task: the two independent gears keep their teeth, colours and rotation.

    Fidelity

    Preservation of the source outside the edit region, weighted towards lines, text and edges.

    Smoothness

    Motion dynamics against the reference: freezes, bursts, flicker, pacing and duration.

    GT improvement

    Share of the source→reference gap closed inside the edit region: 0 = unchanged, 100 = reference.

    § 06 Leaderboard

    Results and Findings.

    Click any column to re-rank. Semantic, pixel and per-level columns are Completed-only, as in the paper.

    aRank reshuffle across levels

    Composite score (Completed-only) and rank at each level. Hover a line.

    bWhere the points go

    Mean over agents for each measure at L1, L2 and L3; label is the L3 − L2 change.

    L1L2L3

    cThe Derived gap, per agent

    Direct vs Derived score for each agent. The bar between them is the part of the edit that was stated but not followed through.

    DirectDerived

    dDomain profile

    Auto-zero composite per domain; axis labels give the mean over agents. Toggle agents below.

    eLevel trend per domain

    Completed-only composite averaged over agents; label is the L3 − L1 change.

    fWho leads where

    Best agent and its Completed-only composite for each domain and level. No single agent dominates.

    gFull breakdown

    Completed-only composite by agent, domain and level. Dot area and colour encode the score; hover for details.

    § 07 Arena

    Gallery Illustration.

    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.

    Level
    Domain
    Scene
    0%
    Direct criteriaDerivedInvarianteach dot fills with the judge’s 0–4 rating
    Score = task composite (0–100). Videos are aligned by relative time, as the pixel metrics are.
    § 09 Failure gallery

    Failures.

    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.

    § 08 Citation

    Citation.

    @inproceedings{yao2027veditbench, title = {VEDIT-Bench: A Unified Benchmark for Evaluating Coding Agents on Programmatic Video Editing from Undescribed Instructions}, author = {Yao, Haoyu and Lin, Chenguo and Xiang, Yike and Du, Ruize and Ran, Fengyuan and Hu, Qingmiao and Duan, Xuesong and Mu, Yadong}, booktitle = {Arxiv}, year = {2027} }