Skip to content

[thesis] Fit advisor prompt 6 / rules 2: missing evidence, unverified ad requirements, fit vs attractiveness - #209

Merged
Sam-Razavi merged 1 commit into
mainfrom
thesis/fit-advisor-v3
Nov 24, 2026
Merged

Sam-Razavi merged 1 commit into
mainfrom
thesis/fit-advisor-v3

Conversation

@Sam-Razavi

@Sam-Razavi Sam-Razavi commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

This is the candidate for the next freeze: prompt 6 / rules 2. It is made before any held-out case exists. Do not tag it until it is reviewed; the proposed tag is thesis-prototype-v3.

Changes

  1. Missing CV evidence is not a mismatch (prompt 6, service.py).
    • A skill, tool, certification or qualification the CV does not mention is not_enough_information.
    • not_met needs CV words that show the mismatch: an unfinished degree, a stated lack, or a stated total of experience below half.
    • Code now also sets aside a not_met that has no CV quote, or a quote not in the CV, as it already did for met. model_status and downgrade_reason are kept for audit.
    • A found quote is not proof of meaning; this is stated in comments, tests and docs.
  2. Unverified ad requirements cannot decide (rules 2).
    • A mandatory requirement whose ad quote is not in the ad is unverified. A missing check also counts as unverified (fails closed).
    • Order: R1 verified not_met → Low; R4 any unverified mandatory → Consider with limited information; R2 all met → High; R3 else → Consider.
    • The counts are of verified mandatory requirements, plus mandatory_unverified.
  3. Qualification fit vs job attractiveness (panel).
    • The heading now says "qualification fit".
    • With every result, the panel says it does not judge salary, location, the work or plans, does not predict hiring, and that the decision is the user's.
    • New notes explain a set-aside "not met" and an unverified mandatory requirement.

Docs

  • DESIGN.md: Q1 revised; Q9 and Q10.
  • DESIGN_LOG.md: why, the alternatives, tests, the formative run, the limits, and how this change was made.
  • Practice cases: the historical labels are kept next to the expected outcomes under the new criteria, which were written before the run.

Checks

  • Backend: ruff, mypy app/ and the full pytest pass: 1115 tests, with Postgres.
  • Frontend: lint, type-check, vitest (413 tests) and build pass.
  • Formative GPT-4o run on the 7 practice cases (41 assessments, 0.44 USD):
    • all 7 match the expected outcomes written before the run, identical in every run;
    • p2, p4 and p5 move from their historical Low to the expected Consider;
    • 231/231 ad quotes and 154/154 CV quotes were found, so the new safeguards never fired on real output; they are tested with a mocked model only;
    • one side effect: a listed preferred skill (Azure, p7) is now met in 2 runs and partly met in 3.
  • Frozen parts unchanged against origin/main: the matcher files, protocol.yaml, the runner, the model settings and BASELINE.md.

Not done

No merge and no tag. The extension popup does not show the new qualification-fit text.

…smatch, unverified ad requirements cannot decide, fit vs attractiveness

Evidence (prompt 6):
- An unmentioned skill, tool, certification or qualification is
  not_enough_information. not_met needs CV words that show the mismatch, and a
  shortfall in a stated amount of experience needs a total the CV states.
- Removed: "a CV normally lists" and "a CV always lists the jobs a person has had".
- The half rule, the date handling, the field order and the schemas are unchanged.

Quote check (service.py): a not_met with no CV quote, or one not in the CV, is set
aside like an unsupported met, with model_status kept and downgrade_reason recorded.
A found quote is not proof of meaning; the comments, a test and DESIGN.md say so.

Rules 2 (decision.py): a mandatory requirement whose ad quote is not in the ad is
unverified; a missing check counts as unverified (fail closed). The order is:
- R1 verified not_met -> Low;
- R4 any unverified mandatory -> Consider, limited information;
- R2 all met -> High;
- R3 else -> Consider.
Counts are of verified mandatory requirements, plus mandatory_unverified.

Panel: the heading says "qualification fit". The result says it does not judge
salary, location, the work or plans, does not predict hiring, and leaves the
decision to the user. It also explains set-aside not_met judgements and
unverified mandatory requirements.

Docs:
- DESIGN.md: Q1 revised; Q9 and Q10.
- DESIGN_LOG.md: entry with alternatives, tests, the formative practice run,
  limits and the LLM-assisted development note.
- Practice cases keep their historical labels next to the expected outcomes under
  the new criteria.

Not changed: the rule-based matcher, protocol.yaml, the runner's measures, the
model, temperature and seed.
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
applyluma Ready Ready Preview Nov 24, 2026 7:48pm UTC

@Sam-Razavi
Sam-Razavi merged commit 996be71 into main Nov 24, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — de8b576f Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant