Computer models are essential tools for understanding our planet, from forecasting weather to studying climate change. As these models become more powerful and complex, we need better ways to ensure they are accurate and free of errors. The traditional method of manually checking a few standard simulations is no longer sufficient and can allow subtle bugs to go unnoticed, potentially affecting scientific conclusions.
To address this challenge, we applied modern techniques from the professional software industry to two complex models that simulate Earth's upper atmosphere. We built an automated system that acts like a vigilant quality checker. Every time a scientist makes a change to the code, this system automatically runs thousands of small checks to verify each component, as well as larger tests to ensure the entire model works as expected.
This 'continuous testing' approach makes our scientific software significantly more reliable and trustworthy. It helps scientists catch errors early, builds confidence in the simulation results, and makes it easier for researchers to collaborate on improving the code. By treating our scientific software with this rigor, we improve the quality and dependability of research used to understand our world.