SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2112.03227 · 2021

CALVIN: A Benchmark for Language-Conditioned Policy Learning for Long-Horizon Robot Manipulation Tasks

arXiv · PDF · Open in the Atlas

Code that ran

6 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, 1 violated it and 0 have no contract verdict; 5 failures of our instrument; 4 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2112.03227.json · badge: /api/ran/2112.03227.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
mees/calvin canonical (classifier label)
classifier basis not recorded on the link
6 ran · 4 no recorded run
FunctionStatusWhere it lives
check_condition Ran
ran, violated the contract we drafted
mees/calvin/calvin_models/calvin_agent/evaluation/multistep_sequences.py
code served (permissive licence) · get_code("907517ed3b614cc8")
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 bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - check_condition takes two parameters: state and condition
# - state is accessed with dictionary key lookup: state[k]
# - condition is iterated with .items(), and values can be str, int, or list
# - The function checks equality for str/int values and membership for lists

# Construct state dict with various keys that will be tested
state = {
    "mode": "train",
    "epoch": 5,
    "loss_type": "mse",
    "allowed_values": 10
}

# Construct condition dict with different value types
condition = {
    "mode": "train",  # str - should match
    "epoch": 5,       # int - should match
    "loss_type": ["mse", "mae", "l1"],  # list - value should be in list
    "allowed_values": [10, 20, 30]  # list - value should be in list
}

ARGS = {
    "state": state,
    "condition": condition
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
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
count_success Ran
ran; our contract draft was wrong, not the code
mees/calvin/calvin_models/calvin_agent/evaluation/utils.py
code served (permissive licence) · get_code("91e0e52c98282d15")
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.

from collections import Counter

torch_seed = 0
import torch
torch.manual_seed(torch_seed)

# Analyze the function:
# - count_success takes 'results' parameter
# - results is used with Counter(results) - so it needs to be iterable
# - the counter is indexed with integers from range(i, 6) where i goes from 1 to 5
# - so results should contain integers in range 0-5
# - len(results) is called, so it needs __len__
# - the function loops through results to count successes at different steps

# Create a valid results list with integers representing success counts at different steps
# Values should be in range 0-5 to match the logic in the loop
results = [1, 2, 3, 4, 5, 2, 3, 4, 5, 1]

ARGS = {
    "results": results
}
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 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
load_npz Ran
ran; our contract draft was wrong, not the code
mees/calvin/calvin_models/calvin_agent/datasets/disk_dataset.py
code served (permissive licence) · get_code("c0de2c3f2828b5a3")
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 NpzFile. 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
from pathlib import Path
import numpy as np

# Create a temporary .npz file with sample data
temp_dir = tempfile.TemporaryDirectory()
temp_path = Path(temp_dir.name) / "test_data.npz"

# Create sample numpy arrays and save to npz
sample_data = {
    "array1": np.random.randn(2, 4),
    "array2": np.random.randn(3, 5),
    "array3": np.arange(10)
}
np.savez(temp_path, **sample_data)

ARGS = {
    "filename": temp_path
}
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 NpzFile — a NpzFile output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a NpzFile output the recorded ndim 1 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_pkl Ran
ran; our contract draft was wrong, not the code
mees/calvin/calvin_models/calvin_agent/datasets/disk_dataset.py
code served (permissive licence) · get_code("3ffdb6fe27bf366d")
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 pickle
import tempfile
from pathlib import Path
import numpy as np

# Create a temporary pickle file with sample data
sample_data = {
    'array1': np.array([1, 2, 3, 4]),
    'array2': np.array([[1.0, 2.0], [3.0, 4.0]]),
    'array3': np.random.randn(3, 4, 5)
}

with tempfile.NamedTemporaryFile(mode='wb', delete=False, suffix='.pkl') as f:
    temp_path = Path(f.name)
    pickle.dump(sample_data, f)

ARGS = {
    'filename': temp_path
}
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 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
update_state Ran
ran; our contract draft was wrong, not the code
mees/calvin/calvin_models/calvin_agent/evaluation/multistep_sequences.py
code served (permissive licence) · get_code("916d58d0838c488b")
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
from copy import deepcopy

torch.manual_seed(0)

# Construct valid arguments for update_state function
# The function takes a state dict and an effect dict, and updates the state with effect values

state = {
    'position': torch.tensor([1.0, 2.0, 3.0, 4.0]),
    'velocity': torch.tensor([0.1, 0.2, 0.3, 0.4]),
    'count': 42,
    'name': 'initial_state'
}

effect = {
    'position': torch.tensor([5.0, 6.0, 7.0, 8.0]),
    'count': 100
}

ARGS = {
    'state': state,
    'effect': effect
}
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
valid_task Ran
ran; our contract draft was wrong, not the code
mees/calvin/calvin_models/calvin_agent/evaluation/multistep_sequences.py
code served (permissive licence) · get_code("5879a63c0a8f823e")
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 torch
from copy import deepcopy

torch.manual_seed(0)

# Construct arguments for valid_task function
curr_state = {
    "status": "idle",
    "count": 5,
    "mode": "normal"
}

task = [
    {
        "condition": {"status": "idle"},
        "effect": {"status": "running"}
    },
    {
        "condition": {"count": [4, 5, 6]},
        "effect": {"count": 10}
    },
    {
        "condition": {"mode": "normal", "status": "idle"},
        "effect": {"mode": "advanced", "status": "processing"}
    },
    {
        "condition": {"status": "running"},
        "effect": {"status": "done"}
    }
]

ARGS = {
    "curr_state": curr_state,
    "task": task
}
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 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
get_epoch Not yet run
unverified (harvested, no recorded run)
mees/calvin/calvin_models/calvin_agent/evaluation/evaluate_policy.py
code served (permissive licence) · get_code("256f624439688a69")
How it ran

no invocation recorded.

get_log_dir Not yet run
unverified (harvested, no recorded run)
mees/calvin/calvin_models/calvin_agent/evaluation/utils.py
code served (permissive licence) · get_code("d85175948c443563")
How it ran

no invocation recorded.

setup_callbacks Not yet run
unverified (harvested, no recorded run)
mees/calvin/calvin_models/calvin_agent/training.py
code served (permissive licence) · get_code("8ab9acda1d0ae3ee")
How it ran

no invocation recorded.

setup_logger Not yet run
unverified (harvested, no recorded run)
mees/calvin/calvin_models/calvin_agent/training.py
code served (permissive licence) · get_code("c31080cd83cde26e")
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, 8 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 8 later) and 2 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
setup_callbacks 3 other papers
3 later
2204.06252 (2022-04)
What Matters in Language Conditioned Robotic Imitation Learning over Unstructured Data
2210.01911 (2022-10)
Grounding Language with Visual Affordances over Unstructured Data
2407.05996 (2024-07)
Multimodal Diffusion Transformer: Learning Versatile Behavior from Multimodal Goals
count_success 2 other papers
2 later
2407.05996 (2024-07)
Multimodal Diffusion Transformer: Learning Versatile Behavior from Multimodal Goals
2408.14368 (2024-08)
GR-MG: Leveraging Partially Annotated Data via Multi-Modal Goal-Conditioned Policy
load_npz 2 other papers
2 later
2407.05996 (2024-07)
Multimodal Diffusion Transformer: Learning Versatile Behavior from Multimodal Goals
2412.12953 (2024-12)
Efficient Diffusion Transformer Policies with Mixture of Expert Denoisers for Multitask Learning
load_pkl 2 other papers
2 later
2407.05996 (2024-07)
Multimodal Diffusion Transformer: Learning Versatile Behavior from Multimodal Goals
2412.12953 (2024-12)
Efficient Diffusion Transformer Policies with Mixture of Expert Denoisers for Multitask Learning
check_condition 1 other paper
1 later
2407.05996 (2024-07)
Multimodal Diffusion Transformer: Learning Versatile Behavior from Multimodal Goals
get_epoch 1 other paper
1 later
2204.06252 (2022-04)
What Matters in Language Conditioned Robotic Imitation Learning over Unstructured Data
update_state 1 other paper
1 later
2407.05996 (2024-07)
Multimodal Diffusion Transformer: Learning Versatile Behavior from Multimodal Goals
valid_task 1 other paper
1 later
2407.05996 (2024-07)
Multimodal Diffusion Transformer: Learning Versatile Behavior from Multimodal Goals

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

General-purpose robots coexisting with humans in their environment must learn to relate human language to their perceptions and actions to be useful in a range of daily tasks. Moreover, they need to acquire a diverse repertoire of general-purpose skills that allow composing long-horizon tasks by following unconstrained language instructions. In this paper, we present CALVIN (Composing Actions from Language and Vision), an open-source simulated benchmark to learn long-horizon language-conditioned tasks. Our aim is to make it possible to develop agents that can solve many robotic manipulation tasks over a long horizon, from onboard sensors, and specified only via human language. CALVIN tasks are more complex in terms of sequence length, action space, and language than existing vision-and-language task datasets and supports flexible specification of sensor suites. We evaluate the agents in zero-shot to novel language instructions and to novel environments and objects. We show that a baseline model based on multi-context imitation learning performs poorly on CALVIN, suggesting that there is significant room for developing innovative agents that learn to relate human language to their world models with this benchmark.

For agents

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

get_harvested_code_for_paper("2112.03227")
get_code_for_paper("2112.03227")
have("2112.03227")

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

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

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

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

Connect an agent — have() is free.