01The problem
Internship postings are scattered across hundreds of company career pages and job boards. Aggregators bury them under full-time roles, and generic search ranks by keywords or recency without knowing a student’s dates, languages or degree level.
The cost is not just time. A posting that looks perfect can be ineligible for a reason stated in one sentence: a start date before your availability, a final-year-only rule, a language requirement. Missing that sentence wastes an application.
02The approach
Collect postings only from the official job-board APIs that companies publish, score them against a profile with components a person can check, and quote the posting whenever a constraint is violated. Then measure whether the ranking is any good before trusting it.
- BM25 (k1 = 1.5, b = 0.75)
- TF-IDF cosine
- Skill taxonomy with aliases
- Rule-based eligibility checks with quoted evidence
- Rocchio-style feedback
- Optional sentence embeddings fused by Reciprocal Rank Fusion
03Architecture
Select a component to see what it does, why it exists and what it talks to. Verified against the repository’s source and docs/ARCHITECTURE.md.
Select a component
per request
Matching engine
- What it does
- Ranks up to 3,000 active postings against the profile on every request: BM25 + TF-IDF, skills, domain fit, eligibility checks with quotes, feedback.
- Why it exists
- Profiles change at any time; with cached text analysis a request takes well under a second, so precomputing scores isn’t worth it.
- Technology
- Pure Python
- Connected to
04How a score is made
A small, honest replica of the scoring rule, running in your browser on seven synthetic postings. Switch between plain BM25 and the full engine and watch eligibility and skills reorder the list.
query: “machine learning ranking retrieval embeddings nlp python evaluation” · skills: python, pytorch, nlp, sql · available: 2027-04
- 1
Machine Learning Intern, Search Ranking
Score: 100(same)
Synthetic Co. A
Relevance ·0.351.00Skills ·0.31.00Domain fit ·0.151.00Eligibility ·0.21.00Has: python, pytorch, sql · Missing: —
Posting says: “Start date: September 2027.”
- 2
NLP Research Intern
Score: 83(same)
Synthetic Co. D
Relevance ·0.350.53Skills ·0.31.00Domain fit ·0.151.00Eligibility ·0.21.00Has: python, nlp, pytorch · Missing: —
Posting says: “Start date: April 2027.”
- 3
Data Engineering Intern, Pipelines
Score: 56(up 3)
Synthetic Co. G
Relevance ·0.350.03Skills ·0.30.67Domain fit ·0.151.00Eligibility ·0.21.00Has: python, sql · Missing: airflow
Posting says: “Internship starting from May 2027.”
- 4
Data Science Intern, Forecasting
Score: 40(down 1)
Synthetic Co. B
Relevance ·0.350.23Skills ·0.30.67Domain fit ·0.151.00Eligibility ·0.20.00Has: python, sql · Missing: pandas
Posting says: “Internship starting in January 2027.” · capped at 40: start date before availability
- 5
Quantitative Research Intern
Score: 31(same)
Synthetic Co. E
Relevance ·0.350.03Skills ·0.30.33Domain fit ·0.150.00Eligibility ·0.21.00Has: python · Missing: c++, statistics
Posting says: “Start date: June 2027.”
- 6
Backend Engineering Intern
Score: 14(down 2)
Synthetic Co. C
Relevance ·0.350.03Skills ·0.30.33Domain fit ·0.150.00Eligibility ·0.2unknown, left outHas: python · Missing: fastapi, postgresql, docker
No start date stated
- 7
Product Analyst Intern
Score: 13(same)
Synthetic Co. F
Relevance ·0.350.00Skills ·0.30.33Domain fit ·0.150.00Eligibility ·0.2unknown, left outHas: sql · Missing: analytics
No start date stated
Weights: relevance 0.35 · skills 0.30 · domain 0.15 · eligibility 0.20. Unknown components are left out of the average, not counted as zero.
Synthetic postings and candidates. Simplified from production: relevance is BM25 only (production also uses TF-IDF and optional embeddings), skills are exact matches, and only the start date is checked. Weights and the 40-point cap are the real ones.
05Evaluation
Several methods were compared on a public benchmark anyone can rebuild. The result that matters most: the more complex method is not clearly better.
6,445 public postings (test split), 5 synthetic personas, machine proxy labels
Metric
NDCG@10: How good the top 10 is, with more weight on the first positions and on highly relevant postings. 1 is a perfect top 10.
- Full engine0.865
- RRF hybrid (mean)0.825
- RRF hybrid (max)0.823
- BM25 + TF-IDF0.817
- BM250.816
- TF-IDF0.783
- Embeddings (max pooling)0.631
- Embeddings (mean pooling)0.586
- Skill overlap only0.485
- Labels are machine proxy labels derived from job titles, which the methods never see. They measure retrieval of the right kind of job, not human relevance.
- Queries are five synthetic personas, not real users.
- Per persona, no method’s NDCG@10 gain over BM25 has a 95% interval clearly above zero. The two best cases (full engine on the quantitative-finance persona, RRF with mean-pooled embeddings on the backend persona) have a lower bound of +0.00.
- The full engine has the best average NDCG@10 but a lower AUC than BM25: better at the top, worse across the whole list.
- A human-labelled evaluation has not started.
Benchmark run on a corpus fetched 2026-12-03 · Source table
06Decisions and trade-offs
01
Lexical engine by default, embeddings optional
No method beat BM25 significantly on NDCG@10, embeddings need 0.5–1.2 GB of memory (more than a free instance), and lexical scores can be explained term by term. Embeddings stay as an optional ONNX layer fused by Reciprocal Rank Fusion.
02
An additive score instead of a learnt model
One user produces a few dozen judgments at most; a learnt ranker would overfit and could not say why. Four components in [0, 1], averaged with fixed weights, and a cap at 40 when a hard eligibility rule fails: good skills don’t fix a wrong start date.
03
Rules with quoted evidence for eligibility
“Final-year students only” is either written in the posting or it is not. A rule can quote the sentence; a model’s guess cannot be checked. “Unknown” is a first-class verdict: silence is never treated as a pass.
04
Official job-board APIs only
Greenhouse, Lever, Ashby, Workable and SmartRecruiters publish boards for exactly this use: no scraping, no logins, no CAPTCHAs. The cost is coverage: companies on other systems are missing.
05
Asynchronous ingestion, synchronous API
Ingestion waits on hundreds of HTTP responses, so async helps there. The API does short database work and CPU-bound ranking, where async would not help.
06
Free tiers, with their cost made visible
Vercel, Render and Neon keep the bill at zero. The price is a cold start of about a minute after 15 idle minutes, documented in the README instead of hidden.
07Deployment and testing
- 6 hbetween scheduled ingestions. GitHub Actions cron, asynchronous fetching with per-host limits.
- 92tests passing on PostgreSQL. PostgreSQL 16 + pgvector, 2026-12-04.
- 14/14production smoke-test steps. Sign-up to account deletion, against the live site, 2026-12-04.
Stack
- Python
- FastAPI
- PostgreSQL
- pgvector
- SQLAlchemy
- httpx
- ONNX Runtime
- Next.js
- TypeScript
- Tailwind CSS
- Docker
- GitHub Actions
- Vercel
- Render
- Neon
Screens
Recommendations with the score explanation open (demo account). Profile and constraints (demo account). Per-source ingestion health.
08Limitations
- Evaluation uses machine labels only. A human-labelled evaluation has not started: it needs annotations by people.
- On the public benchmark, no method beat BM25 significantly on NDCG@10 per persona. The full engine’s macro NDCG@10 is higher, its AUC is lower.
- Only companies on five job-board vendors (Greenhouse, Lever, Ashby, Workable, SmartRecruiters) are covered.
- Free hosting: the API sleeps after 15 minutes idle, so the first request can take about a minute.
- No e-mail verification, password reset or multi-factor authentication yet.
- The semantic layer needs more memory than a free 512 MB instance, so production runs the lexical engine.
09My role
I directed the design and the AI-assisted development of the project: what it should do, which trade-offs to accept, and how to judge whether the ranking works. The code was produced with AI coding assistants under that direction, so I don’t claim to have hand-written every component.
Postings come from public job-board APIs that companies publish for this purpose. Benchmark labels are machine proxy labels derived from job titles (hidden from the methods); queries are synthetic personas.
