Causal Code-to-Timeline Dependency Tracking for Video Regression Verification
Track code-to-frame dependencies using static and dynamic dataflow analysis to automatically trigger regression re-renders on every timeline beat affected by modified helper functions.
Time
Compute level
Resources
What the paper used
Prerequisites
Scope
The Gap
Section 5 discusses causal validation limitations where compare_media operates purely as an observational before-and-after comparison on user-specified excerpts, lacking awareness of shared code dependencies that span across different scene beats.
“This is an observation and not a causal proof over program branches: an edit to a shared animation helper can affect beats that were never inspected if the agent skips neighbor checks.”
Limitation
Code edits made to shared helper utilities (such as layout engines or animation easings) propagate side effects to uninspected timeline intervals, allowing unseen visual and temporal regressions to bypass delivery validation.
Proposed Solution
Build a static dependency graph mapping functions and variables in the rendering code to output timeline intervals. When an edit is applied to fix a defect at beat t, perform program slicing to identify all other temporal segments that invoke the modified statements. Automatically enqueue targeted inspect_segment checks for these dependent intervals before permitting final submission.
Why This Matters
Establishing causal certainty over program modifications would prevent silent regressions across multi-shot sequences without demanding full-length high-framerate re-inspections.
How to Get Started
How to test it: Inject synthetic regressions into shared animation utilities across 20 multi-shot tasks in VibeVideoBench. Test whether dependency-aware verification detects secondary regressions compared to baseline VibeVideoAgent, using regression detection rate as the primary metric. Stop if the dependency graph produces over 50% false-positive interval flags.
- Instrument Python rendering scripts in Cairo and Manim to log execution traces paired with video frame numbers.
- Construct a lightweight dependency mapper that outputs affected time windows given a code diff.
- Integrate the mapper with the VibeVideoAgent MCP server to automatically inject dependent intervals into the workflow_checks ledger.
- Evaluate regression capture on multi-shot tasks like W0448.
Code linked to this paper on Hugging Face: github.com/Kling-Keye/VibeVideoAgent
Suggested by AI. Adapt it to your setup.
Has This Been Done?
While general program slicing and causal modeling are discussed in classical work and broader surveys like A program slicing method for a wide spectrum language and A survey of deep causal models and their industrial applications, none of the listed papers combine code-to-timeline dependency tracking for video regression verification.
- A program slicing method for a wide spectrum language · 1992 · 0 citations
- A survey of deep causal models and their industrial applications · 2024 · 50 citations
We searched OpenAlex and arXiv for “program slicing dependency tracking regression testing video code” and “Causal Code-to-Timeline Dependency Tracking for Video Regression Verification” and an AI compared the idea with the top 10 results. A small search can miss relevant work.
Source Paper
VibeVideoAgent: Closing the Perceptual Loop for Code-Driven Video GenerationXuanyu Zheng, Luoyuan Zhang, Yancheng Long +6 more · 2026
This paper presents VibeVideoAgent, a training-free framework that enables code-driven video generation agents to inspect and iteratively repair their rendered outputs. By decoupling dense audiovisual perception into ephemeral worker calls and deterministic signal probes, it provides structured, grounded findings without bloating the coding agent's long-horizon context. Across 239 VibeVideoBench tasks, the method improves holistic audiovisual quality and timing synchronization across multiple frontier coding models.
Related Ideas
- Shot-Segmented Hierarchical Memory for Long-Form Multi-Cut VideosWeVisForensics: Self-Evolving Agent for Omni AI-Generated Video Detection🟠Medium
- Constraint-Enforced Cinematography Primitives and Asset Auditing for Long-Tail RequestsVibePrevisBench: Evaluating Agentic Coding for 4D Scene Generation in Blender🟡Fairly easy
- Causal Streaming Audio-Visual Encoding and Cross-Modal Temporal Co-AdaptationWeMM-Video: Pushing the Frontiers of Open-Source Omni-Modal Video Understanding🔴Hard
- Unsupervised Post-Deployment Evolution via Cross-Modal ConsensusWeVisForensics: Self-Evolving Agent for Omni AI-Generated Video Detection🟠Medium
- Duration-Conditioned and Shot-Triggered Rolling-Window Pretraining with Finer Chunk GranularityMovieRoll: A Systematic Framework for Rolling Out Long-Form Videos🔴Hard