mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-09-17 08:36:25 +00:00
fix(evaluation): update stale Language Gate preamble to reflect tracking
04-job-evaluation.md still said the gate result "is not a field /scrape or /rank track" - true when the gate was introduced, false since /rank began persisting language_gate/language_note as shortlist veto fields and /scrape began surfacing the flag. The authoritative framework file taught agents the opposite of rank.md's own persistence rule. New coupling test pins that the section names the tracked fields and never reverts to the untracked claim. framework_version 1.2.3 -> 1.2.4. Review finding F24 (2026-08-19). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
2036b97040
commit
9ab697de64
@@ -1,5 +1,5 @@
|
||||
---
|
||||
framework_version: 1.2.3
|
||||
framework_version: 1.2.4
|
||||
---
|
||||
|
||||
# Job Evaluation Framework
|
||||
@@ -32,7 +32,7 @@ A role that fails this gate is not scored and not drafted. Everything below appl
|
||||
|
||||
## Language Gate — run before scoring
|
||||
|
||||
No dimension or gate anywhere in this framework currently checks a posting's language requirements against what the candidate actually speaks - it is not one of the five Scoring Dimensions below, not a field `/scrape` or `/rank` track, and not something `/apply`'s language detection (Step 1, which already extracts a posting's required language generically) has anywhere to report to. This gate adds that check, structured the same way as the Eligibility Gate above: read the posting, classify against profile data, and treat a hard mismatch as FAIL before scoring.
|
||||
This gate checks a posting's language requirements against what the candidate actually speaks. It is not one of the five Scoring Dimensions below - it runs before them, structured the same way as the Eligibility Gate above: read the posting, classify against profile data, and treat a hard mismatch as FAIL before scoring. Its verdict is tracked downstream: `/rank` records the result as `language_gate` (PASS/FAIL/FLAG) with a supporting `language_note`, persists both into `seen_jobs.json`, and treats a FAIL as a shortlist veto; `/scrape` surfaces the flag in its results table and carries a language-override rule for postings whose ad language differs from the role's working language. `/apply`'s language detection (Step 1, which extracts a posting's required language generically) feeds this same check.
|
||||
|
||||
Read the posting's language requirements as stated for **the role itself** — not the language the ad happens to be written in. A posting written in a language you don't work in, for a role that only needs languages you do work in on the job, passes fine; only an explicit job-condition requirement ("fluent X required," "must communicate with the Y team in Z") triggers this check. For each language the posting requires as a job condition, compare it against your Languages table in CLAUDE.md / `01-candidate-profile.md`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user