code for tutoring platform of math in UGANDA New curriculum
# π Pi-Mathematics CBC Academy
> Uganda's premier O-Level & A-Level mathematics learning platform — built on the NCDC curriculum, powered by **Aluga 2.0 AI**.
**🌐 Live site:** pi-mathematics.ac.ug
**📱 Android app:** Google Play Store *(coming soon)*
---
## What is Pi-Mathematics?
Pi-Mathematics CBC Academy is a mathematics learning platform built specifically for Ugandan secondary school students and teachers. It covers the full NCDC (National Curriculum Development Centre) syllabus from **Senior 1 through Senior 6**, including Principal Mathematics, Applied Mathematics, and Subsidiary Mathematics.
The platform is accessible on **any phone or computer browser**, and as a **native Android app** via Google Play Store.
---
## Features
| Feature | Description |
|---------|-------------|
| ✨ **Aluga 2.0 AI Tutor** | AI mathematics tutor trained on Uganda CBC methods. Shows complete step-by-step working. Accepts photos of handwritten problems. |
| 💬 **Class Discussion Zones** | Per-class groups (max 120 students). Post questions and photo solutions. Aluga 2.0 monitors and supplements all replies automatically. |
| 🎬 **Video Lessons** | Concept-focused lessons up to 30 minutes, organised by NCDC topic and term. |
| 📄 **Notes & Past Papers** | Downloadable PDF notes, worked examples, and UACE/UCE past papers. |
| 📶 **46-Hour Offline Mode** | Download content and study for up to 46 hours without internet — ideal for areas with limited connectivity. |
| ⬆ **Auto-Promotion** | One-click academic year transition. Class groups, syllabus context, and Aluga's knowledge base update automatically. |
| 🧠 **Aluga Training (RAG)** | Teacher-approved Q&A pairs and notes are embedded into Supabase Vector. Aluga searches this knowledge base before every answer. |
| 📝 **Question Builder** | Build NCDC-aligned question papers with marks allocation. Export as PDF. |
| 📊 **Progress Tracking** | Topic-by-topic progress across all terms and classes. |
---
## Curriculum Coverage
### …