TITLE = """
AstaBench Leaderboard
"""
INTRO_PARAGRAPH = """
Newer benchmarks may test agentic AI and isolated aspects of scientific reasoning, but none rigorously measure agentic AI or capture the full range of skills research demands. Agents can appear effective by simply retrying tasks—often at high computational cost and with inconsistent results. Scientific AI needs evaluations that reflect the real complexity of research.
AstaBench fills that gap: a suite of open benchmarks for evaluating scientific AI assistants on core scientific tasks that require novel reasoning. The suite includes over 8,000 tasks across 11 benchmarks, organized into four core categories: Literature Understanding, Code & Execution, Data Analysis, and End-to-End Discovery.
The **AstaBench Leaderboard** below provides a high-level summary of agent performance and efficiency. It includes:
- An **overall score**, computed as a macro average of the four category-level macro averages, ensuring each domain contributes equally—regardless of how many benchmarks each category includes. This provides a fair and balanced comparison across agents with varying capabilities.
- An **overall average cost per task**, consistently aggregated across all categories, to reflect the real efficiency of each agent under comparable conditions.
To support domain-specific insight, AstaBench also provides per-category leaderboards:
- Literature Understanding
- Code & Execution
- Data Analysis
- End-to-End Discovery
Each category page includes a summary table (average score and cost per problem for that domain), as well as per-benchmark leaderboards for detailed comparisons on specific tasks.
🔍 Learn more in the AstaBench technical blog post
"""
SCATTER_DISCLAIMER = """
Note: Only agents with valid cost data are shown in the scatter plot, as both performance and efficiency are required for comparison. Agents without cost data still appear in the tables below.
"""
PARETO_DISCLAIMER = """
Agents names that are green are Pareto optimal, meaning they achieve the best performance for their cost.
"""
LIT_DESCRIPTION = """
The **Literature Understanding** category evaluates how well agents comprehend and interact with scientific literature—testing their ability to find research papers, assess citation quality, extract information from text, and more.
The scores shown below reflect performance aggregated across five distinct benchmarks, each targeting a different aspect of literature-based reasoning:
- PaperFinding Bench – PLACEHOLDER DESCRIPTION
- ScholarQA Bench2 – PLACEHOLDER DESCRIPTION
- LitQA2-FT – PLACEHOLDER DESCRIPTION
- ArxivDIGES Tables-Clean – PLACEHOLDER DESCRIPTION
Together, these tasks form a comprehensive evaluation of an agent’s ability to navigate, understand, and reason over scientific publications
"""
CODE_EXECUTION_DESCRIPTION = """
The **Code & Execution** category in AstaBench includes tasks that evaluate an agent’s ability to write, modify, and run code in realistic research scenarios. Unlike literature tasks—which can sometimes be solved by a language model alone—these problems often require the agent to interact with tools: reading input files, executing code, and writing outputs to specific files in the required format.
The scores in this category are aggregated from three distinct benchmarks, each targeting different facets of scientific coding and execution:
- CORE-Bench-Hard – PLACEHOLDER DESCRIPTION
- DS-1000 – PLACEHOLDER DESCRIPTION
- SUPER-Expert – PLACEHOLDER DESCRIPTION
Together, these benchmarks evaluate whether an agent can function as a hands-on scientific assistant—not just by reasoning about code, but by running it in real-world contexts.
"""
DATA_ANALYSIS_DESCRIPTION = """
The **Data Analysis** category evaluates agents on their ability to analyze structured datasets and generate meaningful scientific hypotheses. It currently includes a single benchmark:
- DiscoveryBench
so the category-level scores are the same as the benchmark-level results.
As additional benchmarks are added in the future, this category will expand to cover a broader range of data-driven reasoning tasks across scientific domains.
"""
DISCOVERY_DESCRIPTION = """
The **End-to-End Discovery** category tests whether agents can carry out a complete scientific workflow—from hypothesis generation and experiment design to code execution, analysis, and report writing. These tasks require agents to integrate multiple capabilities, producing not just answers but full research artifacts.
Scores in this category are aggregated from two benchmarks:
- E2E-Bench – PLACEHOLDER DESCRIPTION
- E2E-Bench-Hard – PLACEHOLDER DESCRIPTION
This category provides the first standardized way to evaluate automated scientific discovery (ASD) agents across all stages of the research process.
"""
CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
CITATION_BUTTON_TEXT = r"""@article{asta-bench,
title={AstaBench},
author={AstaBench folks},
year={2025},
eprint={TBD.TBD},
archivePrefix={arXiv},
primaryClass={cs.AI},
secondaryClass={cs.CL}
}"""
def format_error(msg):
return f"{msg}
"
def format_warning(msg):
return f"{msg}
"
def format_log(msg):
return f"{msg}
"
def hyperlink(link_url: str, text: str = "🔗") -> str:
if not link_url or not isinstance(link_url, str):
return str(text) # Or simply "" if link_url is bad
# Using a simpler style here for broad compatibility, your original style is fine too.
return f'{text}'
def hf_uri_to_web_url(uri: str) -> str:
"""
Convert a Hugging Face-style URI like:
hf://datasets/{namespace}/{repo}/{path...}
into a public web URL:
https://huggingface.co/datasets/{namespace}/{repo}/tree/main/{path...}
"""
prefix = "hf://datasets/"
if not uri.startswith(prefix):
raise ValueError("URI must start with 'hf://datasets/'")
parts = uri[len(prefix) :].split("/", 2)
if len(parts) < 3:
raise ValueError("Expected format: hf://datasets/{namespace}/{repo}/{path...}")
namespace, repo, path = parts
return f"https://huggingface.co/datasets/{namespace}/{repo}/tree/main/{path}"
css = """
#intro-paragraph {
font-size: 18px;
max-width: 60%;
}
#category-intro {
font-size: 18px;
max-width: 60%;
}
#logo-image {
margin: 0;
margin-bottom: 30px;
justify-content: flex-start;
max-width: 250px;
height: auto;
}
.table-component{
height: auto !important;
max-height: none !important;
}
.table-wrap {
max-height: none !important;
height: auto !important;
overflow-y: visible !important;
}
/* --- New Rules for Table Density --- */
table.gr-table th, table.gr-table td {
padding: 4px 4px !important;
width: 1%;
white-space: nowrap;
}
table.svelte-1e98i6s td {
vertical-align: top !important;
}
table.gr-table {
font-size: 14px !important;
}
.html-container {
padding-top: 0 !important;
}
#scatter-disclaimer {
color: #f0529c !important;
}
#pareto-disclaimer {
color: #f0529c !important;
}
thead.svelte-1e98i6s th {
background: white !important;
}
.dark thead.svelte-1e98i6s th {
background: #091a1a !important;
}
.cell-wrap.svelte-v1pjjd {
font-family: 'Manrope';
}
nav.svelte-ti537g.svelte-ti537g {
justify-content: flex-start;
}
#legend-markdown span {
margin-right: 15px !important;
}
#leaderboard-accordion .label-wrap {
font-size: 1.4rem !important;
}
.dark #leaderboard-accordion .label-wrap {
color: #0FCB8C !important;
}
.dark block.svelte-1svsvh2 {
background: #032629 !important;
}
.sub-nav-bar {
margin-bottom: 20px; /* The space below the nav bar */
}
.sub-nav-bar a {
font-size: 16px;
border-radius: 5px;
transition: background-color 0.2s;
padding-right: 15px;
}
.padding.svelte-phx28p {
padding: 0 !important;
}
"""