Research code rescue
Your lab's analysis code was written by someone who graduated. Make it run again.
Fixed-price help for federally funded labs. First I freeze the code you have so it reproduces your paper's figures, and publish it with a DOI. When you are ready, I port it to tested, maintained Python or C++ and prove the results did not change.
Built for labs that measure the Earth and its environment
PIs and lab managers in seismology, geodesy, hydrology, ocean moorings, atmospheric and weather stations, glaciology, volcanology and environmental sensor networks, funded by NSF, NIH or DOE. It is a good fit if any of these sound familiar:
- Your key code is MATLAB, Fortran, Python 2 or old C++ written by a student who has left.
- New students spend their first semester just getting it to run.
- A journal wants a software DOI and an availability statement for a paper in revision.
- Your award ends in 2027 or 2028, and the data management plan promised public code and data.
- Instrument data sits in vendor formats nobody outside the lab can read.
What I do
Three steps, each one useful on its own. Most labs start with the snapshot.
- Snapshot
- Your code exactly as it is today, frozen in a container that regenerates your paper's figures. I capture reference outputs from your own inputs, publish a release with a Zenodo DOI, and write a software availability statement in the style AGU journals ask for. You also get a risk report and a fixed quote for the rescue.
- Rescue
- The code ported module by module to Python 3 or modern C++, or Fortran wrapped so Python can call it. Every module has to reproduce the reference outputs within tolerances we agree in writing. You get automated tests, packaging, a container for your cluster, documentation and an onboarding guide for new students.
- Data release
- Converters from your instrument's vendor formats to HDF5, NetCDF-CF or your community's standard. The converted dataset passes that standard's validator and comes with metadata and a draft repository deposit that you publish.
How I prove nothing changed
| Step | What it means for your science |
|---|---|
| Reference outputs | Your original code's results on your own inputs, captured before anything is touched |
| Agreed tolerances | How close each output must match, set by you in writing, per output |
| Equivalence report | Every output compared, and every difference explained, before sign-off |
| Tests that stay | The comparisons run automatically on every future change, long after handoff |
What you get
Everything lives in your lab's own GitHub organization. Your lab owns the code and decides the license.
- A citable release. A Zenodo DOI, a CITATION.cff file and an availability statement you can paste into the paper.
- A container. Docker or Apptainer, so the code runs the same way on a laptop or your cluster.
- Tests. The reference comparisons, running in GitHub Actions on every change.
- Documentation. How to install, run and extend it, plus a guide for new students.
- A recorded handoff. One hour with your team, walking through the code and the tests.
How it works
AI agents do the porting and write the tests. I check every difference in the results before you see it.
-
Scoping call
30 minutes on the code, the paper, your deadline and which outputs matter most.
-
Inputs and outputs
You share the code, sample inputs and a known-good run. We agree the tolerances and target format in writing.
-
The work
Agents write tests first, then port module by module until every test passes. I review each numerical difference and anything that touches an algorithm.
-
Handoff
The equivalence report, the release and a recorded handoff. Your PI clicks publish.
How your code and data are handled
Unpublished code and data stay private until you publish them. I use commercial AI APIs whose terms do not allow training on customer data, and only with your written consent. I follow your data use agreements and do not take human-subject, export-controlled or classified work.
Why me
I built software for seismic field experiments at IRIS PASSCAL, and later managed its software group. I co-developed PH5, an HDF5-based archival format for seismic data that is now the PASSCAL Instrument Center's recommended format. I built converters between six seismic formats and modernized 20 legacy field tools.
At Sandia National Laboratories I wrote software for quantum hardware experiments that cut run time by more than 90%. Today I run AI agent pipelines that write tests first and review every change. That is how I keep a port honest.
Price
Fixed prices sized for university purchasing. Each step is quoted before it starts.
Snapshot
$2,000
One codebase and one paper's figures, a DOI, an availability statement, a risk report and a fixed rescue quote. The fee is credited toward a rescue that starts within 60 days.
Then, if you need it
- Code rescue
- $4,800 for up to about 5,000 lines, $9,500 for up to about 25,000 lines. Larger codebases are quoted after the snapshot.
- Data release
- From $4,500 for one instrument format.
- Data management plan section
- A drafted data-sharing section for your next proposal, with costs budgeted. $750.
What this is not
It does not change your methods. The science stays yours, and any change to an algorithm is flagged for your decision. The equivalence report covers the inputs and tolerances we agree. It is not a judgment of whether the science is correct.