P.01 · Case study
Viral dynamics pipeline
The code behind my first paper. It fits a model of SARS-CoV-2 infection to viral load data from 30 macaques and measures how much the drug favipiravir changes each part of the infection.
- Role
- First author, all code
- Where
- TCU · Dr. Hana Dobrovolny
- Stack
- Python · NumPy · SciPy · pandas · Matplotlib
- Year
- 2026
01 — The question
Favipiravir slows SARS-CoV-2 down, but which part of the infection does it change? Fewer cells getting infected, less virus made per cell, or faster clearance? And do you reach the same answer if you fit each animal on its own or fit the average of each group? The second question is the one in the paper's title.
02 — The data
10Control
5100 mg/kg
10150 mg/kg
5180 mg/kg
Thirty cynomolgus macaques, each with a viral load measured over the days after infection.
03 — The model
A target-cell-limited model with an eclipse phase. Healthy cells (T) get infected, wait in an eclipse stage (I₁), start producing virus (I₂), and die. Five numbers control the whole curve: the infection rate β, eclipse rate k, cell death rate δ, virus production p and clearance c.
dT/dt = −βTV
dI₁/dt = βTV − kI₁
dI₂/dt = kI₁ − δI₂
dV/dt = pI₂ − cV
From those I also compute R₀ = βp / (cδ), the number of cells one infected cell goes on to infect, and the infecting time √(2 / pβ). You can try the model yourself in Fig. R1 on the main page.
04 — The pipeline
- 01Fit every animalMulti-start Nelder-Mead, then an L-BFGS-B polish inside log-scale bounds
- 02Bootstrap each fit1,000 residual-bootstrap replicates per animal, run in parallel
- 03Fit the group averagesGeometric-mean curve per group, 1,000 replicates, Mann-Whitney tests against control
- 04–09FiguresHistograms, violin plots, per-group fits, R₀ and infecting time
- 10Corner plots34 joint-distribution plots for the supplementary material
05 — What was hard
Local minima
One starting guess often got stuck on a bad fit. Each animal now starts from six spread-out guesses and keeps the best result.
Fits that never finish
Some parameter combinations made the solver hang. Every guess runs on a timer and gets skipped if it takes too long.
30,000 bootstrap fits
That is too slow to run in one sitting, so the bootstrap runs across all CPU cores and saves a checkpoint every 50 replicates. An interrupted run picks up where it stopped.
Uneven group sizes
Groups of 5 and 10 animals are hard to compare fairly. The tests average over 100 random subsamples of 10 from each bootstrap distribution.
Next case studyThis site →R.02 · In depth
A safety-first antibody design pipeline
At UT Austin's Oden Institute, I'm building a multi-stage pipeline that redesigns antibody sequences for stronger binding while catching the moment a machine learning model starts to make things up. Four models score every candidate, and a change is kept only when they agree.
- Role
- Student researcher
- Where
- UT Austin · Oden Institute
- Mentor
- Prof. Chandrajit Bajaj
- Stack
- Python · Boltz-2 · Chai-1 · PIRATE
01 — The problem
An antibody grabs its target mostly through six short loops called CDRs, and one of them, CDR-H3, does most of the work. If you let a model optimize a sequence for binding on its own, it learns to game its own score: it reports a great number for a sequence that would never fold or bind in a real cell. That failure, a hallucination, is the thing the pipeline is built to catch.
02 — Four models, four jobs
No single model can be trusted to judge its own design, so each candidate passes through four, each with a narrow job and an honest blind spot.
Boltz-2 · binding
Reads the sequence and predicts how well it binds. Fast, good for ranking. It says nothing about whether the antibody actually folds.
Chai-1 · structure
Turns the sequence into a predicted 3D shape, with the CDR loops as the part that matters most. Its own confidence can read high and still be wrong.
PIRATE · reliability
An independent critic of Chai's structure. It flags global error, shaky per-residue regions and shapes that look disordered, with no known answer to check against.
PhysicsValidator · realism
Checks the chemistry and geometry: exposed hydrophobic patches, odd charge clusters, floppy loops, strange cysteines. It drops candidates that break basic biophysics.
03 — The loop
- 01ProposeMutate a CDR loop or suggest a new candidate sequence.
- 02ScoreRun all four models on it: binding, structure, reliability and physics.
- 03CheckCompare the scores against the hallucination flags below.
- 04Keep or dropAccept the change only when binding holds, physics does not get worse, and no flag fires.
B(S) binding score (Boltz-2)
X = f(S) predicted structure (Chai-1)
Q(X) reliability (PIRATE)
P(S, X) physics score (validator)
keep S ⇔ B holds ∧ P not worse ∧ no flag
04 — Catching a hallucination
Over-optimism
The binding score is high while the physics score is low: a candidate the model loves and chemistry rejects.
Disagreement
The binding model and the physics checks rank the same candidates in different orders, so one of them is off.
Degrading path
Each optimization step raises the model's number while the physics plausibility quietly gets worse. The classic reward hack.
05 — The honest part
Every score here is a prediction, not a measurement. The physics checks use fast proxies, not a full molecular simulation, so they can reject a rare but real shape. The flag thresholds have to be tuned so the pipeline stays cautious without throwing away good, unusual candidates. Holding those trade-offs in view is most of the work, and most of what I've learned doing it.
Next write-upOpening the junction in circular RNA →R.03 · In depth
Opening the junction in circular RNA
A circular RNA has no ends, so the ribosome can't scan in from a cap. It enters at an internal site, the IRES, whose fold does the recruiting. I'm working on a way to redesign the first few codons of the protein so the ribosome can start cleanly without disturbing that fold.
- Role
- Student researcher
- Where
- UT Austin
- Methods
- Differentiable RNA folding · Python
- Focus
- The IRES–CDS junction
01 — The problem
Because a circular RNA has no free ends, there is no cap for the ribosome to scan from. It enters instead at an IRES, a folded stretch of RNA that pulls the ribosome in directly. Right after the IRES comes the coding sequence. If the first few codons of that coding sequence fold back and pair onto the end of the IRES, they block the entrance.
So the junction carries two demands that pull against each other: the IRES has to keep its shape, and the start of the protein has to stay open. The project is about satisfying both.
02 — The one thing I can change
I can't change the protein, but I can change how it's spelled. Several codons code for the same amino acid, and swapping between these synonyms changes how the RNA folds without touching a single amino acid. Only the first eight or so codons after the IRES sit close enough to matter, so that short leader is the whole design space.
03 — A soft version of the choice
A hard codon pick can't be improved with gradients. Instead each position holds a blend over its synonymous codons, a point on a probability simplex, which is smooth and differentiable. Because the blend only ever mixes synonyms, the amino acid is preserved for free.
q_i ∈ Δ^(c_i − 1) a blend over the c_i codons at position i
q ∈ Δ^(c_1 − 1) × … × Δ^(c_k − 1)
04 — The objective
The score I minimize has three parts: unstick the junction, keep the codons natural, and leave the IRES fold alone.
U(q) = F(q) + α₁·(1 − CAI(q)) + α₂·‖P_IRES(q) − P_IRES(wild-type)‖²
Unstick the junction — F
Adds up the base-pairing between the IRES tail and the start of the protein. Driving it down opens the entrance.
Keep codons natural — CAI
The codon adaptation index keeps the leader using codons the host cell actually likes to read.
Leave the IRES alone
Penalizes any drift of the IRES's own fold away from the natural one, measured against its wild-type pairing.
The closest existing tool, LinearDesign, minimizes the whole sequence's folding energy. That would pull the junction shut, the opposite of what I want. My objective swaps that global term for a local one aimed right at the junction.
05 — Where the numbers come from
The base-pairing probabilities come from McCaskill's partition-function algorithm under the measured Turner-2004 energy model. A 2024 method makes that calculation differentiable by letting each position hold a distribution over bases, so I get an exact gradient in one backward pass at the same cost as the forward one.
P_ij(q) = Z_in(i,j) · Z_out(i,j) / Z O(L³) time
One honest limit: the model assumes no pseudoknots, so any knotted IRES–CDS contact is invisible to it. The openness it reports is secondary-structure openness, nothing richer.
06 — Checking it against real RNA
Everything above is a prediction. The eventual test is wet-lab chemistry: SHAPE-MaP and DMS-MaPseq both tag the bases that are unpaired and reachable, and DMS works inside living cells. Neither one measures base-pairing directly, and both carry their own biases, but a designed leader that the model calls open and the chemistry calls shut is a warning sign worth taking seriously.
Next write-upA safety-first antibody design pipeline →E.01 · In depth
ElderTech
A student-run nonprofit I co-founded in Southlake. High schoolers go to senior centers and churches and help residents with their phones, tablets and computers. The goal is patient, in-person help, one question at a time.
- Role
- Co-founder & CTO
- Where
- Southlake, TX · 6 chapters
- My work
- Website · volunteer training
- Reach
- 550+ seniors a month
01 — What a visit looks like
Most of what we fix is small, but it matters a lot to whoever is stuck on it. A volunteer sits down with one senior and works on whatever they bring: Wi-Fi that won't connect, a locked doctor's portal, photos they want to send to family.
We also give short group talks on things like spotting scam texts or joining a video call, and we leave behind plain-language, step-by-step guides residents can use after we go home.
02 — The website
I coded the website, and it handles a lot of the organizing. I also recruit, train and lead our volunteers.
Visit requests
Senior centers ask for visits through a form built into the site.
Volunteer sign-ups
Students sign up for visits the same way, so no one tracks it by hand.
Chapter map
Students in other towns can find the chapter closest to them.
Start a chapter
A guide for anyone who wants to bring ElderTech to their own town.
03 — How a chapter runs
- 01A site reaches outA senior center or church contacts us through the website.
- 02The closest chapter plansThat chapter sets up a visit schedule with the site's staff.
- 03One-on-one helpEach volunteer sits with one senior and works on whatever they brought.
- 04The visits repeatResidents come back with new questions and build on what they already learned.
04 — Where it stands
6Chapters in five states
~60Student volunteers
550+Seniors a month
25+Partner sites
Because the visits keep happening at the same places, residents get to know the volunteers and keep learning from one visit to the next. That setup is what let ElderTech grow past Southlake.
Next roleAdComp Systems →E.02 · In depth
AdComp Systems
A paid software engineering internship at a company that has built software for city governments since 1989. I automated the slowest step in its sales process: finding the right person to contact at each city.
- Role
- Software Engineering Intern (paid)
- Where
- AdComp Systems · Lewisville, TX
- Stack
- Python · FastAPI · Playwright · ML
- Scale
- 2,000+ city websites
01 — The company
AdComp is headquartered in Lewisville, Texas. Its products include 24/7 outdoor payment kiosks for utilities, courts and taxes, web and mobile bill pay, and GovOnTrack, a cloud ERP that covers utility billing, payroll, court management and permits.
02 — The problem
Selling to cities is slow, and finding the right contact was the slowest step. Someone had to click through each city's website, find the right person in the finance department, and copy their info into a spreadsheet, one city at a time.
03 — What I built
I automated that step with a FastAPI app that runs the whole search, from the list of cities to a sheet the sales team can work from.
- 01City listThe app reads its cities from a CSV, so adding a new region just means adding rows.
- 02CrawlPlaywright opens each municipal website and pulls the staff contacts it finds.
- 03ClassifyAn ML classifier picks out the contacts that matter for a sale.
- 04CleanEvery contact is put into one standard format.
- 05DeliverThe results go to Google Sheets, where the sales team works from them.
04 — Results
2,000+City websites crawled
~9,000Government contacts
~70%Less prospecting time
40+Sales demos booked
Across more than 2,000 city websites, the pipeline found about 9,000 government contacts. It cut prospecting time by about 70%, and its leads helped book over 40 sales demos.
Next roleElderTech →