SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.07215 · 2025

Measuring General Intelligence with Generated Games

arXiv · PDF · Open in the Atlas

Code that ran

5 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 5 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-24; 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/2505.07215.json · badge: /api/ran/2505.07215.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
vivek3141/gg-bench canonical (classifier label)
classifier basis not recorded on the link
5 ran · 1 no recorded run
FunctionStatusWhere it lives
get_valid_moves Ran
ran on a synthesized input
vivek3141/gg-bench/gg_bench/utils/minimax.py
code served (permissive licence) · get_code("7e50d41df248d74f")
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 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 torch
import numpy as np
from gym import Env
from gym.spaces import Discrete

# Create a minimal gym environment with action_space
class MinimalEnv(Env):
    def __init__(self):
        self.action_space = Discrete(5)
    
    def reset(self):
        return np.zeros(4)
    
    def step(self, action):
        return np.zeros(4), 0, False, {}
    
    def render(self, mode='human'):
        pass

# Create environment instance
env = MinimalEnv()

# Define ARGS dictionary
ARGS = {
    'env': env
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
gym, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family 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
load_yaml Ran
ran on a synthesized input
vivek3141/gg-bench/gg_bench/utils/load_yaml.py
code served (permissive licence) · get_code("44ae92767e1cb329")
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 tempfile
import os
import yaml

# Create a temporary YAML file for testing
temp_dir = tempfile.mkdtemp()
yaml_path = os.path.join(temp_dir, "test.yaml")

# Create a valid YAML file with custom tags
yaml_content = """
simple_key: simple_value
join_example: !join
  - hello
  - "_"
  - world
jinja_example: !jinja2
  - "Hello {{ name }}"
  - name: Alice
nested:
  key: value
"""

with open(yaml_path, 'w') as f:
    f.write(yaml_content)

ARGS = {
    "path": yaml_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jinja2, yaml — 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
minimax Ran
ran on a synthesized input
vivek3141/gg-bench/gg_bench/utils/minimax.py
code served (permissive licence) · get_code("a41c3f2b7c9f70f1")
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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

from copy import deepcopy
import numpy as np
from gym import Env
import gym


# Create a minimal game environment that works with minimax
class SimpleGameEnv(Env):
    def __init__(self):
        self.action_space = gym.spaces.Discrete(3)  # 3 possible actions
        self.current_state = 0
        self.step_count = 0
        self.max_steps = 2
    
    def step(self, action):
        self.step_count += 1
        # Simple game logic: state transitions based on action
        new_state = (self.current_state + action) % 5
        reward = float(action)
        done = self.step_count >= self.max_steps
        info = {}
        return new_state, reward, done, info, {}
    
    def reset(self):
        self.current_state = 0
        self.step_count = 0
        return self.current_state
    
    def render(self):
        pass


# Create evaluation function that scores a state
def evaluate_state(state):
    """Evaluate a game state and return a score."""
    return float(state) * 1.5


# Setup the arguments
env = SimpleGameEnv()
initial_state = env.reset()

ARGS = {
    "state": initial_state,
    "env": env,
    "depth": 0,
    "is_maximizing": True,
    "max_depth": 2,
    "evaluate_state": evaluate_state,
    "accumulated_reward": 0.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
gym, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, 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
pick_minimax_action Ran
ran on a synthesized input
vivek3141/gg-bench/gg_bench/utils/minimax.py
code served (permissive licence) · get_code("a8e2bbda4d37adde")
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 numpy as np
from gym import Env
from gym.spaces import Discrete

class SimpleGameEnv(Env):
    """A minimal game environment for testing minimax."""
    
    def __init__(self):
        self.action_space = Discrete(3)
        self.state = 0
        self.step_count = 0
        self.max_steps = 5
    
    def step(self, action):
        """Execute one step of the environment."""
        self.step_count += 1
        # Simple deterministic dynamics
        new_state = (self.state + action) % 10
        reward = float(action)
        done = self.step_count >= self.max_steps or new_state == 5
        info = {}
        return new_state, reward, done, info, {}
    
    def reset(self):
        """Reset the environment."""
        self.state = 0
        self.step_count = 0
        return self.state
    
    def render(self):
        pass

def evaluate_game_state(state):
    """Evaluation function for terminal or leaf states."""
    # Simple heuristic: higher state values are better
    return float(state) * 0.5

# Create environment and state
env = SimpleGameEnv()
initial_state = 0

# Define arguments for pick_minimax_action
ARGS = {
    'state': initial_state,
    'env': env,
    'max_depth': 2,
    'evaluate_state': evaluate_game_state
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
gym, 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
remove_think_block Ran
ran on a synthesized input
vivek3141/gg-bench/gg_bench/utils/chat_completion/deepseek_chat_completion.py
code served (permissive licence) · get_code("fd9cee29d50d81d3")
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 re

def remove_think_block(text):
    return re.sub('<think>.*?</think>', '', text, flags=re.DOTALL).strip()

ARGS = {
    'text': '<think>This is a thinking block</think>Here is the output.'
}
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
extract_python_code Not yet run
unverified (harvested, no recorded run)
vivek3141/gg-bench/gg_bench/utils/markdown.py
code served (permissive licence) · get_code("5555027230c54cd2")
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-24.

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 present gg-bench, a collection of game environments designed to evaluate general reasoning capabilities in language models. Unlike most static benchmarks, gg-bench is a data generating process where new evaluation instances can be generated at will. In particular, gg-bench is synthetically generated by (1) using a large language model (LLM) to generate natural language descriptions of novel games, (2) using the LLM to implement each game in code as a Gym environment, and (3) training reinforcement learning (RL) agents via self-play on the generated games. We evaluate language models by their winrate against these RL agents by prompting models with the game description, current board state, and a list of valid moves, after which models output the moves they wish to take. gg-bench is challenging: state-of-the-art LLMs such as GPT-4o and Claude 3.7 Sonnet achieve winrates of 7-9% on gg-bench using in-context learning, while reasoning models such as o1, o3-mini and DeepSeek-R1 achieve average winrates of 31-36%. We release the generated games, data generation process, and evaluation code in order to support future modeling work and expansion of our benchmark.

For agents

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

get_harvested_code_for_paper("2505.07215")
get_code_for_paper("2505.07215")
have("2505.07215")

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

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

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

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

Connect an agent — have() is free.