Projects
Things I've built.
-
AI Notes Assistant
A desktop RAG assistant that answers questions from 260 pages of lecture PDFs with page-level citations. It runs on the Gemini API or fully offline on local Ollama models through a shared provider layer.
- Hybrid retrieval that fuses FTS5 BM25 and embedding cosine rankings via reciprocal rank fusion.
- Blocks fabricated sources by validating every model citation against retrieved pages, stripping invented IDs and linking the rest to the exact PDF page.
PythonPySide6SQLiteGemini APIOllama -
Database From Scratch
A paged, disk-backed B+ tree with 40K fsync'd inserts/s and 600K lookups/s on 100K random keys.
- Holds lookups to 3 page reads at millions of keys by packing 340-way internal nodes and storing 64-byte records inline in leaf pages, removing a separate heap-file read per lookup.
- Lost 0 acknowledged writes across 100 SIGKILL crash trials thanks to a checksummed write-ahead log with torn-tail truncation and replay on restart.
C++POSIX I/OCMake -
AI Code Vulnerability Scanner
A fault-tolerant, multithreaded C++ orchestrator that process-isolates each static-analysis job via fork/exec with non-blocking I/O, per-job timeouts, and bounded automatic retries.
- A 3-stage pipeline combining clang-tidy, a custom regex finding parser, and Gemini LLM analysis to produce confidence-scored, severity-tagged verdicts with suggested fixes via structured JSON prompts.
C++libcurlCMakeGemini API -
Unix Shell From Scratch
Code is hidden by university.
-
Web Server From Scratch
Code is hidden by university.
-
Malloc From Scratch
Code is hidden by university.