SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.15221 · 2024

IntersectionZoo: Eco-driving for Benchmarking Multi-Agent Contextual Reinforcement Learning

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 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; 4 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/2410.15221.json · badge: /api/ran/2410.15221.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
mit-wu-lab/IntersectionZoo canonical (classifier label)
classifier basis: census
7 ran · 0 no recorded run
FunctionStatusWhere it lives
conditions_mapping Ran
ran, honoured the contract we drafted
mit-wu-lab/IntersectionZoo/code/sumo/physical_models.py
code served (permissive licence) · get_code("cc2a948b59b1551c")
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
import numpy as np

# The function takes a condition string parameter
# It expects a string in the format "temp_humidity" where both are numeric values
# The function splits on '_', converts to floats, and rounds them

ARGS = {
    "condition": "23.5_65.3"
}
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 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
filter_obs Ran
ran; our contract draft was wrong, not the code
mit-wu-lab/IntersectionZoo/code/env_demo.py
code served (permissive licence) · get_code("350ea31767709f23")
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 numpy as np

# Construct a valid observation dictionary
# The function expects a dict where:
# - Keys are entity identifiers (anything except 'mock')
# - Values are dicts containing at least 'speed', 'relative_distance', 'tl_phase'
# - Values can be numpy arrays or scalars

obs = {
    'vehicle_1': {
        'speed': np.array([5.2]),
        'relative_distance': np.array([10.5, 20.3, 15.1]),
        'tl_phase': np.array([2]),
        'other_field': np.array([999.0])  # This will be filtered out
    },
    'vehicle_2': {
        'speed': np.array([3.8]),
        'relative_distance': np.array([5.1]),
        'tl_phase': np.array([1]),
        'unused_data': 42  # This will be filtered out
    },
    'pedestrian_1': {
        'speed': 2.0,  # Scalar, not array
        'relative_distance': np.array([7.3, 8.2]),
        'tl_phase': np.array([0])
    },
    'mock': {
        'speed': np.array([100.0]),
        'relative_distance': np.array([999.0])
    }  # This entire entry will be filtered out
}

ARGS = {
    'obs': obs
}
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 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
filter_rew Ran
ran; our contract draft was wrong, not the code
mit-wu-lab/IntersectionZoo/code/env_demo.py
code served (permissive licence) · get_code("1302d25f4d9ad2bb")
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

def filter_rew(rew: dict):
    return {k: v for k, v in rew.items() if k != 'mock'}

# The function takes a dict and filters out any key-value pair where the key is 'mock'
# It doesn't use the values for anything, just iterates over items and checks keys

ARGS = {
    'rew': {
        'reward_1': 10.5,
        'reward_2': 20.3,
        'mock': 999,
        'loss': -5.2,
    }
}
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 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
flatten_dict Ran
ran; our contract draft was wrong, not the code
mit-wu-lab/IntersectionZoo/code/policy_evaluation.py
code served (permissive licence) · get_code("15be2e56e073a228")
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)

# Construct a nested dictionary with various types of values
nested_dict = {
    'layer1': {
        'weight': 0.5,
        'bias': 0.1,
        'config': {
            'learning_rate': 0.001,
            'momentum': 0.9
        }
    },
    'layer2': {
        'activation': 'relu',
        'dropout': 0.2
    },
    'model_name': 'test_model',
    'version': 1
}

ARGS = {
    'd': nested_dict,
    'parent_key': '',
    'sep': '_'
}
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
mapping_moves Ran
ran; our contract draft was wrong, not the code
mit-wu-lab/IntersectionZoo/code/sumo/physical_models.py
code served (permissive licence) · get_code("f41a57b92be0a9ae")
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

def setup_args():
    """Construct valid arguments for mapping_moves function."""
    
    # The function expects a string in format: veh_type.fuel_type.age
    # It splits by '.' and expects three parts
    # veh_type: vehicle type (e.g., 'car', 'truck')
    # fuel_type: fuel type (e.g., 'gasoline', 'diesel')
    # age: age as string convertible to int
    
    veh_emissions_type = 'car.gasoline.5'
    
    return {
        'veh_emissions_type': veh_emissions_type
    }

ARGS = setup_args()
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
npa Ran
ran, honoured the contract we drafted
mit-wu-lab/IntersectionZoo/code/env/environment.py
code served (permissive licence) · get_code("052d7bb0142122e0")
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 (1,) 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

def npa(x: float | int) -> np.ndarray:
    return np.array([x], np.float32)

ARGS = {
    "x": 3.14
}
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 (1,) — shape (1,) 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
vtcpmf_fuel_model Ran
ran, honoured the contract we drafted
mit-wu-lab/IntersectionZoo/code/sumo/physical_models.py
code served (permissive licence) · get_code("b59cb0dd5c16deb9")
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.

import torch
import numpy as np

torch.manual_seed(0)

# The function vtcpmf_fuel_model takes two parameters:
# - v_speed: a scalar or array-like value representing velocity/speed
# - v_accel: a scalar or array-like value representing acceleration

# Based on the function body, both parameters are used in arithmetic operations
# They appear to be numeric scalars or simple numeric values

# Create simple numeric arguments
v_speed = 15.5  # a typical speed value in some unit
v_accel = 2.3   # a typical acceleration value

ARGS = {
    "v_speed": v_speed,
    "v_accel": v_accel
}
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 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

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 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.

FunctionAlso present inEarliest-datedOthers named
flatten_dict 5 other papers
1 dated earlier, 4 later
2405.15589 (2024-05)
Efficient Adversarial Training in LLMs with Continuous Attacks
2412.09764 (2024-12)
Memory Layers at Scale
2503.18866 (2025-03)
Reasoning to Learn from Latent Thoughts
and 2 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

Despite the popularity of multi-agent reinforcement learning (RL) in simulated and two-player applications, its success in messy real-world applications has been limited. A key challenge lies in its generalizability across problem variations, a common necessity for many real-world problems. Contextual reinforcement learning (CRL) formalizes learning policies that generalize across problem variations. However, the lack of standardized benchmarks for multi-agent CRL has hindered progress in the field. Such benchmarks are desired to be based on real-world applications to naturally capture the many open challenges of real-world problems that affect generalization. To bridge this gap, we propose IntersectionZoo, a comprehensive benchmark suite for multi-agent CRL through the real-world application of cooperative eco-driving in urban road networks. The task of cooperative eco-driving is to control a fleet of vehicles to reduce fleet-level vehicular emissions. By grounding IntersectionZoo in a real-world application, we naturally capture real-world problem characteristics, such as partial observability and multiple competing objectives. IntersectionZoo is built on data-informed simulations of 16,334 signalized intersections derived from 10 major US cities, modeled in an open-source industry-grade microscopic traffic simulator. By modeling factors affecting vehicular exhaust emissions (e.g., temperature, road conditions, travel demand), IntersectionZoo provides one million data-driven traffic scenarios. Using these traffic scenarios, we benchmark popular multi-agent RL and human-like driving algorithms and demonstrate that the popular multi-agent RL algorithms struggle to generalize in CRL settings.

For agents

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

get_harvested_code_for_paper("2410.15221")
get_code_for_paper("2410.15221")
have("2410.15221")

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

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

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

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

Connect an agent — have() is free.