Syed Ali Haider Jaffery

Index

Everything I've built, grouped by discipline

Retrieval systems, computer vision, product work, and the odd piece of low-level tooling. Numbers quoted are measured, not estimated.

LLM & RAG Systems

Citation-first retrieval pipelines over real legislative corpora — hybrid search, reranking, and hallucination guards.

FBR Income Tax Research Assistant interface

01

FBR Income Tax Research Assistant

Citation-first RAG service over 1,962 indexed chunks of Pakistani tax legislation — 238 statutory provisions across 1,077 pages. Hybrid retrieval fuses exact-section lookup, full-text search, and 768-dim vector similarity via Reciprocal Rank Fusion, reaching 71.9% recall@6 at 620ms p50 latency. A 7-node LangGraph workflow with a citation-validation gate turns unsupported answers into explicit corpus-boundary abstentions instead of hallucinated citations.

RAG · LangGraph · FastAPI · pgvector · Neon · Python

Pakistani Traffic-Law RAG Assistant interface

02

Pakistani Traffic-Law RAG Assistant

Production hybrid RAG system over 421 pages of Pakistani traffic legislation with 1,406 vector-indexed chunks, using SQL-native retrieval — pgvector, PostgreSQL full-text search, RRF, and cross-encoder reranking. Refactored from a stateful singleton into a stateless, horizontally scalable service with structured logging, health probes, and SHA-256 deduplication. Hits 11ms query embedding and 29 chunks/sec indexing on CPU-only hardware.

RAG · pgvector · PostgreSQL · Cross-Encoder Reranking

Computer Vision / Deep Learning

Detection and classification models deployed behind production interfaces with fail-safe decision logic.

No public preview

01

Automated Tyre Inspection System (ATIS)

Final year project: an end-to-end computer-vision platform classifying cracked vs. normal tyres using a YOLO (Ultralytics) model across a structured train/validation/test dataset. A fail-safe confidence threshold clears tyres only on confident normal predictions and routes uncertain cases to manual review — treating false approvals as the costlier error. Live inspection runs on OpenCV scan-zone calibration and MJPEG streaming behind a role-based Flask dashboard hardened with auth, CSRF protection, rate limiting, and upload validation. Selected for SEE Pakistan, the UOL startup championship.

YOLO · OpenCV · Flask · PostgreSQL · Computer Vision

AI-Powered Applications

Full products where LLM features are embedded into secure, role-aware business workflows.

SafarCRM — AI-Powered, Secure CRM interface

01

SafarCRM — AI-Powered, Secure CRM

CRM platform where engineered prompts drive LLM-powered features that automate customer-relationship workflows. Built around authentication, RBAC, and customer-data protection, containerized with Docker and deployed across Render and Vercel.

LLM Integration · Docker · RBAC · Render · Vercel

Systems & Tooling

Low-level and developer-facing tools — compilers, execution backends, and browser-based dev environments.

Online OpenMP Compiler interface

01

Online OpenMP Compiler

Browser-based compiler that executes C/C++ with OpenMP parallel-programming support. Built both the execution backend and the in-browser coding interface.

C · C++ · OpenMP · Web Application