SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2510.21652 · ICLR · 2025

AstaBench: Rigorous Benchmarking of AI Agents with a Scientific Research Suite

Ashish Sabharwal, Peter Clark, Yoav Goldberg, Amanpreet Singh, Bodhisattwa Majumder, Jonathan Bragg, Kyle Richardson, Varsha Kishore, Jena Hwang, Peter Jansen, Matt Latzke, Doug Downey, and 27 more

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 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 1 has no contract verdict; 4 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2510.21652.json · badge: /api/ran/2510.21652.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
allenai/agent-baselines canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
FunctionStatusWhere it lives
clean_observation Ran
ran; our contract draft was wrong, not the code
allenai/agent-baselines/agent_baselines/solvers/code_agent/llm_agent.py
code served (permissive licence) · get_code("2a87e111db4f16b1")
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 delete_lines_containing(pat: str, string: str):
    lines = string.split('\n')
    lines = [line for line in lines if not re.search(pat, line)]
    return '\n'.join(lines)

def clean_observation(observation: str) -> str:
    """Observation may be cluttered with progress bars such as "Resolving deltas:  99% (6865/6929)".
    For now, we manually define a list of patterns to remove from the observation. SUPER specific
    patterns for now.

    Arguments:
        observation: The raw environment observation trace.

    Returns:
       The cleaned and normalized observation string.

    """
    observation = observation.replace('\r\n', '\n').replace('\r', '\n')
    observation = delete_lines_containing(':\\s*\\d{1,2}\\%\\s*\\(\\d*\\/\\d*\\)', observation)
    observation = delete_lines_containing('MB\\/s', observation)
    observation = re.sub('\\x1B\\[[0-9;]*[m]', '', observation)
    observation = re.sub('\\s*\\d*\\%.*\\[.*\\]\\s*\\d*\\s*\\/\\s*\\d*\\n', '', observation)
    observation = delete_lines_containing('gcc', observation)
    observation = delete_lines_containing('INFO - allennlp.common.params - ', observation)
    observation = delete_lines_containing('INFO - allennlp.nn.initializers', observation)
    observation = delete_lines_containing('Linear\\(in_features=', observation)
    observation = delete_lines_containing('LayerNorm', observation)
    observation = delete_lines_containing('Dropout\\(p=', observation)
    observation = delete_lines_containing('allennlp.common.util', observation)
    observation = delete_lines_containing('Downloading.*http.*\\d{1,3}%', observation)
    return observation


# Sample observation string with various cluttered elements that should be cleaned
sample_observation = """Starting processing...
Resolving deltas:  42% (1234/5678)
Downloaded 256 MB/s
Processing file
\x1B[32mSome colored output\x1B[m
  50%[==========]  100  /  200
gcc version 9.0
INFO - allennlp.common.params - Loading model
INFO - allennlp.nn.initializers - Initializing weights
Linear(in_features=512, out_features=256)
LayerNorm(normalized_shape=(256,), eps=1e-05)
Dropout(p=0.5, inplace=False)
allennlp.common.util: Some utility message
Downloading file http://example.com/file 75%
Final result: complete
"""

ARGS = {
    "observation": sample_observation
}
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
delete_lines_containing Ran
ran; our contract draft was wrong, not the code
allenai/agent-baselines/agent_baselines/solvers/code_agent/llm_agent.py
code served (permissive licence) · get_code("d2a7a3788d174821")
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 delete_lines_containing(pat: str, string: str):
    lines = string.split('\n')
    lines = [line for line in lines if not re.search(pat, line)]
    return '\n'.join(lines)

ARGS = {
    'pat': r'test|error',
    'string': 'line one\ntest line two\nline three\nerror line four\nline five'
}
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
find_matches Ran
ran; our contract draft was wrong, not the code
allenai/agent-baselines/agent_baselines/solvers/code_agent/environment.py
code served (permissive licence) · get_code("543b1d7a11074f11")
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. 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

# Analyze the function:
# - content_lines: list of strings, iterated over with indexing
# - context_lines_before_patch: list of strings, concatenated with replaced_lines
# - replaced_lines: list of strings, concatenated with context_lines_before_patch
# - strip: boolean parameter

# The function searches for matches of combined context+replaced lines in content_lines
# It accesses elements by index and calls .strip() on strings

ARGS = {
    "content_lines": [
        "def hello():",
        "    print('world')",
        "    return 42",
        "    # comment",
        "def goodbye():",
        "    print('farewell')"
    ],
    "context_lines_before_patch": [
        "def hello():",
        "    print('world')"
    ],
    "replaced_lines": [
        "    return 42",
        "    # comment"
    ],
    "strip": False
}
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 — a tuple output has no array shape of its own; none is 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
parse_response Ran
ran; our contract draft was wrong, not the code
allenai/agent-baselines/agent_baselines/solvers/code_agent/llm_agent.py
code served (permissive licence) · get_code("cdad0f257db7572a")
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 json
import re
from typing import Dict, List, Optional, Tuple

# Test case 1: XML-style response with <thought> and <action type> tags
response_text_1 = """<thought>I need to search for information</thought>
<action type="search">
<content>what is machine learning</content>
</action>"""

# Test case 2: Thought and Action format without XML
response_text_2 = """Thought: Let me think about this problem step by step.
Action: calculate
<content>2 + 2</content>"""

# Test case 3: Submit action with JSON content (json_output=True)
response_text_3 = """Thought: I have found the answer.
Action: submit
<content>
{"answer": "42", "confidence": 0.95}
</content>"""

# Test case 4: Submit action with JSON content (json_output=False, default)
response_text_4 = """Thought: Processing complete.
Action: submit
<content>
{"result": "success"}
</content>"""

ARGS = {
    "response_text": response_text_1,
    "json_output": False
}
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 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
query_youcom Ran
ran on a synthesized input
allenai/agent-baselines/agent_baselines/solvers/youcom.py
code served (permissive licence) · get_code("6c50b73695bcfe90")
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 coroutine. 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 aiohttp
from unittest.mock import AsyncMock, MagicMock, patch

# Define the arguments for query_youcom
ARGS = {
    'api_type': 'research',
    'question': 'What is machine learning?',
    'api_key': 'test-api-key-12345',
    'instructions': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
aiohttp — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type coroutine — a coroutine output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a coroutine 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

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 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, 0 later) and 4 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
find_matches 1 other paper
1 dated earlier
2409.07440 (2024-09)
SUPER: Evaluating Agents on Setting Up and Executing Tasks from Research Repositories

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

AI agents hold the potential to revolutionize scientific productivity by automating literature reviews, replicating experiments, analyzing data, and even proposing new directions of inquiry; indeed, there are now many such agents, ranging from generalpurpose "deep research" systems to specialized science-specific agents, such as AI Scientist and AIGS. Rigorous evaluation of these agents is critical for progress. Yet existing benchmarks fall short on several fronts: they often (1) lack reproducible agent tools necessary for a controlled comparison of core agentic capabilities; (2) do not account for confounding variables such as model cost and tool access; (3) do not provide standardized interfaces for quick agent prototyping and evaluation; (4) fail to provide holistic, product-informed measures of real-world use cases such as science research; and (5) lack comprehensive baseline agents necessary to identify true advances. In response, we define principles and tooling for more rigorously benchmarking agents. Using these, we present AstaBench, a suite that provides a holistic measure of agentic ability to perform scientific research, comprising 2400+ problems spanning the entire scientific discovery process and multiple scientific domains, and including many problems inspired by actual user requests to deployed Asta agents. Our suite comes with the first scientific research environment with production-grade search tools that enable controlled, reproducible evaluation, better accounting for confounders. Alongside, we provide a comprehensive suite of nine science-optimized classes of Asta agents and numerous baselines. Our extensive evaluation of 57 agents across 22 agent classes reveals several interesting findings, most importantly that despite meaningful progress on certain individual aspects, AI remains far from solving the challenge of science research assistance.

For agents

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

get_harvested_code_for_paper("2510.21652")
get_code_for_paper("2510.21652")
have("2510.21652")

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

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

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

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

Connect an agent — have() is free.