SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.11794 · 2024

DataComp-LM: In search of the next generation of training sets for language models

arXiv · PDF · Open in the Atlas

Code that ran

22 of 22 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 19 failures of our instrument; 0 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/2406.11794.json · badge: /api/ran/2406.11794.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
jieyuz2/taskmeanything canonical (classifier label)
classifier basis: census
21 ran · 0 no recorded run
mlfoundations/dclm canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
apply_aggregate_function Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jieyuz2/taskmeanything/tma/task_evaluator.py
code served (permissive licence) · get_code("ef81f64b47c432d5")
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 float64, ndim 0, 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
from typing import Callable

# Create sample data
x = np.array([1.0, 2.0, 3.0, 4.0, 5.0])

# Define a custom callable aggregate function
def custom_aggregate(arr):
    return np.median(arr)

# Test with string aggregate function
ARGS = {
    'x': x,
    'aggregate_func': 'mean'
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
build_transform Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/models/qa_model/imageqa_model.py
code served (permissive licence) · get_code("f0a261e12d1e7736")
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 Compose. 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 torchvision.transforms as T
from torchvision.transforms.functional import InterpolationMode
from PIL import Image
import numpy as np

torch.manual_seed(0)

ARGS = {
    "input_size": 224
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Compose — a Compose output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Compose 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
check_contain Ran
ran, honoured the contract we drafted
jieyuz2/taskmeanything/tma/models/qa_model/base_qa_model.py
code served (permissive licence) · get_code("9e298a923a6acaf4")
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 int, ndim 0, dtype family int, 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

torch.manual_seed(0)

# The function check_contain takes an 'answer' and 'options'
# It checks if each option is contained in the answer
# Returns the index of the single matching option, or -1 if not exactly one match

# answer should be a string or sequence
# options should be an iterable of strings or sequences

answer = "hello world"
options = ["world", "xyz", "abc"]

ARGS = {
    "answer": answer,
    "options": options
}
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 int, ndim 0, dtype family int, 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
concatenate_image Ran
ran, honoured the contract we drafted
jieyuz2/taskmeanything/tma/models/qa_model/videoqa_model.py
code served (permissive licence) · get_code("9c7133dda8992f2f")
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 Image. 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 numpy as np
from PIL import Image

# Create small test images with distinct dimensions
def create_test_image(width, height, color):
    """Helper to create a PIL Image with specified dimensions and color."""
    img = Image.new('RGB', (width, height), color=color)
    return img

# Create 4 images of different sizes (2x2 grid)
image1 = create_test_image(100, 80, color=(255, 0, 0))  # red
image2 = create_test_image(120, 90, color=(0, 255, 0))  # green
image3 = create_test_image(110, 85, color=(0, 0, 255))  # blue
image4 = create_test_image(105, 88, color=(255, 255, 0))  # yellow

images = [image1, image2, image3, image4]

ARGS = {
    'images': images,
    'rows': 2,
    'columns': 2,
    'separator_width': 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
constrained_combinations Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/imageqa/scene_graph/single_image_task.py
code served (permissive licence) · get_code("11e8b14d29d76dad")
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 ndarray, ndim 2, dtype family float, shape (8, 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 numpy as np

# Define parameters for constrained_combinations
n = 6  # total number of elements to choose from
k = 3  # number of elements to select in each combination

# constraints: list of tuples (i, j) meaning when i is not selected, 
# elements from i+1 to j should not be selected
constraints = [
    (0, 3),  # if element 0 not selected, don't select 1, 2
    (3, 5),  # if element 3 not selected, don't select 4
]

ARGS = {
    "n": n,
    "k": k,
    "constraints": constraints,
}
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 ndarray, ndim 2, dtype family float, shape (8, 6) — shape (8, 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
detailed_video2imageqa_prompt Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/models/qa_model/prompt.py
code served (permissive licence) · get_code("cfddc913f6b8830e")
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 numpy as np

torch.manual_seed(0)

# Analyze the function:
# - question: a string parameter
# - choices: a list parameter (default empty list)
# The function uses these to construct a prompt string
# No complex objects or models are needed

ARGS = {
    "question": "What is happening in this video?",
    "choices": ["running", "walking", "sitting"]
}
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 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
detailed_videoqa_prompt Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/models/qa_model/prompt.py
code served (permissive licence) · get_code("3bcb14b6031f3460")
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

torch.manual_seed(0)

ARGS = {
    "question": "What is happening in this video?",
    "choices": ["A person is running", "A person is sitting", "A person is jumping"]
}
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
find_closest_aspect_ratio Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jieyuz2/taskmeanything/tma/models/qa_model/imageqa_model.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from OpenGVLab/MM-NIAH, is pointer only (licence: NONE) · get_code("bd77f5f8067f18e9")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from OpenGVLab/MM-NIAH, 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.

get_aggregated_results Ran
ran; our contract draft was wrong, not the code
mlfoundations/dclm/eval/aggregated_metrics.py
code served (permissive licence) · get_code("15957b3a624fb38e")
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 pandas as pd
import numpy as np

# Create eval_metadata DataFrame with required columns
eval_metadata = pd.DataFrame({
    'Eval Task': ['task1', 'task2', 'task3', 'task4'],
    'Task Category': ['cat_a', 'cat_a', 'cat_b', 'cat_b'],
    'Random baseline': [10, 15, 20, 25]
})

# Create data dict with eval_metrics
data = {
    'eval_metrics': {
        'icl': {
            'task1': 0.85,
            'task2': 0.90,
            'task3': 0.75,
            'task4': 0.80
        }
    }
}

# Create aggregation_json mapping task groups
aggregation_json = {
    'low_variance_datasets': ['task1', 'task2'],
    'high_variance_datasets': ['task3', 'task4']
}

ARGS = {
    'data': data,
    'eval_metadata': eval_metadata,
    'aggregation_json': aggregation_json,
    'version': 'v2'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
get_confusing_colors Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/imageqa/metadata.py
code served (permissive licence) · get_code("a14d59909565b6b6")
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

ambiguous_colors = [['red', 'pink', 'purple'], ['yellow', 'orange', 'brown', 'gold', 'beige']]

def get_confusing_colors(color):
    for colors in ambiguous_colors:
        if color in colors:
            return colors
    return [color]

ARGS = {
    'color': 'red'
}
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_contrasting_color Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/models/qa_model/videoqa_model.py
code served (permissive licence) · get_code("6014a80aba65fa85")
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.

from PIL import Image
import numpy as np

# Create a small test image (4x3 RGB image)
# Using PIL Image to match the .crop() method call in the function
img_array = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)
test_image = Image.fromarray(img_array, mode='RGB')

ARGS = {
    'image': test_image,
    'x': 0,
    'y': 0,
    'width': 2,
    'height': 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — 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
get_pa_schema Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/task_store.py
code served (permissive licence) · get_code("e1ed12851618e00d")
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 Schema. 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 pyarrow as pa

ARGS = {
    'schema': {
        'name': 'str',
        'age': 'int',
        'tags': 'list'
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pyarrow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Schema — a Schema output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Schema 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
get_pd_schema Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/task_store.py
code served (permissive licence) · get_code("ed1548501a411d9e")
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
import numpy as np

torch.manual_seed(0)

# The function get_pd_schema takes a schema dict and maps its values
# using pd_schema_map. It iterates over schema.items() and looks up each value.
# So we need a dict with string keys and values that are keys in pd_schema_map.

schema = {
    'name': 'str',
    'age': 'int',
    'tags': 'list'
}

ARGS = {
    'schema': schema
}
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 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
image_to_base64 Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/models/qa_model/imageqa_model.py
code served (permissive licence) · get_code("91d08e179e948c34")
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.

from PIL import Image
import numpy as np

# Create a small PIL Image
img_array = np.random.randint(0, 256, (10, 10, 3), dtype=np.uint8)
pil_image = Image.fromarray(img_array, mode='RGB')

ARGS = {
    'pil_image': pil_image
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — 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_video_scene_graph Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/videoqa/metadata.py
code served (permissive licence) · get_code("5b72802fb5f99b87")
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. 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 json
import os
import pickle
import tempfile
import shutil

# Create a temporary directory structure for the test
temp_dir = tempfile.mkdtemp()

try:
    # Create the necessary subdirectories
    video_folder = os.path.join(temp_dir, 'Charades_v1_480')
    scene_graph_folder = os.path.join(temp_dir, 'video_scene_graph')
    os.makedirs(video_folder)
    os.makedirs(scene_graph_folder)
    
    # Create sample data structures
    scene_graphs_data = {
        "video_0001": {
            "frames": [
                {"objects": [0, 1], "relations": [{"subject": 0, "object": 1, "predicate": "on"}]},
                {"objects": [0, 1, 2], "relations": [{"subject": 0, "object": 1, "predicate": "holding"}]}
            ]
        },
        "video_0002": {
            "frames": [
                {"objects": [1, 2], "relations": []}
            ]
        }
    }
    
    idx2name_data = {
        0: "person",
        1: "chair",
        2: "table",
        3: "cup"
    }
    
    objects_data = ["person", "chair", "table", "cup", "bottle"]
    
    actions_data = ["sitting", "standing", "walking", "holding", "picking"]
    
    spatial_relations_data = ["on", "under", "next_to", "above", "below"]
    
    contact_relations_data = ["holding", "touching", "grasping"]
    
    # Write the JSON file
    with open(os.path.join(scene_graph_folder, 'video_scene_graph.json'), 'w') as f:
        json.dump(scene_graphs_data, f)
    
    # Write the pickle files
    with open(os.path.join(scene_graph_folder, 'idx2name.pkl'), 'wb') as f:
        pickle.dump(idx2name_data, f)
    
    with open(os.path.join(scene_graph_folder, 'objects.pkl'), 'wb') as f:
        pickle.dump(objects_data, f)
    
    with open(os.path.join(scene_graph_folder, 'actions.pkl'), 'wb') as f:
        pickle.dump(actions_data, f)
    
    with open(os.path.join(scene_graph_folder, 'spatial_relations.pkl'), 'wb') as f:
        pickle.dump(spatial_relations_data, f)
    
    with open(os.path.join(scene_graph_folder, 'contact_relations.pkl'), 'wb') as f:
        pickle.dump(contact_relations_data, f)
    
    # Define the arguments
    ARGS = {
        'video_scene_graph_folder': temp_dir
    }

except Exception as e:
    # Clean up on error
    shutil.rmtree(temp_dir, ignore_errors=True)
    raise
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 tuple — a tuple output has no array shape of its own; none is 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
make_options Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/models/qa_model/base_qa_model.py
code served (permissive licence) · get_code("2c31406e52caae0e")
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 torch
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - choices: a list/sequence of items that will be formatted as options
# - format: a string that must be either 'numeric' or 'letter'
# The function iterates over choices with len() and zip()

ARGS = {
    'choices': ['Option A', 'Option B', 'Option C'],
    'format': 'letter'
}
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 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
remove_nodes Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/imageqa/metadata.py
code served (permissive licence) · get_code("ae265af437b99ae0")
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 DiGraph. 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 networkx as nx

# Create a simple directed graph
G = nx.DiGraph()

# Add nodes
G.add_nodes_from([0, 1, 2, 3, 4])

# Add edges to create a structure where removing a node will require connecting predecessors to successors
# 0 -> 1 -> 3
#      1 -> 4
# 0 -> 2 -> 3
# This way, removing node 1 will connect 0 to 3 and 0 to 4
G.add_edges_from([(0, 1), (1, 3), (1, 4), (0, 2), (2, 3)])

# Nodes to remove
nodes_to_remove = [1, 2]

ARGS = {
    "G": G,
    "nodes": nodes_to_remove
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DiGraph — a DiGraph output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DiGraph output the recorded ndim 1 and dtype family int 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
remove_skip_edge Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jieyuz2/taskmeanything/tma/imageqa/metadata.py
code served (permissive licence) · get_code("6067c4865d4bed8c")
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 2, dtype family int; 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 networkx as nx

# The function takes a list of edges (tuples of source and target nodes)
# and returns edges that are not redundant (i.e., removing them breaks the path)

# Create a simple directed graph with some edges
edges = [
    (0, 1),
    (1, 2),
    (0, 2),  # skip edge - there's already a path 0->1->2
    (2, 3),
    (0, 3),  # skip edge - there's already a path 0->1->2->3 or 0->2->3
]

ARGS = {
    "edges": edges
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family int — 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
sample_frames Ran
ran, honoured the contract we drafted
jieyuz2/taskmeanything/tma/models/qa_model/videoqa_model.py
code served (permissive licence) · get_code("beeff498aac20ff0")
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 4, dtype family int; 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 cv2
import numpy as np
from PIL import Image
import tempfile
import os

# Create a temporary video file for testing
def create_test_video(filepath, num_frames=10, width=320, height=240):
    """Create a simple test video with colored frames."""
    fourcc = cv2.VideoWriter_fourcc(*'mp4v')
    out = cv2.VideoWriter(filepath, fourcc, 30.0, (width, height))
    
    for frame_idx in range(num_frames):
        # Create a frame with a gradient color based on frame index
        frame = np.zeros((height, width, 3), dtype=np.uint8)
        frame[:, :, 0] = (frame_idx * 25) % 256  # Blue channel
        frame[:, :, 1] = (frame_idx * 15) % 256  # Green channel
        frame[:, :, 2] = (frame_idx * 35) % 256  # Red channel
        out.write(frame)
    
    out.release()

# Create temporary video
temp_dir = tempfile.gettempdir()
video_path = os.path.join(temp_dir, "test_video_sample.mp4")
create_test_video(video_path, num_frames=15, width=320, height=240)

ARGS = {
    "video_path": video_path,
    "n": 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 4, dtype family int — 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
scene_graph_adjacent_objects Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/imageqa/scene_graph/single_image_task.py
code served (permissive licence) · get_code("2b98f6e5c6b1b5c5")
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
import numpy as np

# Construct a minimal scene_graph structure that the function expects
scene_graph = {
    'objects': {
        0: {
            'relations': [
                {'object': 1, 'name': 'next_to'},
                {'object': 2, 'name': 'above'},
            ]
        },
        1: {
            'relations': [
                {'object': 0, 'name': 'adjacent_to'},
            ]
        },
        2: {
            'relations': [
                {'object': 3, 'name': 'contains'},
            ]
        },
        3: {
            'relations': []
        }
    }
}

node = 0

ARGS = {
    'scene_graph': scene_graph,
    'node': node,
}
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 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
subgraph_to_json_str Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/imageqa/scene_graph/single_image_task.py
code served (permissive licence) · get_code("43d4f11e41706da4")
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 json

# Construct the scene_graph dictionary that contains object information
scene_graph = {
    'objects': {
        0: {'name': 'dog'},
        1: {'name': 'cat'},
        2: {'name': 'ball'},
        3: {'name': 'person'}
    }
}

# Construct the subgraph list with various element types:
# - strings for attributes
# - 2-tuples for (object_id, attribute)
# - 3-tuples for (object_id, relation, direction)
subgraph = [
    'red',  # direct attribute
    'large',  # direct attribute
    (0, 'furry'),  # object 0 with attribute 'furry'
    (0, 'brown'),  # object 0 with another attribute
    (0, 'next_to', 'left'),  # object 0 with relation
    (1, 'small'),  # object 1 with attribute
    (1, 'next_to', 'right'),  # object 1 with relation
    (2, 'round'),  # object 2 with attribute
]

ARGS = {
    'subgraph': subgraph,
    'scene_graph': scene_graph
}
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
succinct_prompt Ran
ran; our contract draft was wrong, not the code
jieyuz2/taskmeanything/tma/models/qa_model/prompt.py
code served (permissive licence) · get_code("fe7a4950dfbff1c1")
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

ARGS = {
    'question': 'What is the capital of France?',
    'choices': ['Paris', 'London', 'Berlin', 'Madrid']
}
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

Also present in other papers' code

Of 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 2 the same month, 2 later) and 20 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
find_closest_aspect_ratio 43 other papers
4 dated earlier, 3 the same month, 36 later
1910.01108 (2019-10)
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
2312.13271 (2023-12)
Repaint123: Fast and High-quality One Image to 3D Generation with Progressive Controllable 2D Repainting
2403.15952 (2024-03)
IllusionVQA: A Challenging Optical Illusion Dataset for Vision Language Models
and 40 more not named here
build_transform 31 other papers
4 dated earlier, 2 the same month, 25 later
1910.01108 (2019-10)
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
2312.13271 (2023-12)
Repaint123: Fast and High-quality One Image to 3D Generation with Progressive Controllable 2D Repainting
2403.15952 (2024-03)
IllusionVQA: A Challenging Optical Illusion Dataset for Vision Language Models
and 28 more not named here

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

We introduce DataComp for Language Models (DCLM), a testbed for controlled dataset experiments with the goal of improving language models. As part of DCLM, we provide a standardized corpus of 240T tokens extracted from Common Crawl, effective pretraining recipes based on the OpenLM framework, and a broad suite of 53 downstream evaluations. Participants in the DCLM benchmark can experiment with data curation strategies such as deduplication, filtering, and data mixing at model scales ranging from 412M to 7B parameters. As a baseline for DCLM, we conduct extensive experiments and find that model-based filtering is key to assembling a high-quality training set. The resulting dataset, DCLM-Baseline enables training a 7B parameter language model from scratch to 64% 5-shot accuracy on MMLU with 2.6T training tokens. Compared to MAP-Neo, the previous state-of-the-art in open-data language models, DCLM-Baseline represents a 6.6 percentage point improvement on MMLU while being trained with 40% less compute. Our baseline model is also comparable to Mistral-7B-v0.3 and Llama 3 8B on MMLU (63% & 66%), and performs similarly on an average of 53 natural language understanding tasks while being trained with 6.6x less compute than Llama 3 8B. Our results highlight the importance of dataset design for training language models and offer a starting point for further research on data curation.

For agents

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

get_harvested_code_for_paper("2406.11794")
get_code_for_paper("2406.11794")
have("2406.11794")

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

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

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

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

Connect an agent — have() is free.