SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.08853 · NeurIPS · 2022

MINEDOJO: Building Open-Ended Embodied Agents with Internet-Scale Knowledge

Anima Anandkumar, U Austin, Yuke Zhu, Caltech, Linxi Fan, Guanzhi Wang, De-An Huang, Yunfan Jiang, Ajay Mandlekar, Yuncong Yang, Haoyi Zhu, Andrew Tang, and 3 more

arXiv · PDF · Open in the Atlas

Code that ran

14 of 28 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 3 violated it and 7 have no contract verdict; 4 failures of our instrument; 14 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/2206.08853.json · badge: /api/ran/2206.08853.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
MineDojo/MineDojo canonical (classifier label)
classifier basis not recorded on the link
5 ran · 3 no recorded run
pku-rl/copl community
Papers with Code archive
9 ran · 11 no recorded run
FunctionStatusWhere it lives
Buffer Ran
ran on a synthesized input · constructed an object; no result was computed
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("ad104c89d024fd04")
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 an instance of its own class, Buffer: the run constructed the object and did not call it, so no result was computed. 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

ARGS = {
    "max_size": 16,
    "sequence_length": 4,
}
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 Buffer — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Buffer 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
RunningMeanStd Ran
ran on a synthesized input · constructed an object; no result was computed
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("327090e4d81e9be1")
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 an instance of its own class, RunningMeanStd: the run constructed the object and did not call it, so no result was computed. 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

# Construct arguments for RunningMeanStd
# The __init__ method takes:
# - epsilon: float (default 0.0001)
# - shape: tuple (default ())

# Create a small shape for testing - use (4,) for a 1D array of size 4
ARGS = {
    "epsilon": 0.0001,
    "shape": (4,)
}
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 RunningMeanStd — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a RunningMeanStd 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
_assign Ran
ran; our contract draft was wrong, not the code
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("b6b63db4d56c7e85")
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 function. 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 _assign returns a closure that uses slice indices to assign
# portions of one array/tensor to another. The parameters xb, xe, yb, ye
# are slice boundaries (begin/end indices).

# We need to construct arguments that will be used in the returned function:
# x[xb:xe] = y[yb:ye]
# So xb, xe, yb, ye should be integers or None (for open-ended slices)

xb = 0
xe = 2
yb = 1
ye = 3

ARGS = {
    "xb": xb,
    "xe": xe,
    "yb": yb,
    "ye": ye
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
_cast Ran
ran, violated the contract we drafted
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("e5f4ff450423f4f7")
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 3, dtype family float, shape (8, 3, 5) 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)

# The function _cast takes a tensor x and reshapes it
# It accesses x.shape[0], x.shape[1], and x.shape[2:]
# So we need a tensor with at least 3 dimensions

# Create a small tensor with distinct dimensions for clarity
# Shape: (batch=2, time=4, feature=3, extra=5)
x = torch.randn(2, 4, 3, 5)

ARGS = {
    'x': x
}
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 Tensor, ndim 3, dtype family float, shape (8, 3, 5) — shape (8, 3, 5) 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
calculate_gae Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("934556c7add432d6")
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 1, dtype family float, shape (5,) 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

# Read the function to understand what arguments it needs
# Parameters: rewards, values, firsts, last_value, last_first, discount_gamma, gae_lambda, use_proper_time_limit, bad, last_bad

# Create small test data
n_steps = 5

# rewards: array of rewards for each timestep
rewards = np.array([1.0, 2.0, 1.5, 2.5, 1.0], dtype=np.float32)

# values: estimated values for each timestep
values = np.array([0.5, 1.0, 1.2, 0.8, 0.3], dtype=np.float32)

# firsts: boolean-like array indicating episode starts (1.0 = episode start, 0.0 = continuation)
firsts = np.array([0.0, 0.0, 0.0, 0.0, 0.0], dtype=np.float32)

# last_value: value estimate for the step after the sequence
last_value = np.float32(0.2)

# last_first: whether the last transition was an episode boundary
last_first = np.float32(0.0)

# discount_gamma: discount factor
discount_gamma = np.float32(0.99)

# gae_lambda: GAE lambda parameter
gae_lambda = np.float32(0.95)

# use_proper_time_limit: whether to use proper time limit masking
use_proper_time_limit = True

# bad: array indicating whether next state is "bad" (terminal due to time limit)
bad = np.array([0.0, 0.0, 0.0, 0.0, 0.0], dtype=np.float32)

# last_bad: whether the final state is "bad"
last_bad = np.float32(0.0)

ARGS = {
    "rewards": rewards,
    "values": values,
    "firsts": firsts,
    "last_value": last_value,
    "last_first": last_first,
    "discount_gamma": discount_gamma,
    "gae_lambda": gae_lambda,
    "use_proper_time_limit": use_proper_time_limit,
    "bad": bad,
    "last_bad": last_bad,
}
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 1, dtype family float, shape (5,) — shape (5,) 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
decode_item_maybe_with_metadata Ran
ran on a synthesized input
MineDojo/MineDojo/minedojo/sim/handlers/util.py
code served (permissive licence) · get_code("882ec4baf77a7af4")
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 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

# The function takes a single string parameter 's'
# It processes it by:
# 1. Checking if '#' is in the string
# 2. If yes, splitting by '#' to get item_type and metadata_str
# 3. Validating item_type is not empty
# 4. Converting metadata_str to int and validating it's in range(16)
# 5. Returning tuple of (item_type, metadata as int)
# If no '#', returns (s, None)

# Test case 1: string with valid metadata
s1 = "item_type#5"

# Test case 2: string without metadata
s2 = "simple_item"

# Test case 3: string with metadata at boundary
s3 = "weapon#15"

ARGS = {
    "s": s1
}
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 tuple, ndim 1, 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
encode_item_with_metadata Ran
ran on a synthesized input
MineDojo/MineDojo/minedojo/sim/handlers/util.py
code served (permissive licence) · get_code("6af25de29c5f7124")
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:
# - item_type: str, required, must have len > 0
# - metadata: Optional[int], can be None or an int

# Test case 1: with metadata
ARGS = {
    "item_type": "product",
    "metadata": 42
}
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
explained_variance Ran
ran, violated the contract we drafted
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("07902b0c59d65132")
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, 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 numpy as np

# Set seed for reproducibility
np.random.seed(0)

# Create small numpy arrays for y_pred and y_true
# y_pred: predictions from a model
y_pred = np.array([1.0, 2.5, 3.1, 4.2, 5.8])

# y_true: ground truth values
y_true = np.array([1.2, 2.3, 3.0, 4.5, 5.5])

ARGS = {
    "y_pred": y_pred,
    "y_true": y_true,
}
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, 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
get_callable Ran
ran; our contract draft was wrong, not the code
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("cfa55d08613e2d96")
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

# The function get_callable takes a fully qualified name string (module.ClassName)
# and dynamically imports and returns the class/function.
# 
# The function uses:
# - name: str parameter that must be a valid module path with a class name
#
# We need to provide a string that points to an actual importable class

# A simple valid example: use a built-in class that's always available
name = "torch.nn.Linear"

ARGS = {
    "name": name
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
get_key_from_id Ran
ran on a synthesized input
MineDojo/MineDojo/minedojo/sim/mc_meta/mc.py
code served (permissive licence) · get_code("31090e4cf12c6ba1")
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.

ARGS = {
    'id': '17'
}
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
item_list_contains Ran
ran on a synthesized input
MineDojo/MineDojo/minedojo/sim/handlers/util.py
code served (permissive licence) · get_code("44576799efab9213")
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
from typing import Tuple, Optional, Sequence, Dict, Set, List

torch.manual_seed(0)

# Analyze the function signature:
# item_list_contains(item_list: Sequence[str], item_type: str, metadata: Optional[str])

# The function:
# 1. Takes item_list as a Sequence[str]
# 2. Takes item_type as a str
# 3. Takes metadata as Optional[str]
# 4. Calls encode_item_with_metadata(item_type, metadata) which expects metadata to be Optional[int]
#    BUT the function signature says Optional[str] - there's a type mismatch in the provided code
#    We need to follow what the function actually uses

# Looking at the logic:
# - if metadata is None: checks if item_type is in item_list
# - else: calls encode_item_with_metadata(item_type, metadata) and checks if result is in item_list

# encode_item_with_metadata expects metadata: Optional[int]
# So we need to pass an int or None, despite the type hint saying str

# Create test data:
item_list = ["apple", "banana#5", "cherry", "date#10"]
item_type = "banana"
metadata = 5

ARGS = {
    "item_list": item_list,
    "item_type": item_type,
    "metadata": metadata
}
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 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
map_slot_number_to_cmd_slot Ran
ran on a synthesized input
MineDojo/MineDojo/minedojo/sim/inventory.py
code served (permissive licence) · get_code("623c17e586414975")
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.

# Test cases for map_slot_number_to_cmd_slot covering all branches
ARGS_MAINHAND = {'slot_number': 0}
ARGS_OFFHAND = {'slot_number': 40}
ARGS_HEAD = {'slot_number': 39}
ARGS_CHEST = {'slot_number': 38}
ARGS_LEGS = {'slot_number': 37}
ARGS_FEET = {'slot_number': 36}
ARGS_HOTBAR = {'slot_number': 5}
ARGS_INVENTORY = {'slot_number': 15}

# Use the mainhand case as the primary ARGS
ARGS = ARGS_MAINHAND
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
preprocess Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("db5606ac4557835f")
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 3, dtype family float, shape (3, 4, 4) 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
import torch

torch.manual_seed(0)

# The function expects img to be a numpy array (either int or float type)
# It should have shape (C, H, W) where C=3 (for the MEAN and STD which have 3 channels)
# Let's create a small image: 3 channels, 4x4 spatial dimensions

# Create an integer image (will be converted to float32 and divided by 255)
img = np.random.randint(0, 256, size=(3, 4, 4), dtype=np.uint8)

ARGS = {
    "img": img
}
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 Tensor, ndim 3, dtype family float, shape (3, 4, 4) — shape (3, 4, 4) 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
stack_obs Ran
ran, violated the contract we drafted
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("eb736d83f82d921a")
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 3, dtype family float, shape (2, 4, 3) 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

# Test case 1: List of numpy arrays
obs_arrays = [
    np.random.randn(4, 3),
    np.random.randn(4, 3),
]

ARGS = {
    "obs": obs_arrays
}
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 3, dtype family float, shape (2, 4, 3) — shape (2, 4, 3) 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
Actor Not yet run
unverified (harvested, no recorded run)
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("7afc0befd6b15a83")
How it ran

no invocation recorded.

CLIPReward Not yet run
unverified (harvested, no recorded run)
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("8051c6b988c6c698")
How it ran

no invocation recorded.

Learner Not yet run
unverified (harvested, no recorded run)
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("e9c9518cae5dc1e0")
How it ran

no invocation recorded.

ModifiedPPOWorker Not yet run
unverified (harvested, no recorded run)
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("cf96afb55e80a2b0")
How it ran

no invocation recorded.

PPOActor Not yet run
unverified (harvested, no recorded run)
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("62ea7f1fcfd84736")
How it ran

no invocation recorded.

PPOLearner Not yet run
unverified (harvested, no recorded run)
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("f6f0eaea0b8e2bdd")
How it ran

no invocation recorded.

PPOWorker Not yet run
unverified (harvested, no recorded run)
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("4b0d0097d64ea914")
How it ran

no invocation recorded.

assign Not yet run
unverified (harvested, no recorded run)
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("21a5ad45e61012fb")
How it ran

no invocation recorded.

get_inventory_vector Not yet run
unverified (harvested, no recorded run)
MineDojo/MineDojo/minedojo/sim/wrappers/utils.py
code served (permissive licence) · get_code("fd5ba1529b4c89b6")
How it ran

no invocation recorded.

get_item_id Not yet run
unverified (harvested, no recorded run)
MineDojo/MineDojo/minedojo/sim/mc_meta/mc.py
code served (permissive licence) · get_code("68eacb4c0254a0c4")
How it ran

no invocation recorded.

get_scheduler Not yet run
unverified (harvested, no recorded run)
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("cf26db7df2302923")
How it ran

no invocation recorded.

multimap Not yet run
unverified (harvested, no recorded run)
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("f5cbe0699dd7d077")
How it ran

no invocation recorded.

recursive_dict_eq Not yet run
unverified (harvested, no recorded run)
MineDojo/MineDojo/minedojo/sim/mc_meta/mc.py
code served (permissive licence) · get_code("6506006d68a080bb")
How it ran

no invocation recorded.

worker_class Not yet run
unverified (harvested, no recorded run)
pku-rl/copl/src/core/ppo.py
code served (permissive licence) · get_code("d7084f29067204ad")
How it ran

no invocation recorded.

Also present in other papers' code

Of 28 samples lifted from this paper's linked repositories, 28 carry a function identity and 0 do not. Of the 28 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 later) and 26 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
CLIPReward
brick of this paper's assembly: helper
1 other paper
1 later
2408.01942 (2024-08)
Visual Grounding for Object-Level Generalization in Reinforcement Learning
preprocess
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2408.01942 (2024-08)
Visual Grounding for Object-Level Generalization in Reinforcement Learning

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

Autonomous agents have made great strides in specialist domains like Atari games and Go. However, they typically learn tabula rasa in isolated environments with limited and manually conceived objectives, thus failing to generalize across a wide spectrum of tasks and capabilities. Inspired by how humans continually learn and adapt in the open world, we advocate a trinity of ingredients for building generalist agents: 1) an environment that supports a multitude of tasks and goals, 2) a large-scale database of multimodal knowledge, and 3) a flexible and scalable agent architecture. We introduce MINEDOJO, a new framework built on the popular Minecraft game that features a simulation suite with thousands of diverse open-ended tasks and an internet-scale knowledge base with Minecraft videos, tutorials, wiki pages, and forum discussions. Using MINEDOJO's data, we propose a novel agent learning algorithm that leverages large pre-trained video-language models as a learned reward function. Our agent is able to solve a variety of openended tasks specified in free-form language without any manually designed dense shaping reward. We open-source the simulation suite, knowledge bases, algorithm implementation, and pretrained models (https://minedojo.org) to promote research towards the goal of generally capable embodied agents.

For agents

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

get_harvested_code_for_paper("2206.08853")
get_code_for_paper("2206.08853")
have("2206.08853")

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

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

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

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

Connect an agent — have() is free.