Skip to content
View ethanstoner's full-sized avatar

Block or report ethanstoner

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ethanstoner/README.md

Ethan Stoner

Software Engineer · Cloud, Backend & AI Systems
CS at Cal State San Marcos · open to SWE internships and part-time work

Portfolio Resume LinkedIn Email

Highlights

  • 68 pull requests merged into 45 open-source repositories totalling 750,000+ stars, including Astro, pandas, Black, raylib and Prefect.
  • 4 paid website clients, 2 live so far: moved a caramel shop off Squarespace with all 189 newsletter subscribers, and replaced a band's paid Wix plans with a site its manager edits himself.
  • 15,800+ sales and 356k Robux (~$1.3k at the DevEx rate) in the past year across my Roblox groups, 12,000+ of them 3D items and emotes from my own AI pipelines (3D generation runs on a local GPU).
  • 1.57x faster LLM decoding at 16k context on an RTX 4090, found with a roofline built from measured hardware ceilings.
  • ~120 AWS resources provisioned with Terraform to deploy a multi-provider GenAI gateway end to end.
  • A Redis-compatible database engine from scratch in Java 21: ~100K writes/s and ~130K reads/s single-threaded.
  • Built the Curb Cut Project, a WCAG 2.2 scanner on Cloudflare, and published a study of 70 nonprofit homepages: 94.2% had a detectable failure (open data).

Tech Stack

Python, TypeScript, JavaScript, Java, C++, Rust, React, Next.js, FastAPI, Node.js
PyTorch, AWS, Terraform, Docker, Cloudflare, PostgreSQL, SQLite, Linux, GitHub Actions, Git


Selected Projects

Local LLM Lab: making a 7B model faster on one GPU, then taking it apart

A measurement framework for Qwen2.5-7B-Instruct on an RTX 4090. It finds where inference time goes, fixes the bottleneck, and tests how refusal works inside the network.

  • Built a roofline from measured ceilings (947 GB/s, 157.5 TFLOP/s) with no fitted parameters. It showed the attention path copying the KV cache seven times per layer.
  • Wrote a grouped-query decode path that reads each cached key and value once: 1.57x faster at 16k context, 1.65x at batch 32, with no measurable fidelity loss against an FP32 reference.
  • Removing one residual-stream direction takes refusal on harmful prompts from 95% to 0-2.5%. Random directions of the same size do nothing.
  • Paired ABBA benchmarks, and every headline number is a recorded run stored with its hardware, versions and commit. 173 tests.

Python · PyTorch · Transformers · CUDA

kvstore: a Redis-compatible database engine

An LSM-tree key-value store written from scratch in Java 21. redis-cli, redis-py and Jedis connect to it unmodified.

  • Storage engine shaped like LevelDB/RocksDB: write-ahead log, memtable, sorted SSTables, leveled compaction and bloom filters.
  • ~100K writes/s and ~130K reads/s single-threaded (JMH, 100K keys). Bloom filters answer missing keys ~90x faster by skipping the disk.
  • Speaks Redis's RESP protocol over TCP, with TLS, multi-user auth, pub/sub and snapshots.
  • 209 tests, about 3,800 lines of Java plus 3,300 of tests.

Java 21 · LSM-Tree · RESP · Concurrency

Tempo: a neural-network chess engine (live on Lichess)

A chess engine written from scratch in C++20, with an NNUE evaluation trained in PyTorch on its own self-play games.

  • Rated 2976 (95% CI 2933-3019) from 300 games against Stockfish 19 capped at 2800-3190, on Stockfish's own scale at 10s + 0.1s. The first version rated 2688.
  • The network trained on 120M self-play positions beat the hand-written evaluation by +175 ± 32 Elo, and every retrain after it had to pass an SPRT match to ship.
  • Lazy SMP search gains +269 Elo at 8 threads. Move generation matches all 32 published perft counts (610M nodes, ~113M nodes/s).
  • Plays rated blitz on Lichess as a BOT account, currently around 2600.

C++20 · PyTorch · NNUE · CMake

bytepair: GPT-4's tokenizer, rebuilt in Rust

A byte-level BPE tokenizer with a Rust engine behind PyO3 bindings, and a pure-Python reference kept alongside it as the oracle.

  • 1.6-2.2x faster than tiktoken on one thread, with zero mismatches over 7.46M tokens on cl100k and o200k, plus a 1M-string fuzz.
  • Trains a vocabulary 3.2-4.9x faster than Hugging Face tokenizers, with merges identical to the Python reference.
  • Hand-written pre-tokenizer splitters replace the regex engine and run 15.5-20x faster than it.
  • Refuses a literal <|endoftext|> in user text, which Hugging Face's GPT-4 port turns into the special token. 151 tests (138 Python, 13 Rust), CI green.

Rust · Python · PyO3 · maturin

Heart Disease Audit: a reproducibility audit of a popular ML dataset

Traces the Kaggle Heart Failure Prediction CSV back to its four UCI hospital sources and measures what that changes.

  • Found that the filled-in missing values encode the diagnosis: every filled ST_Slope is Flat for heart disease (111 of 111) and Up without it (191 of 191).
  • Undoing the fill drops the typical pipeline's median accuracy from 86.4% to 79.3% over 1,000 paired splits.
  • A pre-registered survey of 30 public notebooks found 0 of 30 mention it. Every prediction was committed before its experiment ran, and 14 of 15 held up.
  • Leave-one-hospital-out AUC is about 0.83. 77 tests, and all five notebooks run in CI.

Python · pandas · scikit-learn · pytest

SpinBanner: logos in, looping 3D videos out

An automated pipeline that renders 3D logo videos in Blender, schedules them on TikTok and sells custom ones. I'm the sole engineer; the source is private.

  • 540+ automated posts reached 65M TikTok views in six weeks; 15 passed 1M views.
  • The shop took 109 paid orders from 106 different buyers in its first four weeks.
  • Every video is 1920x1080 at 60 fps, rendered in 40 to 52 s on one GPU, and passes an automatic frame check before it goes out.
  • Storefront on Cloudflare Workers, R2 and Stripe Checkout, with a review queue, signed download links and email through Amazon SES.

Python · Blender · FFmpeg · Cloudflare Workers · Stripe

GenAI Gateway on AWS: cloud deployment

Deployed AWS's multi-provider GenAI gateway reference design from an empty repository to a working, TLS-secured endpoint, as a task set by Cisco professionals at Riffyx Labs. The architecture is AWS's; the deployment was mine. It was stood up end to end and then torn down.

  • ~120 AWS resources in Terraform: VPC, ECS Fargate, ALB, RDS, ElastiCache, WAF, Secrets Manager, Route 53 + ACM, remote S3 state.
  • LiteLLM in front of Amazon Bedrock behind one OpenAI-compatible endpoint, with least-privilege IAM and per-key cost tracking.
  • Traced a PII-masking defect in the Presidio sidecar to a dependency version, and fixed it with a controlled upgrade and regression tests.

AWS · Terraform · ECS Fargate · Bedrock · LiteLLM


Open Source

68 pull requests merged into 45 repositories totalling 750,000+ stars. These are fixes in codebases I don't maintain, found by reading unfamiliar code, diagnosed by measurement and defended in review. The ten largest repositories:

Repo ★ Merged What it fixed
bilawalsidhu/gods-eye-view 67.5k 3 Kept node:fs out of the browser build, fixed 25 tests that failed on every Windows clone, and bounded CCTV media downloads with an idle deadline.
withastro/astro 64.3k 1 Fallback route generation swapped the locale as a substring, corrupting any path segment that merely started with the locale code.
pandas-dev/pandas 50.7k 1 qcut never validated q: a bad bin count raised the wrong error, or none at all.
psf/black 42.2k 2 Formatting from a notebook crashed because it assumed every stdout has a .buffer, and --unstable wrapped an unmergeable implicit string concatenation into code it couldn't parse.
trpc/trpc 40.9k 1 A malformed escape in the request path surfaced as a 500 and a fake internal error, so any crawler hitting /trpc/% set off onError. It now returns 400.
HKUDS/Vibe-Trading 39.3k 3 Reference links that resolve on GitHub and for the agent, and "newest first" history that really is, fixing three tests already failing on main.
glanceapp/glance 38.4k 1 The Docker widget's category filter ran before child containers were grouped, so children without their own label silently disappeared.
freestylefly/awesome-gpt-image-2 36.3k 1 The installer looked for CLAUDE_HOME, which Claude Code doesn't have, so anyone who moved their config got the skill installed where it is never read.
raysan5/raylib 35.8k 1 MatrixCompose() read back vector components it had just overwritten, so most rotations produced a wrong matrix.
qarmin/czkawka 35.6k 1 Similar Images skipped every .dng raw photo without a word, and -x dng was rejected outright.

Plus 53 more merges across Prefect, fmt, Kivy, FreshRSS, PyInstaller, Simon Willison's llm, kornia, OpenLayers, Luau, Terser, Puma and 24 other repositories: full list on ethanstoner.dev.

Two worth reading in full: rakazo #322, where the reporter wrote "I cannot explain the root cause" and I narrowed it down by elimination, and trueforge #464, where a reviewer asked whether an abort was needed and I measured it instead of arguing: Promise.race frees the caller but leaves the socket open.


Experience

SpinBanner, Founder & Solo Engineer · 2026 – Present
Built an automated pipeline that renders 3D logo videos on the GPU and schedules them on TikTok: 540+ posts, 65M views in six weeks. Launched spinbanner.com on Cloudflare Workers and Stripe: 109 paid orders from 106 buyers in its first four weeks.

Freelance Web Developer, 4 paid clients (2 live, 2 in progress) · 2026
Moved a caramel shop off Squarespace to a custom Square store (cherylscaramels.com, 189 subscribers migrated) and replaced a band's paid Wix plans (rivermistband.com). Moved five live sites' email to Amazon SES (DKIM, DMARC) after a shared sending cap blocked client mail.

Roblox UGC, Independent Creator · 2025 – Present
Design and sell avatar items across my Roblox groups: 15,800+ sales and 356k Robux (~$1.3k at the DevEx rate) in the past year, 12,000+ of them 3D items and emotes from my own AI pipelines. The 3D generation runs on a local GPU.

Riffyx Labs, Engineering Mentee · 2025 – 2026
Deployed a multi-provider GenAI gateway on AWS end to end, provisioning ~120 resources with Terraform across ECS Fargate, RDS, ALB, WAF and Bedrock, with Guardrails and PII masking.


More Work

Project What it does Stack
aibackflip A humanoid learns to backflip on a 2D physics engine and PPO both written from scratch: 24 of 24 flips land, and 83% still land when shoved mid-flight. 313 tests. C++ Python PyTorch
strata One Rust binary turns a folder of CT or MRI files into a browser viewer with hand-written WebGL2 volume rendering, ordering slices by scanner geometry rather than file index. 129 tests. Rust WebGL2 TypeScript
Universe Simulator Newtonian N-body gravity from real astronomical data, with four integrators, Barnes-Hut or exact summation, and live energy diagnostics. 160 unit tests; CI runs the OpenGL self-test headlessly (41,005 checks). C++20 OpenGL CMake
NeuroRacer Neuroevolution racing cars as a generalisation lab, with every claim pre-registered in git. The champion laps 43/43 clockwise test tracks and 0/42 counter-clockwise; training both ways makes 5/5 seeds lap all 100 in both directions. Includes a TypeScript track editor parity-tested against the trainer's NumPy checks, live in the browser. Python NumPy TypeScript
RAG From Scratch 18 RAG techniques in plain Python, scored on 300 MultiHop-RAG queries with paired bootstrap CIs. A reranker lifts exact match from 0.563 to 0.667; CRAG and Self-RAG both hurt. Python Ollama pytest
Pincer (private) Closed-loop agent driving physical Android phones over ADB with a fine-tuned YOLO11 detector that labels its own training data. Python PyTorch YOLO11
Qorlyt One image becomes a textured 3D model in about 90 seconds (median of 64 runs) on a local ComfyUI + Hunyuan3D 2.1 pipeline, behind FastAPI with live progress. Python FastAPI ComfyUI
CSUSM Campus Monitor Counts people on live campus camera streams with an open-vocabulary grounding model, falling back to YOLOv8n without a GPU. 133 tests. Python FastAPI OpenCV
Lyric Generator Spotify link in, lyric video out, with Whisper word-level timing. Python FastAPI Whisper
Hunyuan3D-2.1 Install Guide Step-by-step Windows install for Hunyuan3D-2.1 + ComfyUI. My most-starred repo. Docs

Education & Certifications

  • Cal State San Marcos, B.S. Computer Science · Fall 2026 – 2030 (expected)
  • Great Oak High School, Temecula, CA, Diploma · June 2026
  • Anthropic (Claude Academy, 24 badges): Claude API, Amazon Bedrock, Google Cloud, Model Context Protocol (Advanced), Agent Skills, Claude Code (all, each with a verify link)
  • OpenAI Academy: Agents & Workflows, AI Foundations, Applied AI Foundations

Pinned Loading

  1. bytepair bytepair Public

    Byte-level BPE tokenizer: Rust engine + Python reference, byte-identical to tiktoken (cl100k/o200k), faster single-thread encode

    Python

  2. cheryls-caramels-storefront cheryls-caramels-storefront Public

    Custom storefront for a family caramel shop: Square checkout on Cloudflare Workers, live at cherylscaramels.com. Overview and architecture; source is private client work.

  3. curbcut-research curbcut-research Public

    Open data and methods behind the Curb Cut Project's accessibility studies of local nonprofit websites

    HTML

  4. kvstore kvstore Public

    Persistent Redis-compatible key-value database in Java 21. LSM-tree storage (WAL, leveled compaction, bloom filters, concurrent flush), TCP server speaking RESP, TLS, multi-user auth, pub/sub, snap…

    Java

  5. local-llm-lab local-llm-lab Public

    Measuring, speeding up and taking apart a 7B LLM on one RTX 4090: roofline analysis, a 1.57x faster decode path, and a causal test of the refusal direction.

    Python

  6. tempo-chess tempo-chess Public

    Chess engine in C++20: bitboards, PVS search, measured against Stockfish; runs on Lichess via lichess-bot

    C++