Work I built

Selected systems.

My current case studies, earlier builds, and visual evidence across public services, agents, safety, education, and worker accessibility.

  1. 01VideoField footage, many frames per object
  2. 02Detect3-class detector
  3. 03TrackBoT-SORT, merge across passes
  4. 04Count±2 range per count
From field footage to a count a reviewer can check.
My role: Applied AI Engineer Intern, then AI Researcher · Louis Dreyfus CompanyComputer vision · 2026

Counting each object once in field video

Built a YOLO and BoT-SORT pipeline that counts each object once in field video, deployed on Azure. Traced over-counting to duplicate tracks, not detector error, which cancelled a planned retrain.

A gated merge across camera passes cut over-counting at the hardest site by about three quarters · every count carries a ±2 range

YOLOBoT-SORTAzureRead the full story
Churp home page: A Fair Path to Your Community Garden Plot, live app captured 11 Nov 2026
Funded pilot · 2025
My role: Product Lead · People's AssociationCivic product

Churp

A civic allotment-garden balloting platform taken from community-hackathon concept to a pilot launch in Tengah with a nine-volunteer team.

Live at churp.sg: 300 plots, 60+ residents onboarded, 6 zones (Oct 2026) · Singpass login · Sparks-funded pilot

Singpass OIDCMyinfoFAPI 2.0VAPT
See Churp running: public screens and a recording

Case files

How each system works, with the evidence

One page per project: the outcome, my role, the idea as a figure, how it works, what was hard, and where to check it.

  1. TraceRazorOn 12 live runs that all still passed, my first fix raised token use by 5.6 percent on average. I published that, rewrote the fix, and the second round measured 0.7 percent fewer tokens.Open-source tool · 2026
  2. Assay20 or more adversarial probes per run across six failure categories, and a verdict gated at pass^k on held-out reruns, so a single lucky pass never certifies an agent.Open-source tool · 2026
  3. ClaimLensThe fine-tuned NLI model scores 65.8 percent accuracy on 3,000 VitaminC test pairs (95 percent CI 64.0 to 67.5), against 59.4 percent zero-shot. Measuring it exposed a label swap in the app, now fixed.Course project with a published model · 2026
  4. Beyond Helmets: PPE ComplianceHeld-out test mAP50 0.47 on 255 images (validation during training 0.62 to 0.64). At the app's 0.5 threshold it finds 29.5 percent of labelled items; pose landmarks confirm each item is worn.Course project, deployed web app · 2025
  5. AgenticPDF1,007 SuperStore invoices and 3 reference papers indexed into a fully local two-stage retrieval workbench, with on-device embeddings and reranking and no API key needed in offline mode.Local-first prototype · 2026
  6. GuideMeSGLive and submitted to HackRift 2025: a browser AR arrow guides the traveller, and the caregiver is alerted the moment the traveller is more than 50 m off route.Hackathon build, live · 2025
  7. EduQuery SGA hybrid PostgreSQL plus MongoDB system behind one Express API, with advanced search over 25+ filterable fields, a Leaflet map of Singapore schools and six analytics endpoints.Course project, full-stack database system · 2025
  8. OsciWriting: LLM Workload Redundancy StudyThe decision run failed the gate the PRD fixed before the run: judged substitutability topped out at 12.8 percent (strict filter) and 15.3 percent (recall filter) against a 70 percent bar, so the outcome is Abandon.Pre-registered study · 2026
  9. This site: a résumé engine, an MCP server and a build that checks itselfA live MCP server and résumé engine behind this site, callable from this page, and a build that refuses to ship a skill whose proof does not resolve.This website · 2026
  10. One detector, served three ways: a service, a C++ port and a ROS 2 nodeUnder 2 CPUs the service saturates at 4 users and 24.0 requests a second; with keep-alive, one of 4 pods took every request. The C++ port is bit-identical but only 1.03 times as fast.Public repository · 2026

Lab

Smaller builds and experiments

Working repositories, prototypes and earlier builds. Each one starts with a question I want evidence for. TraceRazor, Assay, AgenticPDF and OsciWriting started here too; each now has a case file above.

  1. Built by Zulfaqar Hafez

    Portfolio MCP server

    2026 · Live on this site

    I built an MCP server into this site so agents can read my work and build résumés only from blocks I approved; a job posting can steer the selection but never adds a word.

    18 tools · skills with their proof · approved-block résumés · owner-only application tracker

    How agents connect

Earlier builds and open models

My role: Team of three at Hack n Roll 20252025

HelpLah.AI

A bilingual (English and Mandarin) chatbot built at Hack n Roll 2025 that offers empathetic support to people facing loneliness and reads its replies aloud.

Llama-2-7B-chat on a Colab GPU behind a Flask app · spoken replies with Google Text-to-Speech

FlaskLlama 2gTTS
FairWork Contract landing page with its document upload panel, live app captured 11 Nov 2026
My role: Frontend Engineer2025

FairWork Contract

Payslip translation support for foreign workers who need clearer employment information in their own language.

Multilingual document explanation workflow

Next.jsGeminiFastAPI
See FairWork Contract running: public screens and a recording

All repositories on GitHub Models on Hugging Face tracerazor on PyPI

Visual evidence · 05

People, prototypes, and shipped screens

Public event photographs and product imagery from civic, safety, education, and worker-accessibility builds.

The Churp team at the Community Hackathon in Singapore
Churp · Community HackathonPublic LinkedIn event photo from the civic prototype that became a $20K Tengah pilot.
Zulfaqar Hafez with teammates at SMU Hack for Cities
SMU Hack for Cities finalist teamPublic LinkedIn field note from an earlier finalist run.
PPE Compliance dashboard showing helmet detection and compliance status
PPE ComplianceDetection and pose-aware safety validation in one operator view.
EduQuery SG project interface mark
EduQuery SGSearch and analytics across dual education databases.
FairWork Contract landing page with its document upload panel, live app captured 11 Nov 2026
FairWork ContractMultilingual payslip support for clearer worker information.

My build record

Awards and build record

2025Live pilot

Sparks x Build for Good Community Hackathon

Churp · Tengah garden balloting

2025Finalist

SIT HackRift

GuideMeSG

2025Finalist

SMU Hack For Cities

GreenMerlion, CV recycling

2025Top 100

Pan-SEA AI Dev Challenge

Regional AI challenge

2022Top 20

Google Cloud Hackathon

CareFall Vision, fall detection

A build record spanning applied AI and civic products, including a $20K Sparks-funded Churp pilot in Tengah.