Projects

Personal projects across statistics, machine learning, AI, and software engineering.

Trialchemy ↗

Live · Open Source

The workbench for designing, simulating, and comparing clinical trials.

Trialchemy brings 20 trial designs across 7 families into a single workbench, from Phase I dose finding to treatment selection. The cross-design view lets researchers compare methodologies under the same scientific objective, making it more than a calculator.

Phase I Dose Finding
3+3 · BOIN · mTPI-2 · CRM · TITE-CRM
Dose Optimization
BOIN-ET · Keyboard OBD · Project Optimus
Phase II Single Arm
Simon's · A'Hern
Phase II Dose Response
MCP-Mod · Emax
Phase III Two-Arm
Binary · Continuous · Survival
Non-Inferiority
Binary · Continuous · Survival
Treatment Selection
Sargent-Goldberg · Multi-arm GS · Adaptive
Next.js TypeScript FastAPI R Supabase Clinical Trial Design Trial Simulation 20 Designs

EggBomb (掼蛋) ↗

Live · Multiplayer

A multiplayer web implementation of the Chinese card game Guan Dan.

掼蛋 is a 4-player team card game where partners race to shed cards before the opposing team, with valid combinations ranging from singles to multi-card bombs. Empty seats are filled by an AI bot powered by ISMCTS, an algorithm designed for games with imperfect information.

A♠
Single
K♠ K♥
Pair
5♠ 6♥ 7♦ 8♣ 9♠
Straight
7♠ 7♥ 7♣ 3♦ 3♣
Full House
J♠ J♥ J♣ J♦
Quad
5♥ 6♥ 7♥ 8♥ 9♥
Straight Flush
7♥ ?♠ ?♥ ?♣ ?♦
Wildcard (current rank)
React Node.js Socket.io TypeScript ISMCTS Real-Time Multiplayer