Skip to content
View hammasbuilds's full-sized avatar

Block or report hammasbuilds

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
hammasbuilds/README.md

Muhammad Hammas

AI Engineer · Master's in Artificial Intelligence — retrieval, agents, computer vision and applied ML.

Based in Pakistan. Every repository below was built, run and measured: the numbers in each README are what the code produced on a machine, and each one says how to reproduce them. The work is also on two portfolio sites, Computer Vision and AI Engineering (every project by heading), with notebooks and datasets on Kaggle.

77 public repositories · Python.

Portfolio: Computer Vision · AI Engineering · All projects by heading · Kaggle · Kaggle index


Self-Hosted Products

Full applications with a UI and a backend, built to run on your own machine. Open the page →

Repository What it is Links
studyloop Turn any textbook or web page into a personal tutor: course outline, answers quoted from the book, quizzes, BKT mastery tracking, Urdu questions. CPU-only, works offline. live · Kaggle
analyst-in-a-box AI back office for a small business: ask your data in English or Roman Urdu (read-only SQL shown), coherent forecasts, fraud screen with reasons, explainable customer risk, approval workflows with an audit trail. live · Kaggle
llm-control-room Self-hosted control plane for LLM apps: gateway with budgets and redaction, cheapest-sufficient-model router, cost and drift observability, canary releases with outage-aware rollback, bounded agent runs, sandbox. Works with no API key. live · Kaggle
book-to-skill Turn a technical book PDF into an agent skill, and measure how much of the book the skill still knows.
web-to-markdown Web pages to agent-ready markdown with the Python standard library alone, measured on 3,975 hand-labelled pages.

LLM & Agentic AI Tools

MCP servers and agent tooling that report what they cannot do. Open the page →

Repository What it is Links
pak-law-assistant Legal question answering over Pakistani statutes that will not cite a repealed provision. Temporal corpus, citation parsing for statutory/subordinate/reported forms, BM25 chosen for inspectability, and four refusal conditions. 49 tests, zero dependencies. live · Kaggle
repo-recon Six read-only readers for a Python codebase you did not write - structure, impact, modernisation risk, release readiness - behind one MCP server with zero dependencies that writes nothing live · Kaggle

Business & Career Tools

Tools for finding clients and finding work. Open the page →

Repository What it is Links
rankloom Seven growth tools in one web app: site audit, AI visibility, lead finder, Search Console work list, content studio, client reports - plus Job Radar. live
job-radar Junior AI job crawler: roles in Europe, the Gulf, Pakistan and Asia with the route from Pakistan shown; YC companies, portfolios, fellowships, platforms. live

Games & Reinforcement Learning

Agents that play real downloadable games on a laptop CPU. Open the page →

Repository What it is Links
game-playing-agents Eight agents that play eight real downloadable games on a laptop CPU, one numbered folder each: the agent, an eight-second film of it playing, a screenshot, and the result beside the untrained network with its error bar. live · Kaggle
game-agents Eight agents that play eight real downloadable games on a laptop CPU: PPO on raw frames, a Crafter planner with no learned weights, a Brogue agent driven by screenshots and keystrokes, and a MuJoCo robot - every score on held-out episodes with its error bar.

Computer Vision & ML Research

50 projects: 3D, recognition, generation, classical vision and causal inference, each measured against a baseline. Open the page →

Repository What it is Links
3d-computer-vision Reconstructing geometry from images and point clouds - classical and learned, measured against ground truth that is known or planted live
deep-computer-vision Recognition and understanding: segmentation, localisation and detection. A demonstration / portfolio project. live
generative-vision-lab Image-to-image restoration and translation, plus generation from text. A demonstration / portfolio project. live
super-resolution Single-image 4x super-resolution: multiple architectures fine-tuned and benchmarked under one protocol Kaggle
causal-inference What it costs to get the causal structure wrong - measured on data where the true effect is planted live
visual-analytics Making models and datasets legible: training behaviour, embeddings, attribution and change over time live

Coding Agents

Coding agents built from scratch, and the harnesses that price each part of them. Open the page →

Repository What it is Links
harness-agent-scratch A minimal coding agent built from scratch: agent loop, tools, skills, todos, permissions, sandbox, compaction, subagents. No framework, no SDK, CPU-friendly.
harness-ablation A coding-agent harness with every component switchable, and the ablation that prices each one.
terminal-agent A terminal coding agent whose evaluation harness replays every gold patch through the agent's own tools before a model sees a task.
worktree-fleet Run N coding agents in parallel git worktrees behind a tested merge queue, and measure on real history what the parallelism costs.
trace-to-patch A failing test to a verified patch - or an honest 'could not reproduce'. Measured: a traceback makes localisation harder, not easier.
pr-referee A code reviewer that only reports what it can prove - and measures its precision against an LLM reviewer on labelled diffs
repo-surgeon Mutation-gated codebase migration: it refuses the changes it cannot prove. AST + differential testing + local 14B model.
minimal-diff Among one-edit patches that pass the tests, "the smallest" depends on how you count size and break ties.
browser-agent Browser-agent page encodings on 101 MiniWoB++ tasks: what each encoding throws away before a model ever reads it.
agent-sandbox Run AI-generated code under named hardening profiles, then measure what each profile actually stops.
agent-memory A cross-session memory layer for agents, and a measurement of what "remember everything and search" actually finds, question type by question type.
bounded-agent-runtime An agent runtime that enforces its own limits - cost, steps, time, loop detection, approval gates - and a chaos suite that proves it. 21 tests, no model needed.

LLM Evaluation & Benchmark Audits

What a benchmark score actually measures: leakage, shortcuts and extraction effects, on public data. Open the page →

Repository What it is Links
code-llm-lab Twenty measurements of a local coder model: where model size pays, when self-debugging stops helping, what model-written tests actually catch, and how much of a benchmark score is the prompt.
code-eval-harness the same generations score 0% or 85.4% on HumanEval depending only on how the code is extracted from the model output.
mbpp-false-accepts MBPP gives each problem three assert statements. Measuring how much wrong code three asserts accept. Kaggle
swebench-localization 51.3% of SWE-bench Lite never names the file you must fix, so a single score cannot separate retrieval failure from reasoning failure. Kaggle
devign-leakage cross-split overlap is smaller than assumed, but every exact duplicate inside the test set carries conflicting labels.
router-14b The weaker model is enough 53.6% of the time - and a character count predicts human preference 61.7%, on 57,477 Arena votes
faithful Four ways a summarisation faithfulness checker looks better than it is — measured on 10,066 human-labelled summaries, and on a 14B judge that invents its own evidence in 6% of its flags.
doubt An exact bound on how well a fact-verification model can score while ignoring the evidence: 0.502 on VitaminC, 0.999 on FEVER
outcome The ECtHR outcome benchmark scores 0.859 micro-F1 if you ignore the facts and repeat the complaint; reading them tops out at 0.309
ledger-truth 7.6% of FinQA questions require a number that appears nowhere in the filing they were written against
contract-reader An 8k context window sees 41% of CUAD's answers - and the 41% is almost entirely the four fields on the first page
trial-match Why you cannot parse an age floor out of clinical trial eligibility prose: 89.6% of apparent registry contradictions are the checker's fault
urdu-desk 9.2% of BBC Urdu articles are typed with Arabic letters standing in for Urdu ones - and Unicode NFC will not merge them

RAG, Agents & Frameworks

Retrieval, document and multi-agent systems, and LangChain, LangGraph and MCP projects. Open the page →

Repository What it is Links
rag-forge Production RAG that refuses to guess. Hybrid retrieval over one Postgres, cross-encoder reranking, and citations verified by locating every quote in the real source before it is shown. Runs on SQLite for a zero-dependency demo. 28 tests.
rag-llm-eval RAG techniques measured as retrieval, on 14,602 real HotpotQA passages, with no language model in the loop. Retrieving smaller chunks made it worse; multi-query fusion made it worse; a second retrieval round with no reasoner was worth +7.1 points on bridge questions.
context-bench RAG vs CAG vs MAG, measured on real data with ground-truth answers. Where the cost crossover actually is, and why prompt caching decides it.
sql-analyst-agent Ask a database questions in English. It cannot damage the database and it shows you the SQL. Three safety layers with the prompt as the weakest; CI attempts five real writes as the agent role on every push. 32 tests.
doc-intelligence-api Document processing that sends a human one question, not one document. Field-level confidence routing, cross-field arithmetic validation that catches what OCR confidence never will, and Pakistani formats: CNIC, NTN, STRN, PK IBAN. 44 tests, zero dependencies.
deep-research-agent A research agent that tells you when sources disagree instead of picking one, deduplicates republished copies before counting corroboration, and verifies every quote against the fetched text. 48 tests, no API key needed.
enterprise-ops-crew A multi-agent back office that resolves tickets across four mock enterprise systems and stops before anything irreversible. Business-hours SLAs, playbook execution, approval gates, full audit trail. 39 tests.
langchain-llm LangChain projects built around the failure each one is usually demoed past. Constrained decoding looked 19 points less accurate than plain prompting and is really 3x more accurate. Retrieval on documents that already fit in context cost 53 points of accuracy. Local models, no API key, 69 tests.
langgraph-llm LangGraph projects built around the failure each one is usually demoed past. Doubling a revision loop from 3 to 6 iterations changed nothing; a confidence gate dropped clean-ticket accuracy from 100% to 33%; a silent branch failure was disclosed 0% of the time. Local models, no API key, 76 tests.
mcp-llm-rag chain-of-thought made every model worse on TruthfulQA, and SWE-bench patches failed on diff formatting rather than reasoning. All local, no API keys.

LLM Platform & MLOps

Gateways, monitoring, serving, release gates and fine-tuning checks. Open the page →

Repository What it is Links
llm-gateway One entry point for every LLM call: model routing by difficulty, per-tenant budgets and rate limits, fallback chains, caching, and guardrails that redact secrets before they leave. 42 tests, no API key needed.
llm-observability-platform Monitoring built for LLM applications: cost per feature and per success, latency percentiles that exclude cache hits, grounding rates, and prompt drift detected by PSI without ever storing a prompt. 49 tests, no numpy.
model-serving-platform Multi-model serving: A/B testing with sticky assignment, canary rollout, shadow traffic, per-version SLOs and auto-rollback that knows the difference between a bad canary and an upstream outage. 31 tests.
insurance-mlops The four things that break a deployed model: point-in-time feature leakage, training/serving skew, undocumented models, and unlawful data reuse. A release gate that refuses rather than warns. 42 tests, zero dependencies.
incident-copilot AIOps: Drain log-template extraction, anomaly detection robust to the outliers it is looking for, and correlation that turns forty alarms into one incident with a suspect. 39 tests, no numpy.
qlora-finetune-suite The parts of fine-tuning that go wrong before the GPU is touched: VRAM budgeting, loss masking that stops the model learning to generate prompts, leak-free splits, schedules, and before/after evaluation. 75 tests, no GPU required.

Data Science & Applied ML

Classical ML, NLP and forecasting, each built around the mistake that makes its answer wrong. Open the page →

Repository What it is Links
machine-learning Twenty machine-learning projects on public data. Each built around the mistake that makes its answer wrong: search bias, target leakage, overlapping windows, imbalance, confounding.
knowledge-tracing BKT, PFA, IRT and DKT written from scratch, and how much of deep knowledge tracing's lead on ASSISTments was duplicated rows.
nlp-llm-ml BM25 lands within 8 points of a pretrained neural embedding for 1/270th of the indexing cost.
credit-risk-engine A credit scorecard that explains every decline in points: WoE/IV binning with leakage detection, PDO point allocation, adverse-action reason codes, calibration, and a fairness audit that reports all four incompatible measures. 40 tests, zero dependencies.
demand-forecast-platform Hierarchical demand forecasting where the numbers add up: reconciliation with coherence asserted, Croston for intermittent demand, and a rolling-origin backtest that proves it cannot leak. 41 tests, zero dependencies.

Bioinformatics

Viral genomes, PCR assays and primers, measured on real sequence data. Open the page →

Repository What it is Links
assay-drift Do published PCR diagnostic assays still match what is circulating? 2,765 GenBank genomes, five published assays, zero dependencies. Kaggle
clcuv-surveillance Genomic surveillance for Cotton Leaf Curl Virus on real NCBI GenBank sequences: which variant is rising and is that real, is anything selecting for it, and how are strains related. Collapsing clonal duplicates turned 9 'emerging variants' into 0. 101 tests, zero dependencies.
primer-designer Diagnostic PCR primers that survive viral drift. Nearest-neighbour thermodynamics, conservation analysis, degenerate primers, and alerts when a deployed assay starts going blind because a mutation landed at the 3-prime end. 64 tests, zero dependencies.

Python Packages & Developer Tools

Installable packages and zero-dependency tools for codebases and tests. Open the page →

Repository What it is Links
urdunlp Urdu and Roman Urdu NLP: normalisation, tokenisation, transliteration, stopwords. Zero dependencies, 40 tests. live · Kaggle
blast-radius What a dependency upgrade actually changes - including the silent behaviour changes nothing warns you about live · Kaggle
flake-detective Find flaky tests and say what they depend on - order, hash seed, clock, or nothing at all. Zero dependencies. live · Kaggle
suite-auditor Mutation testing that refuses to claim a gap it cannot prove. Found 42% of its own sibling repo untested. live · Kaggle
test-impact-oracle Run only the tests a change could possibly affect - and measure what that skips, not just what it saves. Zero dependencies.
perf-hunter Find performance regressions, and measure how often the gate cries wolf. Zero dependencies.
cartographer Compare what a repository's imports declare against what its git history reveals. Zero dependencies.
docstring-drift finds docstrings documenting parameters their function does not have. 101 across 8 major libraries. Pure AST: no imports, no execution, zero runtime dependencies.
commit-history-forensics detects fabricated contribution graphs from timestamp skew, uniformity and cadence. 25/25 genuine repos clean, 2/2 fakes caught, including one that hides the timestamp tell.
notebook-to-package Turn a Jupyter notebook into an installable package, and prove the conversion kept its behaviour. Zero dependencies.

Datasets

Reasoning datasets generated and labelled by code, published on Kaggle. Open the page →

Repository What it is Links
llm-agentic-datasets Reasoning datasets - code-generated, code-verified. Links to each dataset on Kaggle. live · Kaggle

Popular repositories Loading

  1. urdunlp urdunlp Public

    Python · Unicode normalisation · transliteration — Urdu and Roman Urdu NLP: normalisation, tokenisation, transliteration, stopwords. Zero dependencies, 40 tests.

    Python 1

  2. bounded-agent-runtime bounded-agent-runtime Public

    FastAPI · Pydantic · Anthropic API · Typer — An agent runtime that enforces its own limits - cost, steps, time, loop detection, approval gates - and a chaos suite that proves it. 21 tests, no model…

    Python

  3. llm-gateway llm-gateway Public

    Python · httpx · Anthropic API — One entry point for every LLM call: model routing by difficulty, per-tenant budgets and rate limits, fallback chains, caching, and guardrails that redact secrets be…

    Python

  4. model-serving-platform model-serving-platform Public

    Python · A/B + canary + shadow · SLO monitor — Multi-model serving: A/B testing with sticky assignment, canary rollout, shadow traffic, per-version SLOs and auto-rollback that knows the difference …

    Python

  5. llm-observability-platform llm-observability-platform Public

    Python · PSI drift detection · cost telemetry — Monitoring built for LLM applications: cost per feature and per success, latency percentiles that exclude cache hits, grounding rates, and prompt dri…

    Python

  6. incident-copilot incident-copilot Public

    Python · Drain templates · robust z-score (MAD) — AIOps: Drain log-template extraction, anomaly detection robust to the outliers it is looking for, and correlation that turns forty alarms into one …

    Python