I’ve had a severe identity crisis.
Data geek, coder, hacker, student pilot, foodie, Disney fan, neonatologist (MD), PediTools developer, ex-molecular biologist (PhD), snarky nonconformist, and annoying dad (+spouse)
This is how I thought of myself. But then, last October, I stopped flying. And this is the one year anniversary of the elimination of my role in clinical analytics and quality improvement, ending my favorite and the most rewarding non-directly clinical aspect of my job.
I also spent years teaching myself classical machine learning. When deep learning and large language models started really taking off, I realized old-school ML was largely being supplanted. As access to LLM’s became easier, I was very concerned about the rampant hallucinations and dismissed their use for critical thinking and evidence-based practices.
But… I was also impressed by how helpful it could be. It was easier to ask about obscure tidyverse syntax, rather than looking it up. And then… it did remarkably well when I described my wish for a complex function, which would have taken me an hour or two to work out myself.
Pandora’s box, opened
Such a slippery slope. I was still a coder, right?
But that all changed when
the Fire Nation attackedI installed Claude Code
In October 2026, I subscribed to Claude Code. Why?!? How did this happen? Answer: PediTools.
PediTools, a confession of coding mediocrity
PediTools was started in 2012 as a single growth chart calculator (Fenton 2003), written manually, in a text editor, in a programming language called PHP. The goal was simply to have a usable tool. Shortcuts were taken, the code written was messy. But it worked.
Over the years, additional growth charts were added. Each used PHP code copied from a previous tool, then manually edited to reflect the new tool. None of the tools shared any connection after that initial copy. If a change was needed that affected something shared, the change needed to be manually applied to each script.
This was doable when there were just half a dozen tools. But, users asked for more. And there were more and more “exceptions” to general rules. Up till then, all the tools used the same parameterization (LMS), which would give Z-scores which could be converted to percentiles.
The troubles begin
With the obesity epidemic, the CDC invented new definitions of severe obesity, that used its own, non-strictly Z-based math rules. Fine – I manually coded the new rules into its PHP script, needing to make a mental note that any future calculators shouldn’t copy code from this one. Messy, messy.
People asked for patient growth charts – I added them for two charts (selfishly, the ones I used). Each one was again hand-crafted. Starting with images of the growth charts, I determined the X and Y coordinates of the corners of each chart and measure, and did the math to place each point in the right place. Time consuming, but doable. But people asked for patient growth charts on MORE charts. It was too much; I declined.
Then there were charts that didn’t use the same math (LMS parameterization). Back in 2014, the authors of the INTERGROWTH-21st set of charts contacted me, asking whether I’d add their charts to PediTools. I looked into it. It was a completely different parameterization method, without closed form solutions for parts of it. I was able to use a different language (R, strong for statistical programming) to implement the calculations, but PHP (more general-purpose, web-based) didn’t have an obvious analog, so I declined.
Years passed. More charts got added. The upkeep got harder. Before, if I wanted to implement a “general” improvement, I’d make it by manually editing a few scripts. But “a few” had become “a lot”, so I didn’t want to make improvements any more.
Stagnation was a real risk.
The troubles multiply
Furthermore, the software I used to package the individual PHP scripts into an actual website, changed its pricing model to one I was not willing to pay. But the older version was so old, that the computer it ran on couldn’t be updated, or the web development software would run. And by “run”, I mean barely limp along. Even trying to do a <Cmd>-F to find text on the page would make the app crash.
I thought about, and purchased, a different web development software package. But, each and every growth calculator would need to be manually added, one by one. Over multiple years, I never overcame the activation energy to rebuild the entire site.
I also didn’t update PHP. I think I started with PHP 5, and eventually upgraded to 7 in 2018 (with some bugs along the way that were time-consuming to figure out). I never upgraded to PHP 8, long after PHP 7 was deprecated. This is not smart; it’s dangerous. But, the risk of breaking everything prevented me from upgrading.
I started thinking about retiring the PediTools website, but wanted to leave behind something people could still use. I posted about using R-based ShinyLive to “future-proof” PediTools (but I was already thinking I couldn’t maintain it).
The final straw: 2026-10-10
Adding CDC severe obesity categorization affected just one script. But, the WHO recommended another correction for skewed plots, at the extremes (called the restricted LMS, or WHO SD23, method). I never implemented them. But then I got a communication from Dr. Tanis Fenton that she suspected that I was not applying the WHO SD23 corrections to her charts (it isn’t mentioned in the publications, but is implemented in her growth calculators). Users were seeing different results.
But, the WHO SD23 correction would affect MULTIPLE scripts – several WHO charts and multiple Fenton charts.
It had all caught up to me. My one-by-one growth calculator method had failed. I did not have the time, or energy, to manually modify multiple scripts to add a new functionality, separately for each one.
Subscribed to Claude Code
2026-10-10: Notified about the WHO SD23 calculation issue.
2026-10-15:
Asked Claude Code to refactor my entire growth calculator codebase. The partial prompt:
peditools.org has 14 growth calculators (
legacy_peditools/*.php, 500–2,000 lines each). Every one embeds its own LMS tables as PHP arrays and re-copies the same helpers (interpolate,getLMS,getZfromLMS,cumulativeDensityFunction, age/unit parsing). Display HTML is mixed in with the calculations. This makes maintenance and adding new charts slow and error-prone.lms_parameters/lmsdata.csvandchart_metadata.csvalready hold every LMS table in normalized form and are the read-only source of truth.Goal: one data-driven PHP engine, configured per calculator, that:
- reproduces current results;
- accuracy is the top priority, because errors could harm patients;
- separates logic, configuration, content and presentation;
- is unit-tested against the live site;
- makes adding a new chart mostly a config and Markdown task.
2026-10-18: PediTools THREE days later
2026-10-18: MAJOR UPDATE
Consolidated and audited all growth calculators
- Adding new calculators is now far less time consuming, and maintenance + improvement much easier
- Very extensive quality control + testing now performed
- Sources and methods provide complete transparency on parameter sources + calculations done
Calculator search and data carryover if using new links (but old links still work)
Added
- WHO 0-5 years (daily)
- WHO 5-19 years
- WHO Growth Charts for Canada
- INTERGROWTH-21st size at birth and postnatal growth
- Cerebral Palsy (Brooks 2011)
Updated: WHO SD23 correction for beyond 3 SD, when appropriate (selected WHO charts and Fenton 2025)
Corrected: some chart descriptions adjusted to better reflect actual source and intent
Added: consolidated tool for hyperbilirubinemia decision support (combining AAP 2022 and Stanford Premie BiliRecs), including some assistance for those patients who fall precisely between the two guidelines (born at less than 35 weeks age, but now with post-menstrual age beyond 35 0/7 weeks)
Transitioned away from old RapidWeaver web development (which no longer runs on my main computer) to Blocs
This major update was assisted by Claude Code, with very heavy supervision. Primary goals of this update was to improve the quality control and accuracy, with the side effect of making addition of new calculators far easier than before
The post-Claude era
Three days. The entire website was re-engineered, AND improved, AND charts added, including the INTERGROWTH-21st non-LMS-parameterized charts, in THREE DAYS.
The prompt I started with: “Accuracy is the top priority, because errors could harm patients”?
Holy smokes. It checked EVERY parameter from sources. It found additional sources. It found multiple errors in publications and author-published web tools. It found the shortcut I used in a script from 12 years ago, adding 2 cells of parameters, and called me on it.
It got worked up and went on a witch-hunting spree when a calculation was off by 10-9 grams – roughly the mass of a single bacterium. And it would figure it out. (I did let it know that that order of error was not clinically significant, but it’s reassuring to me to know that Claude IS watching over the calculations like a hawk.)
And, it stepped through helping me safely upgrade to PHP 8. Very carefully, with lots of appropriate fallback and regression plans, in case anything went wrong. It explained each step.
So what defines me now? What’s my purpose?
So, I was a pilot. I was a clinical data geek. And, I was a coder. There were all these little coding projects that I’ve done over the years that I’ve been so proud of, that I was hoping to share with the typical geek’s “Look what I made!” excitement.
Every one of those coding projects has been trivialized by LLM’s.
I’m still proud of what I did, before LLM’s. But, “coding” will never again set me apart. Anyone can cook code.
That being said, I am adapting. And I can see myself, already, going through phases:
- amazement at what Claude can do
- despair that I’ve been replaced
- excitement at bringing to life multiple project ideas that have been on the to do list for years
- realization that those projects now exist, but I don’t understand how they work
- requiring Claude to build me an
architecture.MDdocument for every project, explaining at least at a high level, how all the parts work together, even if I don’t know the code-level details
And now, a new phase – my latest idea is for a tiny project idea I’ve had for years.
It’s something I could figure out and code on my own (it’s simple and not even original).
Or, Claude could create it in about an hour, without my involvement.
But I don’t want to just observe Claude any more. So the header of the latest prompt:
- A learning project: an iPhone PWA that photographs a Set layout, recognizes every card, and lists all valid sets.
- Each step is small enough to review on its own; we pause after each one for questions.
- Don’t proceed until I’ve asked questions and undestand how it works.
Future posts will probably not bother posting code snippets, but I remain excited about doing dorky and geeky things. I guess I’ll try to remain a hacker. :)
