Inspiration
Students often know that an answer is wrong but not which line caused the mistake. AI Tutor KZ is an existing learning assistant for mathematics and physics; StepCheck adds feedback on a student's own ordered solution steps.
What it does
A student enters a problem and their attempted steps. StepCheck returns per-step feedback, identifies the first incorrect or unsupported step, gives an explanation and hint, and lets the student edit and resubmit. Tutor chat remains available for a streamed follow-up. The interface supports Russian and Kazakh.
How we built it
StepCheck is a separate versioned FastAPI endpoint and Expo mobile screen. A deterministic verifier checks a limited set of arithmetic, one-variable linear algebra, substitutions, and basic unit operations. The configured Ollama/Qwen model supplies structured explanations; the backend validates those responses and keeps them separate from verifier results. Unsupported cases remain uncertain.
What we tested
On a curated 26-case dataset, deterministic verdicts matched all 26 expected cases, including six expected unsupported cases. This does not establish broad accuracy. A separate Qwen run produced 23/26 schema-valid, verdict-aligned responses; three explanations had quality or formatting problems, and independent human review remains pending. Automated tests recorded 85 backend and 40 mobile passes, plus mobile typecheck and lint. On one Android 15 phone, StepCheck identified an incorrect linear-equation step, accepted the corrected resubmission, and tutor chat streamed a response.
AI use and development
The app uses the configured local Ollama model qwen3.5:9b for tutor replies and StepCheck explanations. Deterministic checks determine StepCheck verdicts; model explanations may contain errors. OpenAI Codex assisted with code, tests, evaluation tooling, and documentation, and its case-by-case review found flawed model explanations that were corrected or rejected. The demo narration was synthesized with Edge TTS from the project owner's script.
Limitations
The verifier covers a narrow set of supported math formats and basic unit operations; it cannot verify arbitrary reasoning. Curated testing does not establish broad accuracy. Model explanations may be wrong, and independent human review is pending. Cloud paths are not deployed or live-tested. StepCheck attempt linkage lasts only while the screen is active. The demo uses a locally hosted model and requires a compatible Android development setup.
Built With
- ai-tutor-kz
- education
- expo.io
- fastapi
- mathematics
- ollama
- physics
- python
- qwen
- react-native
- stepcheck
- typescript