AI agent to evaluate and score resumes.
Resume-to-Score pipeline that extracts structured data from PDFs, enriches with GitHub signals, and outputs a fair, explainable evaluation.
--- ## Contents - [Context and intent](#context-and-intent) - [Coverage](#coverage) - [Overview](#overview) - [Architecture](#architecture) - [Installation and Setup](#installation-and-setup) - [Prerequisites](#prerequisites) - [Quick setup with pip](#quick-setup-with-pip) - [Ollama models](#ollama-models) - [Configuration](#configuration) - [How it works](#how-it-works) - [CLI usage](#cli-usage) - [Directory layout](#directory-layout) - [Provider details](#provider-details) - [Contributing](#contributing) - [License](#license) --- ## Context and intent This project got a lot of attention recently, and some of the discussion surfaced misconceptions worth addressing directly. **What this is not:** - Not an ATS (Applicant Tracking System) - Not used to screen HackerRank's open roles - Not a product available to HackerRank customers **What it actually is:** Every year HackerRank receives 50,000–60,000 intern applications. No human can read that many resumes well. This tool was built to *rank* them — helping decide which resumes to read first. Resumes scoring below the cutoff are filtered out, but the cutoff is intentionally set very low so only candidates at the very bottom of the distribution are removed. The vast majority pass through to human review, where the real decisions are made. Since this was built, HackerRank has also shipped [AI Interviewer (Chakra)](https://www.hackerrank.com/products/ai-interviewer/) to automate the first round of interviews — so candidates are no longer assessed on their resume alone. **On the default model:** The repo ships with `gemma4:latest` as the default because it runs locally on most laptops without any cloud API key. Actual intern resumes at HackerRank are evaluated using a top-tier Gemini model. The repo ships with a demo config, not the production one. --- ## Coverage Articles and discussions that have shaped how we think about improving this project: | Article | Key takeaway | |---|---| | [HackerRank open sourced its ATS. My resume scored 90/100. Oh wait 74/100. No — 88/100. Actually 83/100.](https://danunparsed.com/p/hackerrank-open-source-ats) — *Dan Kinsky* | Deep statistical analysis of score variance across 100 runs of the same resume. Isolates which categories are stable (technical skills) vs. noisy (project quality judgments). Points to LLM non-determinism as the root cause. | | [The Score Depends on the Roll of the Dice](https://pinggy.io/blog/hackerrank_open_source_ats_inconsistent_scoring/) — *Pinggy Blog* | Reproduces the variance findings and surfaces a security issue: invisible text embedded in PDFs can inflate scores significantly. | | [The Hiring Rubric Inside](https://byteiota.com/hackerrank-ats-open-source-the-hiring-rubric-inside/) — *ByteIota* | Breaks down the scoring weights and argues that a GitHub-centric rubric disadvantages engineers whose work is in private enterprise repos. Also notes the signal degradation risk as candidates optimize for the now-public rubric. | | [Analyzing resume scoring consistency](https://dev.to/mgobea/hackerrank-open-sourced-its-ats-analyzing-resume-scoring-consistency-1j5d) — *Mariano Gobea Alcoba, DEV Community* | Proposes concrete fixes: standardized data formats, versioned evaluation models, ensemble scoring, and explainability layers to reduce variance and make the system more robust. | | [AI-Powered Pipeline for Explainable Resume Scoring](https://aitoolly.com/ai-news/article/2026-06-26-interviewstreet-unveils-hiring-agent-an-ai-powered-pipeline-for-explainable-resume-scoring-and-githu) — *AIToolly* | Covers the launch and highlights the transparency argument — making scoring logic public allows scrutiny that proprietary ATS systems never face. | | [Hacker News discussion](https://news.ycombinator.com/item?id=48713832) | 200+ comment thread covering LLM determinism, GDPR Article 22 implications, and the broader ethics of automated resume filtering. | **Video coverage** - [HackerRank Open-Sourced Their ATS?](https://www.youtube.com/shorts/0OP2bhYZQfc) — YouTube Short - [HackerRank Open-Sourced ATS Tool for selecting Resume](https://www.youtube.com/shorts/UnHGC1Ywhys) — YouTube Short - [HackerRank Custom ATS Released! Get Your Resume Score & Beat ATS Filters](https://www.youtube.com/watch?v=tQSve-xx4_8) — full walkthrough video **Community tools built on this repo** - [Resume Reality Check](https://resume-reality-check-seven.vercel.app/) — hosted tool that lets candidates score their own resume against the same rubric --- ## Overview Hiring Agent parses a resume PDF to Markdown, extracts sectioned JSON using a local or hosted LLM, augments the data with GitHub profile and repository signals, then produces an objective evaluation with category scores, evidence, bonus points, and deductions. You can run fully local with Ollama or use Google Gemini. --- ## Architecture| **Flow** 1. `pymupdf_rag.py` converts PDF pages to Markdown-like text. 2. `pdf.py` calls the LLM per section using Jinja templates under `prompts/templates`. 3. `github.py` fetches profile and repos, classifies projects, and asks the LLM to select the top 7. 4. `evaluator.py` runs a strict-scored evaluation with fairness constraints. 5. `score.py` orchestrates everything end to end and writes CSV when development mode is on. | **Key modules** - `models.py` Pydantic schemas and LLM provider interfaces. - `llm_utils.py` Provider initialization and response cleanup. - `transform.py` Normalization from loose LLM JSON to JSON Resume style. - `prompts/` All Jinja templates for extraction and scoring. |
No open issues yet, or sync has not completed.