Technical Requirements & Evaluation

Hardware Requirements

ComponentSpecification
Operating SystemAndroid 11 (API level 30) or higher
Architecture64-bit ARM (arm64-v8a)
Memory3–4 GB RAM for the small on-device models. Larger optional models recommend 4–6 GB
StorageSpace for the app, the Whisper speech model, and the on-device model you choose (about 105 MB to 806 MB)
ConnectivityNot 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

ModelApprox. SizeRecommended RAM
Fast-Path Only (built-in rules)none2 GB
SmolLM2-135M-Instruct~105 MB3 GB
Gemma 3 270M~253 MB4 GB
Qwen 2.5 0.5B~491 MB4 GB
Gemma 3 1B~806 MB6 GB

Software Stack

CategoryTechnology
Mobile frameworkReact Native 0.86, React 19
LanguagesTypeScript, Kotlin, C/C++
Local databaseSQLite (OP-SQLite) with FTS5 search
Speech recognitionwhisper.cpp + Silero VAD
On-device understandingRule-based parser + llama.cpp (GGUF models)
Speech outputAndroid system TTS (react-native-tts). ElevenLabs online
DocumentsPDFBox (PDF text), ML Kit (OCR)
BackendPython FastAPI on Vercel, Neon PostgreSQL
Online AIDeepSeek (conversation), ElevenLabs (voice), Pinecone (handbook retrieval)
TestingJest, React Native Testing Library, ESLint, TypeScript checks
ToolsVisual 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.