GAMESS researchers convert GAMESS's two-electron-integral core (56,448 lines of Fortran 77) to Fortran 2008 with three Claude Code roles, matching test energies bit for bit
Four researchers modernised the two-electron-integral routines of GAMESS, a quantum-chemistry package with a 48-year history, from fixed-form Fortran 77 to free-form Fortran 2008: twelve source files, 56,448 lines and 225 subroutines. Three prompt-specialised agent roles ran as Claude Code instances in isolated git worktrees, working under a version-controlled specification the agents wrote and revised themselves, while humans held a small number of gates. The work spanned four Claude model generations. The merge criterion was bit-for-bit reproduction of the energies printed by GAMESS's standard test suite, where a twelfth-decimal deviation counts as failure. All twelve files pass a 51-test battery (the 49 standard tests plus two more) and the Jenkins CI tests, and across 612 test runs there were zero chemistry-relevant differences.
The numbers (as reported)
| Scope | 12 source files, 56,448 lines, 225 subroutines |
|---|---|
| Validation | 51-test battery (49 standard GAMESS tests + 2) |
| Test runs | 612, zero chemistry-relevant differences |
| Agents | Three Claude Code roles in isolated worktrees, across four Claude model generations |
Facts
- Company / subject
- GAMESS (Shen, Sosonkina, Xu, Gordon)
- Tools
- Claude Code
- Codebase
- brownfield
- Work type
- Upgrade / modernisation
- Stack
- Fortran 77, Fortran 2008, Jenkins
- Published
- 2026-08-12
- Last checked
- 2026-11-18
What the source claims Practitioner (own blog/paper)
Claimed by the builder, writing about their own work. Not checked independently.
- All twelve converted files pass the 51-test validation battery and the Jenkins CI tests 12 of 12 files
- Across 612 test runs, zero chemistry-relevant differences 612 runs, 0 differences
Caveats
A paper by the people who did the work. Taken from the arXiv abstract only; affiliations, duration, cost and human effort aren’t stated there. Fixed-form to free-form Fortran is a modernisation within one language, not a port.
More stories by tool: Claude Code
Related topics: Upgrades and modernisationBrownfield codebases
Source
arXiv 2608.12249 (Yuzhong Shen, Masha Sosonkina, Peng Xu, Mark S. Gordon)