Neuron-1
Solo rewrite of a production EEG neurofeedback app from Unity to React Native, with bit-parity CI.
Neuron-1 is the mobile client for an EEG neurofeedback headset built by BioSoftPro, where I work as an independent contractor. The headset streams brain activity over Bluetooth, the app scores focus in real time, and that score drives a set of feedback games. I rebuilt the app end to end on my own, porting it off Unity and C# onto React Native and Expo: roughly sixteen screens across eight flows, plus the real-time feedback games. The signal processing was the hard part. The authoritative version of it lives in a closed-source reference implementation that cannot run on a phone, so I reimplemented it in TypeScript and built a differential-testing harness that gates every CI run on matching that reference to machine precision. A scheduled drift gate re-checks against upstream reference builds and fails the build if they ever diverge.
Highlights
- Ported a Unity and C# neurofeedback app to React Native and Expo: roughly 16 screens across 8 flows
- Real-time on-device signal processing, running inside a mobile JavaScript engine
- Differential-testing CI asserts the TypeScript reimplementation matches the reference to machine precision
- Scheduled drift gate re-verifies against upstream reference builds and fails on divergence
- Hardware-verified BLE streaming, after root-causing an Android throughput bug
A look inside.
No screenshots yet
This project is still in progress. Shots go up once the interface settles.