Problem Context
Language learners studying for the TEF Canada examination need structured practice modules, immediate scoring of speaking and written responses, and vocabulary tracking. However, unconstrained client-side calls to external AI APIs resulted in latency unpredictability and potential uncontrolled billing exposure.
Data & Input Schemas
Audio speech inputs, student written exam submissions, curated curriculum prompts, and data warehouse event models (fct_attempts) for tracking learner study attempts.
Method & Architecture
Built a Next.js web application with Firebase Authentication and Cloud Firestore. Moved AI grading logic to dedicated server endpoints with rate limiting, per-student daily quota caps, and burst protection. Resolved 124 hidden TypeScript type errors after removing build bypasses, established a Vitest test suite of 136 passing tests, and enforced strict Firestore database security rules.
Results & Evaluation
136 passing unit and integration tests (EVD-FB-001), 124 type errors resolved (EVD-FB-002), and 0 active TypeScript compiler errors (EVD-FB-003) across all application routes and Cloud Functions.
What This Does Not Show
What this does not show: This case file documents the software engineering, security hardening, and test infrastructure built and owned by Henish Patel as Software Engineer (Data and AI), part-time alongside studies. It does not claim commercial scale, user counts, or revenue metrics.
01-owner-profile-and-truth-rules.md.