cosmicmicra commited on
Commit
6ecd5b7
Β·
verified Β·
1 Parent(s): 12cb328

Add MathLingua README

Browse files
Files changed (1) hide show
  1. README.md +47 -0
README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MathLingua β€” Adaptive Bilingual Math Tutoring System
2
+
3
+ An adaptive tutoring system for Spanish-speaking students (grades 6–8) transitioning to English-medium mathematics education. Uses progressive bilingual scaffolding and a hybrid adaptive algorithm to personalize difficulty.
4
+
5
+ ## πŸ“„ Documents
6
+
7
+ | File | Description |
8
+ |---|---|
9
+ | [**technical_specification.md**](technical_specification.md) | Full paper-ready technical specification (~60KB, 1200+ lines) |
10
+ | [**system_architecture.md**](system_architecture.md) | Detailed system architecture with component diagrams, data flows, API contracts |
11
+
12
+ ## πŸ—οΈ Key Components
13
+
14
+ ### Four-Level Scaffolding
15
+ - **L1**: Simplified English (shorter sentences, simpler vocabulary)
16
+ - **L2**: Bilingual keywords inline (English with Spanish annotations)
17
+ - **L3**: Full Spanish translation
18
+ - **L4**: Step-by-step solution reveal
19
+
20
+ ### Hybrid Adaptive Algorithm
21
+ - **Elo Rating**: Overall student ability tracking with hint-weighted outcomes (1.0/0.75/0.50/0.25/0.0)
22
+ - **Bayesian Knowledge Tracing (BKT)**: Per-topic mastery estimation with slip adjustment for scaffold usage
23
+ - **Thompson Sampling**: ZPD-constrained question selection with exploration/exploitation balance
24
+
25
+ ### Engineered Features
26
+ - **Language Dependency Score (LDS)**: Quantifies reliance on linguistic scaffolding (0 = English-independent, 1 = Spanish-dependent)
27
+ - **Math Confidence Score (MCS)**: Quantifies mathematical ability independent of language (0 = struggling, 1 = confident)
28
+
29
+ ### Technology Stack
30
+ - Frontend: Next.js 14+ / TypeScript / Tailwind CSS
31
+ - Backend: Firebase (Auth, Firestore, Cloud Functions)
32
+ - LLM V1: Google Gemini 2.0 Flash
33
+ - SLM V2: Qwen2.5-3B-Instruct (QLoRA fine-tuned)
34
+ - Adaptive Engine: Client-side TypeScript (zero-latency decisions)
35
+
36
+ ## πŸ“Š Difficulty Taxonomy
37
+
38
+ 15 sub-levels across 3 tiers, ordered by **linguistic complexity** (not mathematical difficulty):
39
+ - **Level 1 (Easy)**: 1.1–1.5, FK grade 1.0–6.0
40
+ - **Level 2 (Medium)**: 2.1–2.5, FK grade 5.5–10.0
41
+ - **Level 3 (Hard)**: 3.1–3.5, FK grade 9.5–14.0
42
+
43
+ Validated with monotonically increasing Flesch-Kincaid readability scores across all 15 levels.
44
+
45
+ ## πŸ“ License
46
+
47
+ This project documentation is provided for educational and research purposes.