ESM-Bench: A Benchmark for Evaluating Whether AI Agents Understand Earth System Model Physics and Code
Abstract
AI coding agents that modify Earth System Model (ESM) code must preserve both software interfaces and the physical assumptions encoded in them. We introduce ESM-Bench, a benchmark of 60 developer-commit tasks from 6 repositories: Noah-MP, CLM5, SUMMA, ParFlow, MOM6, and VIC. The v5 corpus contains 17 physics-based bug fixes, 16 process-representation modifications, 13 parameterization-scheme selections, and 14 parameter-optimization tasks. Each task includes a scientific objective, parent-commit source files, a reference diff, and three stored prompt variants. An artifact audit confirms that all 60 reference diffs apply to their supplied starting files. We define an eight-item patch-review rubric and audit five archived patch fixtures against the implemented local checkers. None of the five fixture diffs applies to its supplied starting files, yet three text-pattern checkers return a pass. A ParFlow expression replay disagrees with the reference slopes, and a MOM6 pattern check detects an omitted update. Inspection also identifies a retained VIC reference assignment that overwrites the intended vegetation-specific albedo. These findings expose limits of reference patches and local proxies as correctness evidence. The release provides a reproducible corpus and diagnostic tools; complete expert validation, comparative agent performance, and full-model execution remain unmeasured on v5.
Related
- HydroTuring: A physics probe benchmark testing mass, energy, and momentum conservation in hydrologic models
- Evaluating LLMs for Translating Legacy Fortran Atmospheric Physics to GPU-Accelerated JAX
- Physics-informed neural networks with Sobolev shape regularization for thermal infrared temperature and emissivity separation: an open, leakage-controlled benchmark against the ASTER/HyTES TES algorithm
- Physics vs. AI in weather prediction: evaluating GraphCast, AIFS, and FuXi against an observation-corrected WRF model for flash floods
- BathyProf: a benthic micro-profiler on a crawler in the deep Mediterranean: a tool to understand the functioning of deep sediments ecosystems
BibTeX
@misc{wu2026esmbench,
title = {{ESM-Bench: A Benchmark for Evaluating Whether AI Agents Understand Earth System Model Physics and Code}},
author = {Koutian Wu and Yuxuan Cao and Gengchen Mai and Zeping Liu},
howpublished = {arXiv},
year = {2026},
month = nov,
doi = {10.48550/arxiv.2611.28477},
eprint = {2611.28477},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.28477},
note = {CC BY-NC-SA 4.0},
}
RIS
TY - UNPB
TI - ESM-Bench: A Benchmark for Evaluating Whether AI Agents Understand Earth System Model Physics and Code
AU - Koutian Wu
AU - Yuxuan Cao
AU - Gengchen Mai
AU - Zeping Liu
PY - 2026
DA - 2026/11/21
PB - arXiv
DO - 10.48550/arxiv.2611.28477
UR - https://arxiv.org/abs/2611.28477
AB - AI coding agents that modify Earth System Model (ESM) code must preserve both software interfaces and the physical assumptions encoded in them. We introduce ESM-Bench, a benchmark of 60 developer-commit tasks from 6 repositories: Noah-MP, CLM5, SUMMA, ParFlow, MOM6, and VIC. The v5 corpus contains 17 physics-based bug fixes, 16 process-representation modifications, 13 parameterization-scheme selections, and 14 parameter-optimization tasks. Each task includes a scientific objective, parent-commit source files, a reference diff, and three stored prompt variants. An artifact audit confirms that all 60 reference diffs apply to their supplied starting files. We define an eight-item patch-review rubric and audit five archived patch fixtures against the implemented local checkers. None of the five fixture diffs applies to its supplied starting files, yet three text-pattern checkers return a pass. A ParFlow expression replay disagrees with the reference slopes, and a MOM6 pattern check detects an omitted update. Inspection also identifies a retained VIC reference assignment that overwrites the intended vegetation-specific albedo. These findings expose limits of reference patches and local proxies as correctness evidence. The release provides a reproducible corpus and diagnostic tools; complete expert validation, comparative agent performance, and full-model execution remain unmeasured on v5.
ER -