SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.05208 · NeurIPS · 2024

ZSC-Eval: An Evaluation Toolkit and Benchmark for Multi-agent Zero-shot Coordination

Weinan Zhang, Ying Wen, Jingxiao Chen, Xihuai Wang, Shao Zhang, Wenhao Zhang, Wentao Dong

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 1 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/2310.05208.json · badge: /api/ran/2310.05208.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
HumanCompatibleAI/overcooked_ai canonical (classifier label)
classifier basis: census
6 ran · 0 no recorded run
sjtu-marl/ZSC-Eval canonical (classifier label)
classifier basis: census
2 ran · 1 no recorded run
FunctionStatusWhere it lives
DEFAILT_PARAMS_SCHEDULE_FN Ran
ran; our contract draft was wrong, not the code
HumanCompatibleAI/overcooked_ai/src/overcooked_ai_py/mdp/layout_generator.py
code served (permissive licence) · get_code("df03d7c6bdd59e3e")
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)

# The function takes one parameter: outside_information
# Looking at the function body, it doesn't actually use outside_information
# It just returns a hardcoded dict with MDP parameters
# So outside_information can be any value - a dict, a class, etc.

class OutsideInformation:
    """Stand-in class for outside_information parameter"""
    def __init__(self):
        self.data = "some_context"

outside_info = OutsideInformation()

ARGS = {
    'outside_information': outside_info
}
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
add_path_prefix Ran
ran; our contract draft was wrong, not the code
sjtu-marl/ZSC-Eval/zsceval/algorithms/population/policy_pool.py
code served (permissive licence) · get_code("57efc99646843520")
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 os

# Analyzing the function:
# - add_path_prefix(pre, x) takes two parameters: pre (a path prefix) and x (either a dict or str)
# - If x is a dict, it recursively applies add_path_prefix to all values
# - If x is a str, it joins the prefix with the string using os.path.join
# - Otherwise it raises RuntimeError

# Test case 1: x is a simple string
pre_value = "/base/path"
x_value = "relative/file.txt"

# Test case 2: x is a dict with string values (including nested dicts)
ARGS = {
    "pre": "/home/user",
    "x": {
        "model_path": "models/model.pt",
        "data_path": "data/dataset.csv",
        "nested": {
            "config": "configs/config.yaml",
            "checkpoint": "checkpoints/ckpt.pth"
        }
    }
}
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 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
append_trajectories Ran
ran; our contract draft was wrong, not the code
HumanCompatibleAI/overcooked_ai/src/overcooked_ai_py/mdp/overcooked_trajectory.py
code served (permissive licence) · get_code("b164bf4f4d2ab309")
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

# Create sample trajectories with the required keys
def create_sample_trajectory():
    """Create a valid trajectory dict with all required keys"""
    traj = {
        'ep_states': [np.array([1.0, 2.0]), np.array([3.0, 4.0])],
        'ep_actions': [np.array([0.5]), np.array([0.7])],
        'ep_rewards': [1.0, 2.0],
        'ep_dones': [False, True],
        'ep_infos': [{}, {}],
        'ep_returns': np.array([3.0, 2.0]),
        'ep_lengths': np.array([2, 1]),
        'mdp_params': np.array([0.1, 0.2]),
        'env_params': np.array([1.0, 1.5]),
        'metadatas': {'episode_id': 1}
    }
    return traj

def create_empty_trajectory():
    """Create an empty trajectory dict"""
    return {
        'ep_states': [],
        'ep_actions': [],
        'ep_rewards': [],
        'ep_dones': [],
        'ep_infos': [],
        'ep_returns': np.array([]),
        'ep_lengths': np.array([]),
        'mdp_params': np.array([]),
        'env_params': np.array([]),
        'metadatas': {}
    }

# Create two sample trajectories to append
traj_one = create_sample_trajectory()
traj_two = create_sample_trajectory()

ARGS = {
    'traj_one': traj_one,
    'traj_two': traj_two
}
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
load_dict_from_file Ran
ran; our contract draft was wrong, not the code
HumanCompatibleAI/overcooked_ai/src/overcooked_ai_py/utils.py
code served (permissive licence) · get_code("591c3a0919cdc129")
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

# Create a temporary file with a dictionary representation
temp_dir = tempfile.mkdtemp()
filepath = os.path.join(temp_dir, "test_dict.py")

# Write a simple dictionary to the file
test_dict = {
    "key1": "value1",
    "key2": 42,
    "key3": [1, 2, 3],
    "key4": {"nested": "dict"}
}

with open(filepath, 'w') as f:
    f.write(repr(test_dict))

ARGS = {
    "filepath": filepath
}
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 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
load_dict_from_txt Ran
ran; our contract draft was wrong, not the code
HumanCompatibleAI/overcooked_ai/src/overcooked_ai_py/utils.py
code served (permissive licence) · get_code("1db1eb104270f970")
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 tempfile
import os

# Create a temporary directory and file for testing
temp_dir = tempfile.mkdtemp()
temp_filepath = os.path.join(temp_dir, "test_config")

# Create a valid dict and write it to a .txt file
test_dict = {
    "model_name": "test_model",
    "learning_rate": 0.001,
    "batch_size": 32,
    "layers": [64, 128, 256],
    "use_dropout": True
}

# Write the dict to file with .txt extension
with open(temp_filepath + ".txt", "w") as f:
    f.write(str(test_dict))

# Define ARGS with the filename parameter (without .txt extension)
# The function will add .txt via fix_filetype
ARGS = {
    "filename": temp_filepath
}
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
load_pickle Ran
ran; our contract draft was wrong, not the code
HumanCompatibleAI/overcooked_ai/src/overcooked_ai_py/utils.py
code served (permissive licence) · get_code("acf181c97884d450")
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 pickle
import tempfile
import os

# Create a temporary directory and a pickle file for testing
temp_dir = tempfile.mkdtemp()
test_data = {"key": "value", "number": 42}
pickle_path = os.path.join(temp_dir, "test_file")

# Write the pickle file
with open(pickle_path + ".pickle", "wb") as f:
    pickle.dump(test_data, f)

# Define ARGS for load_pickle function
ARGS = {
    "filename": pickle_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 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
mdp_fn_random_choice Ran
ran; our contract draft was wrong, not the code
HumanCompatibleAI/overcooked_ai/src/overcooked_ai_py/mdp/layout_generator.py
code served (permissive licence) · get_code("b682a7f9694b60ea")
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 random
import torch

torch.manual_seed(0)

def simple_mdp_fn_1():
    return "mdp_function_1"

def simple_mdp_fn_2():
    return "mdp_function_2"

def simple_mdp_fn_3():
    return "mdp_function_3"

mdp_fn_choices = [simple_mdp_fn_1, simple_mdp_fn_2, simple_mdp_fn_3]

ARGS = {
    "mdp_fn_choices": mdp_fn_choices
}
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 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
scientific_notation Ran
ran, honoured the contract we drafted
sjtu-marl/ZSC-Eval/zsceval/config.py
code served (permissive licence) · get_code("751a21653dbe3c07")
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 torch
import numpy as np

torch.manual_seed(0)

# The function takes a single parameter 'value' and converts it to int via float
# It works with any numeric type that can be converted to float

ARGS = {
    "value": "1.5e2"  # scientific notation string: "1.5e2" = 150.0 -> 150
}
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 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_grf_args Not yet run
unverified (harvested, no recorded run)
sjtu-marl/ZSC-Eval/zsceval/grf_config.py
code served (permissive licence) · get_code("3b9bb888eab52d5e")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 4 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 4 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
load_dict_from_file 3 other papers
2 dated earlier, 1 later
2106.10853 (2021-06)
On the Importance of Environments in Human-Robot Coordination
2302.04831 (2023-02)
Cooperative Open-ended Learning Framework for Zero-shot Coordination
2502.20073 (2025-02)
Collab-Overcooked: Benchmarking and Evaluating Large Language Models as Collaborative Agents
load_dict_from_txt 3 other papers
2 dated earlier, 1 later
2106.10853 (2021-06)
On the Importance of Environments in Human-Robot Coordination
2302.04831 (2023-02)
Cooperative Open-ended Learning Framework for Zero-shot Coordination
2502.20073 (2025-02)
Collab-Overcooked: Benchmarking and Evaluating Large Language Models as Collaborative Agents
load_pickle 3 other papers
2 dated earlier, 1 later
2106.10853 (2021-06)
On the Importance of Environments in Human-Robot Coordination
2302.04831 (2023-02)
Cooperative Open-ended Learning Framework for Zero-shot Coordination
2502.20073 (2025-02)
Collab-Overcooked: Benchmarking and Evaluating Large Language Models as Collaborative Agents
add_path_prefix 1 other paper
1 later
2411.13934 (2024-11)
Learning to Cooperate with Humans using Generative Agents

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

Zero-shot coordination (ZSC) is a new cooperative multi-agent reinforcement learning (MARL) challenge that aims to train an ego agent to work with diverse, unseen partners during deployment. The significant difference between the deploymenttime partners' distribution and the training partners' distribution determined by the training algorithm makes ZSC a unique out-of-distribution (OOD) generalization challenge. The potential distribution gap between evaluation and deploymenttime partners leads to inadequate evaluation, which is exacerbated by the lack of appropriate evaluation metrics. In this paper, we present ZSC-Eval, the first evaluation toolkit and benchmark for ZSC algorithms. ZSC-Eval consists of: 1) Generation of evaluation partner candidates through behavior-preferring rewards to approximate deployment-time partners' distribution; 2) Selection of evaluation partners by Best-Response Diversity (BR-Div); 3) Measurement of generalization performance with various evaluation partners via the Best-Response Proximity (BR-Prox) metric. We use ZSC-Eval to benchmark ZSC algorithms in Overcooked and Google Research Football environments and get novel empirical findings. We also conduct a human experiment of current ZSC algorithms to verify the ZSC-Eval's consistency with human evaluation. ZSC-Eval is now available at https://github.com/sjtu-marl/ZSC-Eval.

For agents

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

get_harvested_code_for_paper("2310.05208")
get_code_for_paper("2310.05208")
have("2310.05208")

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

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

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

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

Connect an agent — have() is free.