TL;DR
Spectroxide is an AI-assisted, open-source software package in Rust and Python for calculating cosmic microwave background spectral distortions across a wide redshift range, validated against known benchmarks.
Contribution
It introduces a novel, fully open-source, AI-assisted computational tool for modeling CMB spectral distortions, with detailed validation and development case study.
Findings
Validated against analytic limits and published spectra.
Contains approximately 14,500 lines of code and 400 automated tests.
Demonstrates effective human-AI collaboration in scientific software development.
Abstract
We present spectroxide, a code package for computing cosmic microwave background spectral distortions in which all lines of Rust code, Python interface, and automated tests were written by an AI assistant (Claude Code) under human physicist supervision. The solver evolves the photon Boltzmann equation under Compton scattering, double Compton emission, and Bremsstrahlung from to the present, computing spectral distortions from arbitrary heat and photon injection within this redshift range. No fully open-source code of this kind is publicly available; we validate against analytic limits, published spectra, and publicly available precomputed Green's function tables. We document the development as a case study in AI-assisted scientific computing, highlighting how domain expertise caught physics bugs (incorrect dimensional prefactors,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
