feat(benchmark): add replayable video relation evals - #2989
Open
fengweit wants to merge 18 commits into
Open
Conversation
fengweit
requested review from
leshy,
mustafab0,
paul-nechifor and
spomichter
as code owners
July 16, 2026 00:36
Contributor
Greptile SummaryThis PR adds a replayable video-relation evaluation pipeline.
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (9): Last reviewed commit: "Merge branch 'main' into feat/replayable..." | Re-trigger Greptile |
This was referenced Jul 16, 2026
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1. This PR and proposed structure
This PR adds a replayable spatiotemporal video-relation evaluator with a strict public/private boundary:
Responsibilities are kept explicit:
Interviewer reproduction
From a PR checkout:
The script materializes LFS assets, installs dependencies, extracts YOLO-E weights, installs the prompt dependency when needed, runs pytest/Ruff/mypy, executes the real CPU demo, validates summary gates, and prints the evidence-viewer path.
After setup, the fast rerun is:
The reviewer path is: reproduce → inspect evidence → verify public/private separation → verify deterministic replay → understand limitations.
Scope and interpretation
This is an evaluator contribution, not a new visual-QA model.
not_model_quality.Reference-video defects are documented: the same robot changes tracker ID from
2to3, an oven/cabinet column is labeledrefrigerator, and the robot is missed in several sampled frames.Concrete generated examples and proof
The reference video produces real schema-v2 examples such as:
The committed reproduction script now verifies and prints representative examples. Its proof gates check:
visually_grounded=falseandnot_model_qualityThis proves the trusted reference candidate's explicit-input boundary and evaluator repeatability, not an OS sandbox or production model accuracy. Untrusted candidates require a container/worker with repository and oracle paths unmounted.
Evidence viewer UI
The evaluator now generates a self-contained monitor/inspection surface rather than a raw HTML table. It shows:
For the reference video the UI reports the precise, non-overclaimed result: relation-order eval ready; motion claim needs review. All 3/3 intervals are oracle-referenced and strictly ordered, but the robot label spans IDs
2and3and is detected in only 2/5 evidence frames.2. Further directions
The evaluator can become a quality-gated self-improvement data engine:
Proposed next components:
Automatically generated episodes may enter the challenge pool immediately, but not a trusted benchmark or training set without quality gates.
3. Production path
Productionization is proposed in stages:
Correctness and safety
extra="forbid"Verification
127 passed17source files)Real macOS CPU demo, repeated with byte-identical summaries:
07b7b99844b01badbbdecd65227144cdee7d7ef1e6d6671f2f022bc7498eaaf09a679fe7b1689d5d988f567c87c8be636b7e35d55079c377f58dda79a0e1948cVisual walkthrough
1. From video frames to relationships
The first evaluator deliberately uses simple, inspectable 2D image-coordinate relationships. Tracked boxes become spatial facts; the ordering of accepted facts becomes temporal before/after tests.
These are teacher pseudo-labels, not human ground truth or full 3D scene understanding.
2. Evidence-review UI
The generated review surface connects the pipeline, one concrete proof chain, honest motion-quality gates, and the sampled relation timeline. It keeps evidence gaps and teacher defects visible instead of converting them into stronger claims.