If you're thinking about asking an LLM to rate something out of 100, this post is for you. It's the story of how our resume match score went wrong in production, what we found when we dug in, the approaches we compared, and the design we settled on. The short version: let a language model understand the input, let a classifier (a model that only picks from multiple-choice answers and says how sure it is) make narrow judgments, and let your own code do the arithmetic.
The situation
I'm the founder of CV by JD. Job seekers upload their resume and paste a job description. We rewrite the resume for that specific job, using only facts from the original, and then show a match score out of 100 with a short list of what's still missing.
That score is what people act on. Imagine you're applying for a backend role and you see:
Match: 64/100
The posting asks for "production experience with Kubernetes", and your resume doesn't show it.
Now you know what to do. If you've run Kubernetes in production, you add it. If you haven't, you know this job is a stretch. A score like this is only useful if it's stable, specific to the job and honest. If it jumps around, or says 100 when it shouldn't, people stop trusting the whole product.
How it works, in one picture
When you click "Optimize", three things happen:
Your browser Our server
──────────── ──────────
resume + job description ───▶ 1. A language model rewrites the resume
2. A scoring step rates the new resume
against the job (0 to 100)
shows the new resume ◀─── 3. Sends back the resume and the score
and the score
If step 2 failed: the server sent back the resume with no score, and
the page in the browser worked out a rough score of its own.
This post is about step 2, the scoring step. That last line, the browser's backup score, turns out to matter a lot.
How we got here
We've been through three versions of the scoring step. I'll call them V1, V2 and V3.
V1 was the obvious one. After rewriting the resume, we sent it to a chat model along with the job description and a prompt describing six categories: keywords, formatting, relevant experience, skills, education and measurable achievements. The model returned points for each category plus some written feedback, and our code added up the total.
In real use, three things kept bothering us:
- The same input didn't always give the same score. Generative models aren't deterministic. A user who changed one word and saw their score move several points had no way to tell whether the change helped.
- The number and the advice came apart. They were generated separately, so the feedback could praise "strong keyword coverage" next to a weak keyword score.
- The model was grading its own work. Often the same model had just written the resume it was scoring.
So in V2 we moved scoring to a classifier: a model that doesn't write text, but picks one answer from a fixed list of options and reports how likely each option is. (More on the one we use below.) V2 asked the same small set of general questions about every resume and job, and turned the answers into points.
V2 also kept the backup from the diagram. If scoring failed, the web page calculated its own score from a few simple rules, such as "has an email address". The user couldn't tell the two kinds of score apart.
The problem
A few days after V2 went live, a user emailed us. Their first two resumes had scored 71 and 62. Then they tailored four more resumes to four different jobs, and every one scored 100 out of 100, with no suggestions at all.
Four perfect scores for four different jobs is clearly wrong, and it was worse than useless. Someone relying on it would send applications they had no chance with, and never learn why.
We traced the four 100s. None came from the classifier. They came from the browser's backup score, whose rules gave points for having an email address, a LinkedIn link, the word "experience", more than 500 words and an action verb. Almost every resume meets all of those, so almost every resume scored 100. Whenever the real score failed, users saw a perfect score instead of no score.
That raised a bigger question. The backup only appeared when the real scoring step failed, so why was it failing so often? When we checked production, 38% of optimizations had no stored score.
The first fix took minutes. We deleted the backup score. If there's no real score, the app now says "score unavailable" and shows no number. A blank is annoying, but it doesn't mislead anyone.
What we researched
Next we went through every missing score in the logs and grouped them by cause.
- A rule was throwing away good results. If the classifier was torn on any category (say 45% "met" and 40% "partly met"), V2 threw away the whole score. Education questions caused most of this, especially on postings with rules like "must graduate between June 2027 and June 2028". About half of all missing scores came from this one check.
- Some "job descriptions" were just a title. If someone pastes "DevOps Engineer" and nothing else, there's nothing to match against. The classifier rightly said there wasn't enough evidence, and we showed nothing. That was about a fifth of the missing scores.
- General questions blurred two different things. One general education question can't tell "does this job need a degree?" apart from "does this candidate have one?". It even read a "Great Place to Work Certified" badge in a company blurb as a certification the candidate needed.
- Hard requirements barely counted. A student graduating in the wrong year for an internship could still score highly, because eligibility was one small part of one category.
We also tested how the classifier behaved with better questions. We extracted the real requirements from a sample of postings and asked about each one separately. The answers became much more decisive. A question about a graduation window that the candidate clearly missed came back "not met" with high probability, where the general education question had been unsure.
So the classifier wasn't the main problem. Our questions were.
The options we found
We compared four ways to produce the score against a simple list of needs: repeatable, specific to the job, explainable, working in any language (some of our users don't write in English), and cheap enough to run on every optimization.
| Option | What's good | What's bad |
|---|---|---|
| A better prompt for the chat model | Smallest change | Still not repeatable. The model still grades its own rewrite. |
| Keyword matching in code | Perfectly repeatable, almost free | Misses synonyms and paraphrase. English-only. Easy to game by pasting keywords into the resume. |
| A second LLM acting as a judge | Understands meaning, works in any language | Costly on every request. Still a free-text verdict you have to parse and calibrate. |
| A classifier answering job-specific questions, with the maths in code | Typed answers with probabilities. Fast and cheap. The scoring rules live in our code. | It can't decide what to ask, so we have to generate good questions first. |
The classifier we use is called JEV. It's available as an early-access model on OpenRouter, a service that gives you one API for many different AI models. JEV doesn't write text. You give it some evidence and a set of multiple-choice questions, and for each question it returns the option it picked and a probability for every option:
{
"type": "choice",
"choice": "not_met",
"confidence": 0.93,
"probabilities": { "met": 0.02, "partial": 0.05, "not_met": 0.93 }
}
What we chose, and why
For V3, we kept the classifier and fixed the part that was actually broken: the questions. Here's the whole flow at a glance:
Job posting ──▶ 1. A language model lists the requirements, each with an exact
quote, and code checks every quote is really in the posting
2. The classifier answers one question per requirement
(met / partly met / not met)
3. Code turns the answers into the score
4. Code turns the same answers into the feedback
Here's how it works on an example.
Say the posting includes:
"3+ years of Python in production. Experience with AWS is a plus. Applicants must be graduating between June 2027 and June 2028."
And the resume shows two years of Python at an internship, and a degree completed in 2025.
Step 1: turn the posting into requirements. A language model reads only the job description, never the resume, and lists its requirements. Each one has a type, an importance, and a quote copied exactly from the posting:
- Python in production. Must-have. "3+ years of Python in production"
- AWS. Nice to have. "Experience with AWS is a plus"
- Graduation window. Must-have eligibility rule. "must be graduating between June 2027 and June 2028"
Then plain code checks that each quote really appears in the posting. If the model paraphrased or invented a requirement, it's dropped. This one check is what stopped company badges and benefits from becoming fake requirements.
We store this list under a hash of the posting's text. Anyone who scores against the same posting later gets exactly the same questions.
Step 2: ask one question per requirement. For each requirement, the classifier answers: met, partly met, or not met? In our example, Python comes back mostly "partial", AWS "not met", and the graduation window clearly "not met". A few general questions about the resume itself, such as formatting, are asked alongside.
Step 3: let code do the maths. Each category score averages the relevant answers, weighted by the classifier's probabilities, so 70% "met" counts for more than 40% "met". Because the graduation rule is a must-have and clearly not met, the total is capped at a low ceiling, however strong the rest of the resume is. This candidate ends up with a low score, and the reason is right at the top of their feedback. The model never sees the final number.
Step 4: build the feedback from the same answers. The unmet must-haves become the suggestions, quoting the posting: "This posting requires 'must be graduating between June 2027 and June 2028', and your resume doesn't show that you meet it." The number and the advice come from the same answers, so they can't contradict each other.
We also fixed the two simpler causes from our research. When the classifier is unsure, we still compute the score, using its probabilities as they are, instead of discarding the result. And a title-only "job description" gets a general resume-quality score, with "paste the full job description" as the first suggestion.
We chose this design because it was the only option that met every need on our list. It's repeatable because the questions are cached and the maths is ours. It's specific because the questions come from the posting. It's explainable because every lost point traces back to a quoted requirement. It isn't tied to English, because nothing depends on keyword lists. And a classifier call costs a fraction of a cent.
What changed
Before switching, we tested V2 and V3 on 60 real resume and job pairs, including 25 that V2 had failed to score.
| No score | Same score (±3) when run again | |
|---|---|---|
| V2 | 38% | — |
| V3 | 0% | 100% |
| V3, without the stored requirement lists | 0% | 88% |
The last row shows why storing the requirement list matters. When we re-extracted requirements on every run, one extraction occasionally found an eligibility rule that another missed, and in two cases the score moved by more than ten points.
We also checked that, on the resumes V2 had scored, V3 put them in a similar order. It did, except that resumes failing an eligibility rule now score lower, as they should.
The same pattern works for fact-checking
After every rewrite, we also check that the new resume doesn't invent anything, and we use the same approach. Each line of the rewritten resume becomes a question: is it supported by the original resume, does it add a fact the person never gave us, or is the evidence unclear?
One lesson here came the hard way. Our first version put a threshold on the classifier's confidence field. On a resume copied word for word, where every line was obviously supported, confidence came back at 0.31, and the check blocked real users. The field didn't mean "how likely this answer is right", which is what we'd assumed. We switched to the full probability distribution. Now we block a line only when the classifier is fairly sure it's invented. Unsure answers never block the user. A rejected line gets one repair attempt and, if that fails too, it's left out.
What you can take from this
- A fallback that invents an answer is worse than no answer. Our browser backup score did more harm than the failures it covered for. Show "unavailable" instead.
- Don't ask a generative model for a number. Ask it to understand and structure the input, then compute the number yourself.
- If you use a classifier, most of the quality comes from the questions. Generate them from the actual input, and keep them stable.
- Check every extracted quote against the source in code. It's cheap, and it catches a surprising amount of invention.
- Find out what a confidence field actually measures before you put a threshold on it.
If you've built scoring or grading on top of LLMs, I'd like to hear how you kept it stable. Did you find anything better than caching the questions?
Top comments (0)