Why code checks the model
A plausible quote is not the same as a real one
A language model is very good at producing the sentence a posting probably contains. It has no step where it goes back to the posting to confirm. So every requirement it reports must carry a quote, and a few lines of Python check that those exact words are in the posting. Here is one real posting, with the check run over the model’s quotes.
Operations Analyst · Canada
read 29 Oct 2026 · 5 of 6 quotes found
- ✓IT-related degree or diploma“Completion of a recognized degree or diploma program in an IT related discipline”
- ✓Class 5 driver’s licence and vehicle“Have and maintain a valid Manitoba Class 5 Drivers License and access to a vehicle”
- ✓ITIL process methods“Using prescribed Information Technology Infrastructure Library (ITIL) process methods”
- ✓Tier II service desk support“Action and close all Tier II support calls”
- ✓Hardware and software installation“Install hardware, operating system, and application software”
- ✗Customer service
Model: “customer service and decision making and problem solving”
The posting says“…communication, customer service, decision making and problem solving, integrity…”
The model added one word. Customer service is in the posting, but this quote is not, so it does not count as evidence.
The code makes no judgement about meaning. It checks one fact: are these words in the posting? Meaning stays with the model, and the model has to show where it found it.
Where a quote decides something, such as which résumé a posting gets or whether a years requirement rules it out, a reading with a missing quote does not count. The posting stays in the queue and the doubt is written down for a person to look at.
The whole check · pipeline/base_queue.pyPython
def _norm(s: str) -> str:
s = (s or "").replace("\u2019", "'").replace("\u2018", "'").replace("\u201c", '"').replace("\u201d", '"')
s = re.sub(r"\\([^\w\s])", r"\1", s).replace("\u2013", "-").replace("\u2014", "-") # markdown escapes: 3\+
return re.sub(r"[\s*_#>]+", " ", s).strip().lower()
def quote_found(quote: str | None, jd_text: str) -> bool:
"""A model quote is in the posting: every piece around an ellipsis appears verbatim (whitespace, quotes, markdown
and case normalised)."""
pieces = [p for p in re.split(r"\s*(?:\.\.\.|…)\s*", _norm(quote or "")) if len(p) >= 8]
jd = _norm(jd_text)
return bool(pieces) and all(p in jd for p in pieces)
129,656requirement quotes from 20,860 postings, each run through this function on 2 Nov 2026
99.58%found word for word in the posting
539not found, in 339 postings. Most are tidy sentences the posting never contained. At this volume, 0.4% is still hundreds of claims without evidence.