Noah-MP-bench: Are AI-Generated Land Surface Model Changes Physically Consistent?
Land surface models simulate the exchange of water, energy, and carbon between the land and the atmosphere, and they supply the lower boundary for weather and climate prediction. Changing one of these models requires knowledge of hydrology, snow physics, and biogeochemistry together with familiarity with a large Fortran code base, because each process is coupled to others through shared water, energy, and carbon budgets. AI coding systems can now modify scientific software, but successful compilation alone gives little evidence that a change represents the intended physics. An edit may alter snow compaction, water release, or carbon exchange while also affecting conservation elsewhere in the model. Evaluating this capability requires connecting a scientific objective to the quantitative behavior of the resulting code. We introduce Noah-MP-bench, a benchmark for evaluating whether AI-generated changes to the Noah-MP land surface model are physically consistent. Tasks are derived from documented developer changes and ask an AI system to modify existing model code from a written physical objective. The seven tasks cover snow, runoff, crop carbon, and urban initialization. Each task is scored by a physical test: a controlled numerical experiment that runs the changed routine and checks the magnitude and timing of the response, conservation, and dependence on physical state. Each test fails the original code and passes the developer's change, and it also accepts alternative implementations that meet the same criteria. The evaluated coding agent (Codex) passed 14 of 17 scored attempts on six tasks; all three failures were on basal snow drainage. The seventh task has no scored attempt because every attempt was excluded for access to reference-related material. The passing attempts cover snow compaction, crop carbon balance, runoff, and urban initialization. Case studies of the scored agent and of four directly prompted models show why plausible edits can still fail: an excessive or reversed response, incomplete treatment of water pathways, or a violation of water conservation. A passing runoff implementation also contains an array-layout error that the test scenarios do not exercise. Noah-MP-bench makes the physical consequences of AI-generated model changes measurable. The results motivate evaluating scientific coding through quantitative process behavior and conservation together, combined with code review and broader scenarios.
Authors
- Koutian WU (ORCID: https://orcid.org/0000-0002-8409-3579)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-28
- DOI
- https://doi.org/10.5281/zenodo.24616162
- Primary Topic
- Meteorological Phenomena and Simulations
- Type
- preprint