CodeNeuron
Browser platform for learning ML by solving real problems on real datasets, with a Monaco editor, sandboxed execution, automatic grading and AI follow-up questions that test why an approach worked. 60+ users within six months. 30+ ML problems.
- Reading
- 60+userswithin six months
- Limitation
- The sandbox is process-level, not kernel-level isolation; single region.
Problem
Practise ML in the browser on real datasets: 30+ problems, a Monaco editor, sandboxed execution, automatic grading and AI follow-up questions.
Approach
Two people built it. I am Lead AI Developer: the Concepts section (about 6,600 lines of interactive canvas/SVG teaching pages for 7 algorithms), the AI grading workflows and the developer guide. My co-developer built the sandboxed code runner. Three isolated Cloud Run services keep the runner away from the database and the internet. In grading, Gemini 2.5 Flash drafts and refines questions and DeepSeek critiques them, so no model checks its own work.
Result
Live at codeneuron.tech with 60+ users within six months. In the grading loop one model drafts 5 interview follow-up questions, a second scores each PASS/FAIL on 5 criteria, and failed questions are refined and re-checked. Answers get two graded attempts.
Limitation
The sandbox is process-level, not kernel-level isolation; single region.
Specification
- Users
- 60+ within six months
- Problems
- 30+ ML problems
- Team
- Two people
- My part
- Lead AI Developer: the Concepts section, the AI grading workflows and the developer guide
- Concepts section
- About 6,600 lines of interactive canvas/SVG teaching pages for 7 algorithms: linear regression, logistic regression, decision trees, KNN, naive Bayes, random forests, SVM
- Grading models
- Gemini 2.5 Flash drafts and refines follow-up questions; DeepSeek (deepseek-chat) critiques them on 5 criteria
- Code runner
- Sandboxed code runner built by my co-developer
- Runner limits
- Production: 25 s of CPU and 1,536 MB of memory per run
- Architecture
- Three isolated Cloud Run services: frontend, API, code runner. The runner has no database access and cannot be called from the internet.
- Running cost
- Scale-to-zero services: about $0 to $10 a month at idle
- Stack
- React 18, TypeScript, FastAPI, Firestore, Docker, Cloud Run