EdTechNDA
Math Parsing Algorithm
Algorithm design + API development
NDA
This engagement is covered by NDA. The overview below reflects general scope and approach only.
A Python-based mathematical function parser and answer-checking engine that normalizes, compares, and validates student answers against correct solutions. Detects specific mistake patterns and returns targeted feedback via a Flask API.
Parser Engine
Expression normalization
Mistake Detection
Pattern-based error classification
Flask API
RESTful validation endpoint
// Validation pipeline
Student Answer
Raw input
parse
Feedback
Targeted response
Normalize
Compare
Detect Pattern
// What we built
- Function parser — Parses and normalizes mathematical expressions into comparable canonical forms
- Answer validation — Compares student answers against solutions with tolerance for equivalent forms
- Mistake detection — Identifies specific error patterns and categorizes common mathematical mistakes
- Flask API — RESTful endpoint consumed by the React frontend for real-time answer checking
// Stack
PythonFlaskAlgorithmMath ParsingReact
