SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2303.13512 · NeurIPS · 2023

Towards Solving Fuzzy Tasks with Human Feedback: A Retrospective of the MineRL BASALT 2022 Competition

Yujing Hu, Stephanie Milani, Brandon Houghton, Ke Chen, Rohin Shah, Anssi Kanervisto, Ville Hautamäki, Sharada Mohanty, Ellen Novoseller, Nicholas Waytowich, Karolis Ramanauskas, Sander Schulhoff, and 10 more

arXiv · PDF · Open in the Atlas

Code that ran

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

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2303.13512.json · badge: /api/ran/2303.13512.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
BASALT-2022-Karlsruhe/ka-basalt-2022 canonical (classifier label)
classifier basis not recorded on the link
5 ran · 1 no recorded run
shuishida/minerl_2022 canonical (classifier label)
classifier basis not recorded on the link
2 ran · 0 no recorded run
FunctionStatusWhere it lives
count_stacks Ran
ran on a synthesized input
BASALT-2022-Karlsruhe/ka-basalt-2022/find_cave_classifier.py
code served (permissive licence) · get_code("612ab1f687996e5d")
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 cv2
import tempfile
import numpy as np
import os

# Create a temporary video file for testing
temp_dir = tempfile.mkdtemp()
video_path = os.path.join(temp_dir, "test_video.mp4")

# Create a simple video file with known frame count
fourcc = cv2.VideoWriter_fourcc(*'mp4v')
fps = 30
frame_size = (640, 480)
num_frames = 100  # Should result in 100 // 4 = 25 stacks

out = cv2.VideoWriter(video_path, fourcc, fps, frame_size)

# Write frames to the video
for i in range(num_frames):
    frame = np.zeros((frame_size[1], frame_size[0], 3), dtype=np.uint8)
    frame[:] = (i % 256, (i * 2) % 256, (i * 3) % 256)
    out.write(frame)

out.release()

ARGS = {
    "video_path": video_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — 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
get_demo_trajectories Ran
ran on a synthesized input
BASALT-2022-Karlsruhe/ka-basalt-2022/prep_demos.py
code served (permissive licence) · get_code("a122fbe2c60c2357")
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 tempfile
import json
from pathlib import Path

# Create a temporary directory with some .jsonl files
temp_dir = tempfile.mkdtemp()
temp_path = Path(temp_dir)

# Create some subdirectories and .jsonl files
(temp_path / "subdir1").mkdir(exist_ok=True)
(temp_path / "subdir2").mkdir(exist_ok=True)

# Write dummy .jsonl files
jsonl_file1 = temp_path / "trajectories1.jsonl"
jsonl_file2 = temp_path / "subdir1" / "trajectories2.jsonl"
jsonl_file3 = temp_path / "subdir2" / "trajectories3.jsonl"

with open(jsonl_file1, 'w') as f:
    f.write('{"trajectory": "data1"}\n')

with open(jsonl_file2, 'w') as f:
    f.write('{"trajectory": "data2"}\n')

with open(jsonl_file3, 'w') as f:
    f.write('{"trajectory": "data3"}\n')

# Also create a non-jsonl file to ensure filtering works
(temp_path / "other_file.txt").write_text("not jsonl")

ARGS = {
    "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 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_env_name Ran
ran on a synthesized input
shuishida/minerl_2022/const.py
code served (permissive licence) · get_code("c7cbec0e8325ee42")
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

# Define ARGS dict with a parameter value for the function
ARGS = {
    'shorthand': 'cave'
}
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_short Ran
ran on a synthesized input
BASALT-2022-Karlsruhe/ka-basalt-2022/prep_demos.py
code served (permissive licence) · get_code("e58c3ad8f2cb103a")
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 tempfile
import os

# Create a temporary file with demo content
with tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt') as f:
    # Write fewer than 100 lines to test the min_actions threshold
    for i in range(50):
        f.write(f"action_{i}\n")
    temp_filepath = f.name

try:
    ARGS = {
        'filepath': temp_filepath,
        'min_actions': 100
    }
finally:
    # Clean up will happen after ARGS is used
    pass
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 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
json_action_to_env_action Ran
ran; our contract draft was wrong, not the code
BASALT-2022-Karlsruhe/ka-basalt-2022/data_loader.py
code served (permissive licence) · get_code("b2300f16257d73e9")
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 numpy as np

# Construct a valid json_action matching the expected structure
json_action = {
    'keyboard': {
        'keys': ['key.keyboard.w', 'key.keyboard.space', 'key.keyboard.invalid.key']
    },
    'mouse': {
        'dx': 100,
        'dy': -50,
        'buttons': [0, 1]
    }
}

ARGS = {
    'json_action': json_action
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 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
load_model_parameters Ran
ran; our contract draft was wrong, not the code
BASALT-2022-Karlsruhe/ka-basalt-2022/behavioural_cloning.py
code served (permissive licence) · get_code("b5f9bf2f6cbd78b7")
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 pickle
import tempfile
import os

# Create a temporary file with pickled model parameters
agent_parameters = {
    'model': {
        'args': {
            'net': {
                'args': {
                    'hidden_dim': 128,
                    'num_layers': 2,
                    'activation': 'relu'
                }
            },
            'pi_head_opts': {
                'temperature': '0.5',
                'output_dim': 64
            }
        }
    }
}

# Write to a temporary pickle file
temp_file = tempfile.NamedTemporaryFile(delete=False, suffix='.pkl')
temp_path = temp_file.name
temp_file.close()

with open(temp_path, 'wb') as f:
    pickle.dump(agent_parameters, f)

ARGS = {
    'path_to_model_file': temp_path
}
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, 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
resize_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
shuishida/minerl_2022/openai_vpt/agent.py
code served (permissive licence) · get_code("69a190b789185068")
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 int, shape (48, 64, 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 cv2
import numpy as np

# Create a small test image (height=100, width=80, channels=3 for RGB)
img = np.random.randint(0, 256, (100, 80, 3), dtype=np.uint8)

# Define target resolution as (width, height) tuple for cv2.resize
target_resolution = (64, 48)

ARGS = {
    "img": img,
    "target_resolution": target_resolution
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, 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 int, shape (48, 64, 3) — shape (48, 64, 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
get_length_diff Not yet run
unverified (harvested, no recorded run)
BASALT-2022-Karlsruhe/ka-basalt-2022/prep_demos.py
code served (permissive licence) · get_code("3068d1f66fb12555")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 3 later) and 5 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
json_action_to_env_action 2 other papers
1 dated earlier, 1 later
2206.11795 (2022-06)
Video PreTraining (VPT): Learning to Act by Watching Unlabeled Online Videos
2403.12037 (2024-03)
MineDreamer: Learning to Follow Instructions via Chain-of-Imagination for Simulated-World Control
load_model_parameters 2 other papers
1 dated earlier, 1 later
2206.11795 (2022-06)
Video PreTraining (VPT): Learning to Act by Watching Unlabeled Online Videos
2312.02405 (2023-12)
BEDD: The MineRL BASALT Evaluation and Demonstrations Dataset for Training and Benchmarking Agents that Solve Fuzzy Tasks
resize_image 1 other paper
1 later
2312.02405 (2023-12)
BEDD: The MineRL BASALT Evaluation and Demonstrations Dataset for Training and Benchmarking Agents that Solve Fuzzy 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-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

To facilitate research in the direction of fine-tuning foundation models from human feedback, we held the MineRL BASALT Competition on Fine-Tuning from Human Feedback at NeurIPS 2022. The BASALT challenge asks teams to compete to develop algorithms to solve tasks with hard-to-specify reward functions in Minecraft. Through this competition, we aimed to promote the development of algorithms that use human feedback as channels to learn the desired behavior. We describe the competition and provide an overview of the top solutions. We conclude by discussing the impact of the competition and future directions for improvement.

For agents

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

get_harvested_code_for_paper("2303.13512")
get_code_for_paper("2303.13512")
have("2303.13512")

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

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

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

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

Connect an agent — have() is free.