SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.05996 · 2024

Multimodal Diffusion Transformer: Learning Versatile Behavior from Multimodal Goals

arXiv · PDF · Open in the Atlas

Code that ran

15 of 17 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; 2 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 11 failures of our instrument; 2 no recorded run), measured 2026-11-22; 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/2407.05996.json · badge: /api/ran/2407.05996.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
intuitive-robots/mdt_policy canonical (classifier label)
classifier basis: census
15 ran · 2 no recorded run
FunctionStatusWhere it lives
append_zero Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
intuitive-robots/mdt_policy/mdt/models/edm_diffusion/gc_sampling.py
pointer only (licence: MIT); the stored copy get_code serves, from tianyucodings/cdiff, is pointer only (licence: NONE) · get_code("43f2167b019a5fb7")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from tianyucodings/cdiff, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

check_condition Ran
ran, violated the contract we drafted
intuitive-robots/mdt_policy/mdt/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
intuitive-robots/mdt_policy/mdt/evaluation/mdt_evaluate.py
code served (permissive licence) · get_code("924cae6f210421b2")
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
import numpy as np
from collections import Counter, defaultdict

# Analyze the function to understand what it expects
# count_success takes 'results' parameter
# The function uses Counter(results) to count occurrences
# It iterates through range(1, 6) - so results should contain values 1-5
# It sums counts for reversed ranges and divides by len(results)
# So results should be a list/iterable of integers from 1 to 5

# Create sample results data
results = [1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 1, 2]

ARGS = {
    "results": results
}
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 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_checkpoint_i_from_dir Ran
ran; our contract draft was wrong, not the code
intuitive-robots/mdt_policy/mdt/evaluation/utils.py
code served (permissive licence) · get_code("84f14e237dee0362")
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 PosixPath. 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

# Create a temporary directory with mock checkpoint files
temp_dir = tempfile.TemporaryDirectory()
dir_path = Path(temp_dir.name)

# Create some mock checkpoint files with different naming patterns
(dir_path / "model_epoch_0_checkpoint.ckpt").touch()
(dir_path / "model_epoch_5_checkpoint.ckpt").touch()
(dir_path / "model_epoch_10_checkpoint.ckpt").touch()
(dir_path / "last.ckpt").touch()

ARGS = {
    "dir": dir_path,
    "i": -1
}
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 PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath 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
get_log_dir Ran
ran; our contract draft was wrong, not the code
intuitive-robots/mdt_policy/mdt/evaluation/mdt_evaluate.py
code served (permissive licence) · get_code("e2bd842daf595f33")
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 PosixPath. 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 os
from pathlib import Path
import tempfile

# Create a temporary directory to use as log_dir
temp_dir = tempfile.mkdtemp()

ARGS = {
    'log_dir': temp_dir
}
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 PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath 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
get_sigmas_exponential Ran
ran, honoured the contract we drafted
intuitive-robots/mdt_policy/mdt/models/edm_diffusion/gc_sampling.py
code served (permissive licence) · get_code("205e97641ece09f8")
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 Tensor, ndim 1, dtype family float, shape (11,) 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 math

torch.manual_seed(0)

ARGS = {
    'n': 10,
    'sigma_min': 0.002,
    'sigma_max': 80.0,
    'device': 'cpu'
}
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 Tensor, ndim 1, dtype family float, shape (11,) — shape (11,) 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
get_sigmas_karras Ran
ran, honoured the contract we drafted
intuitive-robots/mdt_policy/mdt/models/edm_diffusion/gc_sampling.py
code served (permissive licence) · get_code("a3ae2e8a897b4d99")
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 Tensor, ndim 1, dtype family float, shape (6,) 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

torch.manual_seed(0)

ARGS = {
    "n": 5,
    "sigma_min": 0.1,
    "sigma_max": 10.0,
    "rho": 7.0,
    "device": "cpu"
}
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 Tensor, ndim 1, dtype family float, shape (6,) — shape (6,) 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
get_video_tag Ran
ran; our contract draft was wrong, not the code
intuitive-robots/mdt_policy/mdt/evaluation/mdt_evaluate.py
code served (permissive licence) · get_code("bc8ceb8ab2fa1d19")
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 torch
import torch.nn as nn

torch.manual_seed(0)

# The function get_video_tag takes parameter 'i' which should be an integer
# It uses i in arithmetic operations (i * dist.get_world_size() + dist.get_rank())
# and formats it into a string
# Since torch.distributed is not initialized in a single-process environment,
# the function will use the else path and just format i directly

ARGS = {
    "i": 42
}
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 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
is_multi_gpu_training Ran
ran, violated the contract we drafted
intuitive-robots/mdt_policy/mdt/training.py
code served (permissive licence) · get_code("6cd960334bdf5b85")
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.

from omegaconf import DictConfig, ListConfig, OmegaConf

# Test case 1: int with value > 1 (multi-gpu)
args_1 = 2

# Test case 2: int with value -1 (all gpus, multi-gpu)
args_2 = -1

# Test case 3: int with value 1 (single gpu)
args_3 = 1

# Test case 4: str with length > 1 (multi-gpu)
args_4 = "0,1"

# Test case 5: str with length 1 (single gpu)
args_5 = "0"

# Test case 6: ListConfig with > 1 elements (multi-gpu)
args_6 = OmegaConf.create([0, 1])

# Test case 7: ListConfig with 1 element (single gpu)
args_7 = OmegaConf.create([0])

# Use the multi-gpu case as primary example
ARGS = {
    "gpus": 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
omegaconf — 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
load_class Ran
ran; our contract draft was wrong, not the code
intuitive-robots/mdt_policy/mdt/evaluation/utils.py
code served (permissive licence) · get_code("30fcb27ec8c091af")
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 type. 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 importlib
import torch
import torch.nn as nn

torch.manual_seed(0)

# The function load_class takes a 'name' parameter which is a string
# in the format "module_name.ClassName"
# It uses rsplit to split on the last dot, then imports the module
# and gets the class attribute from it

# We'll create a simple test case:
# 1. Create a small module with a test class
# 2. Pass the fully qualified name to load_class

# Create a simple test class in a module
class SimpleTestClass:
    def __init__(self):
        self.value = 42

# We need to pass a valid dotted name that can be imported
# We'll use a built-in module and class that definitely exist
# For example: 'torch.nn.Linear' or 'collections.OrderedDict'

ARGS = {
    "name": "torch.nn.Linear"
}
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 type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type 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_npz Ran
ran; our contract draft was wrong, not the code
intuitive-robots/mdt_policy/mdt/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
intuitive-robots/mdt_policy/mdt/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
setup_logger Ran
ran; our contract draft was wrong, not the code
intuitive-robots/mdt_policy/mdt/training.py
code served (permissive licence) · get_code("08c8831b3905ef52")
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 TensorBoardLogger. 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
import torch.nn as nn
from omegaconf import DictConfig, OmegaConf
from pytorch_lightning import LightningModule
from pathlib import Path
from unittest.mock import MagicMock

torch.manual_seed(0)

class MinimalLightningModule(LightningModule):
    def __init__(self):
        super().__init__()
        self.layer = nn.Linear(4, 2)
    
    def forward(self, x):
        return self.layer(x)
    
    def training_step(self, batch, batch_idx):
        x, y = batch
        logits = self(x)
        loss = nn.functional.mse_loss(logits, y)
        return loss
    
    def configure_optimizers(self):
        return torch.optim.SGD(self.parameters(), lr=0.01)

model = MinimalLightningModule()

cfg_dict = {
    'logger': {
        'group': 'test_group',
        'name': 'test_logger',
        'id': 'test_id',
        '_target_': 'pytorch_lightning.loggers.TensorBoardLogger',
        'save_dir': '/tmp',
        'name': 'test_experiment',
        'version': '0'
    }
}

cfg = OmegaConf.create(cfg_dict)

ARGS = {
    'cfg': cfg,
    'model': model
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
hydra, omegaconf, pytorch_lightning, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TensorBoardLogger — a TensorBoardLogger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a TensorBoardLogger 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
intuitive-robots/mdt_policy/mdt/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
intuitive-robots/mdt_policy/mdt/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
load_evaluation_checkpoint Not yet run
unverified (harvested, no recorded run)
intuitive-robots/mdt_policy/mdt/evaluation/utils.py
code served (permissive licence) · get_code("3e9e61cbcea37bd0")
How it ran

no invocation recorded.

setup_callbacks Not yet run
unverified (harvested, no recorded run)
intuitive-robots/mdt_policy/mdt/training.py
code served (permissive licence) · get_code("8ab9acda1d0ae3ee")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 11 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 0 the same month, 6 later) and 6 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
append_zero 3 other papers
1 dated earlier, 2 later
2405.19690 (2024-05)
Diffusion Policies Creating a Trust Region for Offline Reinforcement Learning
2410.19105 (2024-10)
Conditional diffusions for amortized neural posterior estimation
2412.12953 (2024-12)
Efficient Diffusion Transformer Policies with Mixture of Expert Denoisers for Multitask Learning
setup_callbacks 3 other papers
3 dated earlier
2112.03227 (2021-12)
CALVIN: A Benchmark for Language-Conditioned Policy Learning for Long-Horizon Robot Manipulation Tasks
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
count_success 2 other papers
1 dated earlier, 1 later
2112.03227 (2021-12)
CALVIN: A Benchmark for Language-Conditioned Policy Learning for Long-Horizon Robot Manipulation Tasks
2408.14368 (2024-08)
GR-MG: Leveraging Partially Annotated Data via Multi-Modal Goal-Conditioned Policy
get_sigmas_exponential 2 other papers
1 dated earlier, 1 later
2402.11846 (2024-02)
UnlearnCanvas: Stylized Image Dataset for Enhanced Machine Unlearning Evaluation in Diffusion Models
2412.12953 (2024-12)
Efficient Diffusion Transformer Policies with Mixture of Expert Denoisers for Multitask Learning
get_sigmas_karras 2 other papers
1 dated earlier, 1 later
2402.11846 (2024-02)
UnlearnCanvas: Stylized Image Dataset for Enhanced Machine Unlearning Evaluation in Diffusion Models
2412.12953 (2024-12)
Efficient Diffusion Transformer Policies with Mixture of Expert Denoisers for Multitask Learning
is_multi_gpu_training 2 other papers
2 dated earlier
2210.01911 (2022-10)
Grounding Language with Visual Affordances over Unstructured Data
2307.11949 (2023-07)
HIQL: Offline Goal-Conditioned RL with Latent States as Actions
load_npz 2 other papers
1 dated earlier, 1 later
2112.03227 (2021-12)
CALVIN: A Benchmark for Language-Conditioned Policy Learning for Long-Horizon Robot Manipulation Tasks
2412.12953 (2024-12)
Efficient Diffusion Transformer Policies with Mixture of Expert Denoisers for Multitask Learning
load_pkl 2 other papers
1 dated earlier, 1 later
2112.03227 (2021-12)
CALVIN: A Benchmark for Language-Conditioned Policy Learning for Long-Horizon Robot Manipulation Tasks
2412.12953 (2024-12)
Efficient Diffusion Transformer Policies with Mixture of Expert Denoisers for Multitask Learning
check_condition 1 other paper
1 dated earlier
2112.03227 (2021-12)
CALVIN: A Benchmark for Language-Conditioned Policy Learning for Long-Horizon Robot Manipulation Tasks
update_state 1 other paper
1 dated earlier
2112.03227 (2021-12)
CALVIN: A Benchmark for Language-Conditioned Policy Learning for Long-Horizon Robot Manipulation Tasks
valid_task 1 other paper
1 dated earlier
2112.03227 (2021-12)
CALVIN: A Benchmark for Language-Conditioned Policy Learning for Long-Horizon Robot Manipulation Tasks

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-22.

Repositories linked to this paper

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

Abstract

This work introduces the Multimodal Diffusion Transformer (MDT), a novel diffusion policy framework, that excels at learning versatile behavior from multimodal goal specifications with few language annotations. MDT leverages a diffusion-based multimodal transformer backbone and two self-supervised auxiliary objectives to master long-horizon manipulation tasks based on multimodal goals. The vast majority of imitation learning methods only learn from individual goal modalities, e.g. either language or goal images. However, existing large-scale imitation learning datasets are only partially labeled with language annotations, which prohibits current methods from learning language conditioned behavior from these datasets. MDT addresses this challenge by introducing a latent goal-conditioned state representation that is simultaneously trained on multimodal goal instructions. This state representation aligns image and language based goal embeddings and encodes sufficient information to predict future states. The representation is trained via two self-supervised auxiliary objectives, enhancing the performance of the presented transformer backbone. MDT shows exceptional performance on 164 tasks provided by the challenging CALVIN and LIBERO benchmarks, including a LIBERO version that contains less than $2\%$ language annotations. Furthermore, MDT establishes a new record on the CALVIN manipulation challenge, demonstrating an absolute performance improvement of $15\%$ over prior state-of-the-art methods that require large-scale pretraining and contain $10\times$ more learnable parameters. MDT shows its ability to solve long-horizon manipulation from sparsely annotated data in both simulated and real-world environments. Demonstrations and Code are available at https://intuitive-robots.github.io/mdt_policy/.

For agents

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

get_harvested_code_for_paper("2407.05996")
get_code_for_paper("2407.05996")
have("2407.05996")

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

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

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

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

Connect an agent — have() is free.