AI/ML
Automated CI and Validation Pipeline
- Status
- Completed
- When
- Summer 2026
- Role
- Primary builder
- Context
- HUROTICS internship
Algorithm changes were being validated by hand, which made regressions easy to miss and made it hard to say whether a new revision was actually better than the last one. I built a pipeline that runs validation automatically on every change: Python for the validation logic, GitHub Actions for orchestration, and a Vercel and Supabase dashboard so the team could see results without reading logs.
The dashboard, /algo, is a QA-facing view of evaluation KPIs across algorithm versions and datasets, adopted by the quality team. Behind it: a 7-table schema (exe_versions, datasets, runs, run_datasets, run_results, trial_results, translations), RLS policies, an ingest API secured with a secret header, and migration safety reviews.
The design goal was making correctness visible to people who were not going to open a terminal. Engineers get run-level detail; everyone else gets a status view.
How it came together
Process
- Start
Problem kept changing shape
Described first as outputting motor commands, then clarified as classification only. Arrived as a compiled .exe with a separate CSV output and opaque class count, sentinel codes and dwell constant.
- v1
Three layers
Per-window accuracy; transition timing from real timestamps (2 ms jitter at 500 Hz); error episodes grouped to avoid cascade double-counting. Subprocess harness, not ctypes.
- Mid
Transient-class question
Ground truth jumps between stable postures while predictions include transients. Led to a non-square label space, two-ledger scoring, and a three-timestamp lag decomposition.
- Final
Four layers
Align, measure, diagnose, report. Five-bucket error taxonomy, nine-class taxonomy, split technical and nontechnical JSON reports.
Key decisions
ChoseCausal forward-search event matching with a monotonicity guard
OverGlobal assignment
Too opaque at roughly 6 events.
ChoseTwo-ledger scoring: stable-class agreement with transients as don't-care, plus a separate transient ledger
ChoseMacro-F1 as headline metric; precedence-ordered MECE error taxonomy
Debugging
SymptomRunner I/O crashed on Korean Windows.
CauseDefault code page is cp949.
CheckedTraced the encoding error to file I/O.
FixExplicit encoding handling.
SymptomCI step failed finding the shell.
Causepwsh vs powershell naming mismatch.
FixUse the name each runner provides.
SymptomRunner provisioning problems.
FixMigrated self-hosted to windows-latest.
SymptomPrediction and truth rows would not join.
CauseTimestamp formatting bug in the C++ harness.
FixFixed time-key formatting.
SymptomArchitecture flaw: confusion matrix computed before the ontology fold.
CauseTransient-row precision/recall ill-defined.
CheckedCaught in review.
FixMoved the fold upstream.
Also at HUROTICS: Remote controller CAD case
Prototype enclosures for the product remote, designed in SolidWorks around the internal PCB and battery fit, then 3D printed and handled for physical fit testing.
H-Care tablet app wireframe
A 13-screen mid-fidelity wireframe for an institutional (clinic) tablet app, built in Figma and refined through a Korean design brief for Claude Design. 52 numbered interactions defined, 3 conflicts flagged and resolved before submission, and an explicit out-of-scope list (read-only record mode deferred).