SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2106.10155 · 2021

World-GAN: a Generative Model for Minecraft Worlds

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 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; 0 failures of our instrument; 2 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/2106.10155.json · badge: /api/ran/2106.10155.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
Mawiszus/World-GAN canonical (classifier label)
classifier basis: census
4 ran · 2 no recorded run
FunctionStatusWhere it lives
adjust_token_list Ran
ran on a synthesized input
Mawiszus/World-GAN/edit_repr_space_experiment.py
code served (permissive licence) · get_code("275019ac121e27eb")
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.

# Setup code for adjust_token_list function

# Define the function (copying from the problem)
l_dirt = ['minecraft:dirt', 'minecraft:grass_block', 'minecraft:farmland']

l_ruin = ['minecraft:cobblestone', 'minecraft:mossy_cobblestone', 'minecraft:stone_bricks']

l_cr_ruin = ['minecraft:cracked_stone_bricks']

l_mo_ruin = ['minecraft:mossy_stone_bricks']

l_slab = ['minecraft:stone_brick_slab']

l_stairs = ['minecraft:stone_brick_stairs']

l_tallgrass = ['minecraft:tall_grass']

l_grass = ['minecraft:grass', 'minecraft:large_fern', 'minecraft:vine', 'minecraft:wheat', 'minecraft:oak_leaves', 'minecraft:fern']

def set_name(token):
    if token in l_dirt:
        n = 'minecraft:sand'
    elif token in l_ruin:
        n = 'minecraft:cut_red_sandstone'
    elif token in l_cr_ruin:
        n = 'minecraft:chiseled_red_sandstone'
    elif token in l_mo_ruin:
        n = 'minecraft:red_sandstone'
    elif token in l_slab:
        n = 'minecraft:cut_red_sandstone_slab'
    elif token in l_stairs:
        n = 'minecraft:smooth_red_sandstone_stairs'
    elif token in l_tallgrass:
        n = 'minecraft:dead_bush'
    elif token in l_grass:
        n = 'minecraft:air'
    else:
        n = token
    return n

def adjust_token_list(token_list):
    new_list = []
    for t in token_list:
        new_list.append(set_name(t))
    return new_list

# Create test data
test_token_list = [
    'minecraft:dirt',
    'minecraft:cobblestone',
    'minecraft:cracked_stone_bricks',
    'minecraft:mossy_stone_bricks',
    'minecraft:stone_brick_slab',
    'minecraft:stone_brick_stairs',
    'minecraft:tall_grass',
    'minecraft:grass',
    'minecraft:unknown_block'
]

ARGS = {
    'token_list': test_token_list
}
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_pattern_counts Ran
ran on a synthesized input
Mawiszus/World-GAN/main_tile_pattern.py
code served (permissive licence) · get_code("ecd9353546a0e9e0")
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 defaultdict. 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
import collections

torch.manual_seed(0)

# Create a small level grid as a 2D numpy array
# The function uses level.shape[0] and level.shape[1], and indexes with [up:down, left:right]
# So we need a 2D array-like object
level = np.array([
    [1, 2, 3, 4],
    [5, 6, 7, 8],
    [9, 10, 11, 12],
    [13, 14, 15, 16]
], dtype=int)

# pattern_size should be smaller than the level dimensions
# The function iterates: range(level.shape[0] - pattern_size + 1)
# So if level is 4x4, pattern_size could be 2 or 3
pattern_size = 2

ARGS = {
    'level': level,
    'pattern_size': pattern_size
}
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 defaultdict — a defaultdict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a defaultdict 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
pattern_key Ran
ran on a synthesized input
Mawiszus/World-GAN/main_tile_pattern.py
code served (permissive licence) · get_code("6347212ca814ea14")
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

# Analyze the function:
# - pattern_key takes level_slice as parameter
# - It iterates over level_slice as lines
# - For each line, it iterates over tokens
# - It converts each token to string and concatenates
# - So level_slice should be a 2D structure (list of lists)

# Create a simple level_slice as a list of lists
# Each inner list represents a line, each element is a token
level_slice = [
    [1, 2, 3],
    [4, 5, 6],
    [7, 8, 9]
]

ARGS = {
    'level_slice': level_slice
}
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
set_name Ran
ran on a synthesized input
Mawiszus/World-GAN/edit_repr_space_experiment.py
code served (permissive licence) · get_code("6732cd814f38725e")
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.

# Setup code for set_name function

ARGS = {
    'token': 'minecraft:dirt'
}
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
compute_pattern_counts Not yet run
unverified (harvested, no recorded run)
Mawiszus/World-GAN/main_tile_pattern.py
code served (permissive licence) · get_code("a7d79070edd90b1b")
How it ran

no invocation recorded.

generate_spatial_noise Not yet run
unverified (harvested, no recorded run)
Mawiszus/World-GAN/generate_noise.py
code served (permissive licence) · get_code("57b65a7d4c416b53")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

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

This work introduces World-GAN, the first method to perform data-driven Procedural Content Generation via Machine Learning in Minecraft from a single example. Based on a 3D Generative Adversarial Network (GAN) architecture, we are able to create arbitrarily sized world snippets from a given sample. We evaluate our approach on creations from the community as well as structures generated with the Minecraft World Generator. Our method is motivated by the dense representations used in Natural Language Processing (NLP) introduced with word2vec [1]. The proposed block2vec representations make World-GAN independent from the number of different blocks, which can vary a lot in Minecraft, and enable the generation of larger levels. Finally, we demonstrate that changing this new representation space allows us to change the generated style of an already trained generator. World-GAN enables its users to generate Minecraft worlds based on parts of their creations.

For agents

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

get_harvested_code_for_paper("2106.10155")
get_code_for_paper("2106.10155")
have("2106.10155")

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

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

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

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

Connect an agent — have() is free.