Repository navigation
Phase 2: check CVs and cover letters against the persona and the ad - #24
Merged
Merged
Conversation
A new doc_check module, with no model calls, reports for a CV or cover letter: - the ad's technical terms the document shows, the ones the candidate has but it leaves out, and real gaps (never added); - numbers, technologies, employers and project names the persona doesn't contain, field by field (a letter may also quote the ad); - words recruiters read as machine-written; - the rendered PDF read back as plain text, as an ATS reads it: name, contact, section headings in order, every skill, role dates, page count. POST /documents/check returns the report for the signed-in user. Generation uses it. A tailored CV gets the ad's terms that are among the candidate's own skills added to the right skills row. When the check flags a claim or a word, one targeted revision runs on the CV text or the letter's paragraphs, and is kept only if it clears findings without adding new ones. On the real model, 5 of 5 CVs came back clean and 2 of 5 letters had one flagged claim, which the revision cleared.
The tailored CV and cover letter steps show a Checks strip that re-runs a moment after each edit: keywords from the ad (CV only), claims to check and whether the PDF reads cleanly in an ATS. Details list the keywords shown, the ones you have but the CV leaves out, real gaps, each flagged claim with where it is, and every ATS read-back check. The e2e mocks can now reply with an event stream, and a new smoke test walks the workspace from fit analysis to a checked tailored CV.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The first part of Phase 2 (CVs and cover letters): every tailored CV and cover letter is checked against the candidate's own data and the job ad, both while it's generated and in the job workspace.
api/app/doc_check.py, no model calls). For a CV or letter it reports:POST /documents/checkreturns that report for the signed-in user.Real-model run
Five stored jobs, against the real persona and model:
Testing