SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.21625 · 2026

FLAT-PACK BENCH: Evaluating Spatio-Temporal Understanding in Large Vision-Language Models through Furniture Assembly

U Berkeley, Bharath Hariharan, Noah Snavely, Qianqian Wang, Utkarsh Mall, Aditya Chetan, Eric Cai, Peeyush Kushwaha, Bharath Raj, Nagoor Kani

arXiv · PDF

Code that ran

7 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 3 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2605.21625.json · badge: /api/ran/2605.21625.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
justachetan/flat-pack-bench canonical (classifier label)
classifier basis: census
7 ran · 3 no recorded run
FunctionStatusWhere it lives
hierarchical_bootstrap_video_only Ran
ran; our contract draft was wrong, not the code
justachetan/flat-pack-bench/src/eval/tabulate_results.py
code served (permissive licence) · get_code("e65a02da3772dafb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create small test data for hierarchical bootstrap
# We need: video_id, human_correct, model_correct

# Create data with 3 videos, 4 questions each = 12 total samples
video_id = np.array([0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2], dtype=np.int64)
human_correct = np.array([1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0], dtype=np.int64)
model_correct = np.array([1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0], dtype=np.int64)

ARGS = {
    "video_id": video_id,
    "human_correct": human_correct,
    "model_correct": model_correct,
    "n_videos_sample": 2,
    "bootstrap_iters": 100,
    "seed": 42,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
identity_post_process Ran
ran; our contract draft was wrong, not the code
justachetan/flat-pack-bench/src/eval/evaluate.py
code served (permissive licence) · get_code("d48ae27bc618f675")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

ARGS = {
    "response": {"key": "value", "data": [1, 2, 3]}
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
infer_mime Ran
ran; our contract draft was wrong, not the code
justachetan/flat-pack-bench/src/tva/render_logs.py
code served (permissive licence) · get_code("c5546ca0fdd844f1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import mimetypes
from pathlib import Path

# Test case 1: declared mime type provided (should return declared)
file_path_1 = "test.py"
declared_1 = "application/custom"

# Test case 2: file_path with recognized mime type
file_path_2 = "document.pdf"
declared_2 = None

# Test case 3: file_path with text fallback suffix
file_path_3 = "script.py"
declared_3 = None

# Test case 4: file_path with yaml suffix (text fallback)
file_path_4 = "config.yaml"
declared_4 = None

# Test case 5: no file_path provided
file_path_5 = None
declared_5 = None

# Test case 6: file_path with unknown suffix and no declared mime
file_path_6 = "unknown.xyz"
declared_6 = None

# Primary test case: file_path with .md (text fallback) and no declared mime
ARGS = {
    "file_path": "readme.md",
    "declared": None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_events Ran
ran; our contract draft was wrong, not the code
justachetan/flat-pack-bench/src/tva/render_logs.py
code served (permissive licence) · get_code("e4daf562577d6d35")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
from pathlib import Path
from tempfile import TemporaryDirectory
from unittest.mock import Mock

# Create a minimal RenderContext mock
class RenderContext:
    def prepare_asset(self, file_path):
        if file_path:
            return f"assets/{Path(file_path).name}", None
        return None, None

# Create a temporary directory and log file with valid JSON lines
temp_dir = TemporaryDirectory()
temp_path = Path(temp_dir.name)
log_file = temp_path / "test.log"

# Write sample JSON lines to the log file
log_entries = [
    {
        "record": {
            "time": {"repr": "2024-01-01 10:00:00"},
            "function": "process",
            "message": "Starting process",
            "extra": {
                "stage": "train",
                "event": "init",
                "file_path": "model.py",
                "mime": None,
                "meta": {"version": 1}
            }
        },
        "text": "2024-01-01 10:00:00 | Starting process"
    },
    {
        "record": {
            "time": {"repr": "2024-01-01 10:00:01"},
            "function": "checkpoint",
            "message": "Saved checkpoint",
            "extra": {
                "stage": "eval",
                "event": "save",
                "file_path": "checkpoint.json",
                "mime": "application/json",
                "meta": {"step": 100}
            }
        },
        "text": "2024-01-01 10:00:01 | Saved checkpoint"
    },
    {
        "record": {
            "message": "No extra data",
            "extra": {}
        },
        "text": "2024-01-01 10:00:02 | No extra"
    }
]

with log_file.open('w', encoding='utf-8') as fh:
    for entry in log_entries:
        fh.write(json.dumps(entry) + '\n')

# Create RenderContext instance
ctx = RenderContext()

ARGS = {
    "log_path": log_file,
    "ctx": ctx
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
post_process_response Ran
ran; our contract draft was wrong, not the code
justachetan/flat-pack-bench/src/eval/models/aria.py
code served (permissive licence) · get_code("a35daeb638210cc1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def post_process_response(response: str):
    pattern = re.compile('(?:`*json\\s*)*\\{\\s*(?:\\"explanation\\"\\s*:\\s*\\".*?\\"\\s*,\\s*)?\\"answer\\"\\s*:\\s*[\\"\\\']*([A-Z])[\\"\\\'\\.]*|^[\\"\\\']*([A-Z])[\\"\\\'\\.]*', re.MULTILINE)
    stripped_resp = response.strip()
    match = pattern.match(stripped_resp)
    if match:
        return match.group(1) or match.group(2)
    else:
        return ''

ARGS = {
    "response": '```json\n{"explanation": "The answer is clear", "answer": "A"}'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
run_all_questions Ran
ran; our contract draft was wrong, not the code
justachetan/flat-pack-bench/src/tva/agent.py
code served (permissive licence) · get_code("e58b8265b30b9e1b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os
from pathlib import Path

# Create a temporary directory with some .yaml files for testing
temp_dir = tempfile.mkdtemp()
yaml_dir = Path(temp_dir)

# Create a few dummy .yaml files
(yaml_dir / "question1.yaml").write_text("test: 1")
(yaml_dir / "question2.yaml").write_text("test: 2")
(yaml_dir / "question3.yaml").write_text("test: 3")

ARGS = {
    "question_dir": str(yaml_dir),
    "base_cli_args": None,
    "max_workers": 2,
    "fail_fast": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
slugify Ran
ran; our contract draft was wrong, not the code
justachetan/flat-pack-bench/src/tva/render_logs.py
code served (permissive licence) · get_code("1e3dbbbcbeeedd85")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def slugify(name: str, existing: dict[str, str]) -> str:
    base = re.sub('\\W+', '_', name.strip() or 'unknown').strip('_')
    if not base:
        base = 'stage'
    if base[0].isdigit():
        base = f'_{base}'
    candidate = base
    counter = 2
    while candidate in existing.values():
        candidate = f'{base}_{counter}'
        counter += 1
    return candidate


ARGS = {
    "name": "My Stage-1",
    "existing": {"key1": "my_stage", "key2": "other_name"}
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
evaluate Not yet run
unverified (harvested, no recorded run)
justachetan/flat-pack-bench/src/tva/tva_judge.py
code served (permissive licence) · get_code("5179e1f01539c74e")
How it ran

no invocation recorded.

read_video_pyav Not yet run
unverified (harvested, no recorded run)
justachetan/flat-pack-bench/src/eval/models/base_model.py
code served (permissive licence) · get_code("d1874206317a9fbb")
How it ran

no invocation recorded.

resolve_response_schema Not yet run
unverified (harvested, no recorded run)
justachetan/flat-pack-bench/src/eval/models/gemini.py
code served (permissive licence) · get_code("2fe0bfd180ec4a21")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 9 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
read_video_pyav 1 other paper
1 dated earlier
2412.06660 (2024-12)
MuMu-LLaMA: Multi-modal Music Understanding and Generation via Large Language Models

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The emergence of Large Vision-Language Models (LVLMs) has significantly advanced video understanding capabilities. However, existing benchmarks focus predominantly on coarse-grained tasks such as action segmentation, classification, captioning, and retrieval. Furthermore, these benchmarks often rely on entities that can be easily identified verbally, like household objects, animals, human subjects, etc., limiting their applicability to complex, in-the-wild video scenarios. But, many applications such as furniture assembly, cooking, etc., require step-by-step fine-grained spatiotemporal understanding of the video, which is not sufficiently evaluated in current benchmarks. To address this gap, we introduce FLAT-PACK BENCH, a novel benchmark centered on furniture assembly tasks. Our benchmark evaluates LVLMs on nuanced tasks, including temporal ordering of assembly actions, temporal localization of assembly state, understanding part mating, and tracking, using multiple-choice questions paired with visual prompts highlighting relevant parts as references for fine-grained questions. Our experiments reveal that state-of-the-art LVLMs struggle significantly with fine-grained spatio-temporal reasoning, highlighting their limitations in effectively leveraging temporal information from videos, limited tracking ability, and understanding of spatial interactions like physical contact.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2605.21625")
get_code_for_paper("2605.21625")
have("2605.21625")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2605.21625.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2605.21625.svg)](https://syntology.ai/paper/2605.21625)

Connect an agent — have() is free.