SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2110.04629 · 2021

The Neural Testbed: Evaluating Joint Predictions

arXiv · PDF · Open in the Atlas

Code that ran

2 of 2 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 2 have no contract verdict; 0 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/2110.04629.json · badge: /api/ran/2110.04629.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
google-deepmind/neural_testbed community (classifier label)
classifier basis not recorded on the link
2 ran · 0 no recorded run
FunctionStatusWhere it lives
combine_leaderboards Ran
ran on a synthesized input
google-deepmind/neural_testbed/neural_testbed/leaderboard/score.py
code served (permissive licence) · get_code("467b5f8cab99e0d6")
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 LeaderboardData. 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 pandas as pd
import dataclasses
from typing import Optional, Sequence

@dataclasses.dataclass
class AgentData:
    """Contains cleaned data for a single ENN agent."""
    df: pd.DataFrame
    name: str = 'agent'
    score: float = 1000000.0
    pct_health: float = 0.0
    validated: bool = False
    xm_link: Optional[str] = None
    report_link: Optional[str] = None

@dataclasses.dataclass
class LeaderboardData:
    """Contains cleaned data for a collections of agents."""
    agents: Sequence[AgentData]
    sweep_vars: Optional[Sequence[str]] = None

    def __post_init__(self):
        """Form a cleaned version of the joined data."""
        self.df = _make_leaderboard_dataframe(self.agents, self.sweep_vars)
        self.names = [x.name for x in self.agents]

def _make_leaderboard_dataframe(agents: Sequence[AgentData], sweep_vars: Optional[Sequence[str]]=None) -> pd.DataFrame:
    """Process leaderboard entries into a unified dataframe."""
    data = []
    for agent in agents:
        data.append(agent.df.assign(report_link=agent.report_link))
    df = pd.concat(data, ignore_index=True)
    df['entry_name'] = df.agent_name.apply(lambda x: x.split(':')[0])
    df['task'] = df.problem_id.apply(lambda x: x.split('/')[0])
    if sweep_vars:
        for col in sweep_vars:
            try:
                df[col] = df[col].fillna('nan')
            except KeyError:
                df[col] = 'nan'
            except ValueError:
                pass
    return df

def combine_leaderboards(boards: Sequence[LeaderboardData]) -> LeaderboardData:
    """Combine multiple leaderboards into one."""
    agents = []
    sweep_vars = []
    names = []
    for board in boards:
        sweep_vars.extend(board.sweep_vars if board.sweep_vars else [])
        for agent in board.agents:
            agents.append(agent)
            if agent.name not in names:
                names.append(agent.name)
            else:
                raise ValueError(f'Duplicate agent={agent.name} encountered. You must rename agent to combine leaderboards.')
    return LeaderboardData(agents, list(set(sweep_vars)) if sweep_vars else None)

df1 = pd.DataFrame({
    'agent_name': ['agent_1:v1', 'agent_2:v1'],
    'problem_id': ['task_a/problem_1', 'task_b/problem_2'],
    'score': [0.9, 0.8],
    'param_x': [1, 2]
})

df2 = pd.DataFrame({
    'agent_name': ['agent_3:v1', 'agent_4:v1'],
    'problem_id': ['task_a/problem_3', 'task_b/problem_4'],
    'score': [0.7, 0.6],
    'param_y': [3, 4]
})

agent1 = AgentData(df=df1, name='agent_1', score=0.9, pct_health=1.0, validated=True)
agent2 = AgentData(df=df2, name='agent_2', score=0.8, pct_health=0.95, validated=True)

board1 = LeaderboardData(agents=[agent1], sweep_vars=['param_x'])
board2 = LeaderboardData(agents=[agent2], sweep_vars=['param_y'])

ARGS = {
    'boards': [board1, board2]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type LeaderboardData — a LeaderboardData output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a LeaderboardData 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
logging_freq Ran
ran on a synthesized input
google-deepmind/neural_testbed/neural_testbed/agents/enn_agent.py
code served (permissive licence) · get_code("d3c792b894c4813b")
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 torch.nn as nn

torch.manual_seed(0)

# Analyze the function signature and body:
# - num_batches: int - required parameter
# - num_points: int - optional, defaults to 30
# - log_freq: Optional[int] - optional, defaults to None

# The function body shows:
# - num_batches is used in division (num_batches / num_points)
# - num_points is used in division
# - log_freq is checked if None, then used or computed

# Construct valid arguments
ARGS = {
    "num_batches": 1000,
    "num_points": 30,
    "log_freq": None,
}
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 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

Also present in other papers' code

Of 2 samples lifted from this paper's linked repositories, 2 carry a function identity and 0 do not. Of the 2 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 later) and 0 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
combine_leaderboards 1 other paper
1 later
2211.01568 (2022-11)
Fine-Tuning Language Models via Epistemic Neural Networks
logging_freq 1 other paper
1 later
2211.01568 (2022-11)
Fine-Tuning Language Models via Epistemic Neural Networks

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

Predictive distributions quantify uncertainties ignored by point estimates. This paper introduces The Neural Testbed: an open-source benchmark for controlled and principled evaluation of agents that generate such predictions. Crucially, the testbed assesses agents not only on the quality of their marginal predictions per input, but also on their joint predictions across many inputs. We evaluate a range of agents using a simple neural network data generating process. Our results indicate that some popular Bayesian deep learning agents do not fare well with joint predictions, even when they can produce accurate marginal predictions. We also show that the quality of joint predictions drives performance in downstream decision tasks. We find these results are robust across choice a wide range of generative models, and highlight the practical importance of joint predictions to the community.

For agents

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

get_harvested_code_for_paper("2110.04629")
get_code_for_paper("2110.04629")
have("2110.04629")

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

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

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

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

Connect an agent — have() is free.