2026
An LLM harness where the model doesn’t get the final say
One LLM call deciding whether a patient was ready for surgery got it right 66% of the time. So I split the job: the model only extracts verbatim quotes, and Python functions handle the quote checks, date math, unit conversions, and every policy rule. That got the decision right on all 50 sample cases and 14 of 15 held-out cases I never tuned against. Anything unverifiable goes to a human.
Python · OpenAI API · pytest
A key-value store that survives its primary dying
Primary/backup replication in Go. A view service promotes the backup when the primary goes quiet, and a partitioned old primary can’t serve stale reads. The catch: no mutexes allowed, only goroutines and unbuffered channels.
Predicting mortality from ER vitals
Time-series vitals and labs for 16,000+ patients, an RBF-kernel SVM weighted for the class imbalance, and a lot of cross-validation on C and γ. It landed at 0.86 AUROC (bootstrapped CI 0.81–0.91).
A search engine, starting from MapReduce
First the MapReduce framework: a manager, workers, and UDP heartbeats to notice when one dies. Then I used it to index 100,000+ web pages, ranked with tf-idf mixed with PageRank.