Artificial Intelligence

ESM-Bench: A New Benchmark Testing AI Agents' Grasp of Earth System Model Physics and Code

An arXiv paper introduces ESM-Bench, 60 tasks from 6 scientific repositories, and finds that text-pattern checkers can pass patches that cannot even be applied.

By Oemah Solution Editorial 3 min read

This article was prepared with AI assistance from the official sources listed below, and checked automatically before publication.

Earth climate simulation shown as a globe with storm vortices and clouds over Asia and the Pacific
Photo: Climate simulation (8134315406) by Oak Ridge National Laboratory · CC BY 2.0 · Wikimedia Commons

A group of researchers comprising Koutian Wu, Yuxuan Cao, Gengchen Mai, and Zeping Liu uploaded a paper to arXiv on 21 November 2026. The paper introduces ESM-Bench, a benchmark for assessing whether AI-based coding agents understand both the physics and the code of Earth System Models (ESMs). The standout finding: text-pattern checkers can pass patches that cannot actually be applied.

What ESM-Bench tests

According to the authors, an AI agent that modifies ESM code must preserve two things at once: the software interface and the physical assumptions embedded in it. ESM-Bench consists of 60 tasks based on developer commits from six repositories: Noah-MP, CLM5, SUMMA, ParFlow, MOM6, and VIC.

The composition of the v5 corpus is:

  • 17 physics-based bug fixes;
  • 16 process-representation modifications;
  • 13 parameterisation scheme selections;
  • 14 parameter optimisation tasks.

Each task contains a scientific objective, source files from the parent commit, a reference diff, and three stored prompt variants. An artefact audit confirmed that all 60 reference diffs can be applied to their original files. The authors also define an eight-item patch review rubric.

Audit finding: passing a check does not mean being correct

The authors audited five archived patch fixtures against the locally implemented checkers. The result was striking: none of the five diffs could be applied to its original files, yet three text-pattern checkers still gave a pass status.

Other findings in the paper:

  • Expression replay on ParFlow does not match the reference slope.
  • The pattern check on MOM6 successfully detected a missed update.
  • Inspection found that the retained VIC reference assignment overwrites the intended vegetation-specific albedo.

The authors conclude that these findings show the limitations of reference patches and local proxies as evidence of correctness.

Acknowledged limitations

This release provides a reproducible corpus and diagnostic tools. However, the authors state that full expert validation, performance comparison across agents, and full model execution have not yet been measured in v5. This means that, at this stage, ESM-Bench cannot yet be used to rank which AI agent is the most reliable; its value lies in the corpus and the lessons on how to verify.

Implications for organisations in Indonesia

These findings are relevant for teams that use AI coding agents on scientific or domain-knowledge-heavy code, such as climate modelling, hydrology, or research workloads, including at institutions similar to BMKG and universities. In this kind of code, a change that looks syntactically tidy can still break physical assumptions.

Several practical steps to consider:

  • Do not rely on automated text-pattern checks as the sole evidence that a patch is correct.
  • Make sure the patch can actually be applied to the base code before its content is assessed.
  • Involve domain experts in review, with an explicit rubric, for example drawing on the idea of the eight-item rubric in the paper.
  • Add execution-based validation, such as running test cases and comparing outputs with reference values, rather than merely matching text.
  • Treat reference patches as a comparison point, not absolute truth, because the paper found reference cases that actually overwrite the intended values.

For IT managers, the general lesson is clear: the more domain-specific a piece of code is, the greater the role of human review by people who understand the science, and of testing that genuinely runs the code.

#ai coding agent#benchmark#earth system model#code review#arxiv

Sources & references

This article is a summary and interpretation by the Oemah Solution team of the sources below. Refer to the original sources for full details and context.

  1. ESM-Bench: A Benchmark for Evaluating Whether AI Agents Understand Earth System Model Physics and Code arXiv · arxiv.org