Technical Requirements & Evaluation
Hardware Requirements
| Component | Specification |
|---|---|
| Operating System | Android 11 (API level 30) or higher |
| Architecture | 64-bit ARM (arm64-v8a) |
| Memory | 3–4 GB RAM for the small on-device models. Larger optional models recommend 4–6 GB |
| Storage | Space for the app, the Whisper speech model, and the on-device model you choose (about 105 MB to 806 MB) |
| Connectivity | Not required for planning, alarms, reminder calls, or supported voice commands. Required for Online Mode, sync, and online voice |
On-Device Models Are Optional
LAFINA works with its built-in rule parser alone (“Fast-Path Only”). Students with stronger phones can download a larger on-device model in Profile for better offline understanding of casual phrasing.
Optional On-Device Models
| Model | Approx. Size | Recommended RAM |
|---|---|---|
| Fast-Path Only (built-in rules) | none | 2 GB |
| SmolLM2-135M-Instruct | ~105 MB | 3 GB |
| Gemma 3 270M | ~253 MB | 4 GB |
| Qwen 2.5 0.5B | ~491 MB | 4 GB |
| Gemma 3 1B | ~806 MB | 6 GB |
Software Stack
| Category | Technology |
|---|---|
| Mobile framework | React Native 0.86, React 19 |
| Languages | TypeScript, Kotlin, C/C++ |
| Local database | SQLite (OP-SQLite) with FTS5 search |
| Speech recognition | whisper.cpp + Silero VAD |
| On-device understanding | Rule-based parser + llama.cpp (GGUF models) |
| Speech output | Android system TTS (react-native-tts). ElevenLabs online |
| Documents | PDFBox (PDF text), ML Kit (OCR) |
| Backend | Python FastAPI on Vercel, Neon PostgreSQL |
| Online AI | DeepSeek (conversation), ElevenLabs (voice), Pinecone (handbook retrieval) |
| Testing | Jest, React Native Testing Library, ESLint, TypeScript checks |
| Tools | Visual Studio Code, Android Studio, Git/GitHub |
System Evaluation Strategy
LAFINA is evaluated in several ways:
- Usability: the System Usability Scale (SUS) questionnaire on a 5-point Likert scale (1 = Strongly Disagree to 5 = Strongly Agree), aligned with ISO/IEC 25010 quality characteristics.
- Correctness: automated tests for intent understanding, review rules, scheduling, and sync. A built-in developer benchmark measures response times.
- Reliability: on-device testing of alarm and reminder-call delivery, including a locked screen, a closed app, and reboots.
- Speech: speech recognition accuracy and latency on test phrases.
See Model Evaluation for details.