hired.alignment.base#
Schemas for JD-vs-candidate alignment analysis.
A job description is decomposed into Requirement records; each is
analysed into a RequirementRecord carrying a three-valued
MatchState, a Bucket, grounding
Evidence, and the fields the elicitation loop needs. The whole analysis
is an AlignmentReport — verdict-first, evidence-quoted, banded (never a
single false-precision percentage).
See misc/docs/DESIGN.md §6.
Classes
|
How much the candidate's standing AI-agent capability lowers the ramp. |
|
A complete, verdict-first alignment analysis for one JD. |
|
The four alignment buckets. |
|
A question to ask the candidate to resolve a decision-relevant unknown. |
|
|
|
How hard a gap is to close (Axis B), after the AI-leverage modifier. |
|
What to do with a judgment: take it as a match, as no match, or ask. |
|
A verbatim grounding span for a match judgment. |
|
Local closed-world flag: may a missing value be read as a real negative? |
|
|
|
|
|
How the candidate's background relates to the requirement (Axis A). |
|
|
|
|
|
One atomic requirement extracted verbatim from a job description. |
|
How decision-critical a requirement is. |
|
The analysis of one requirement against the candidate's knowledge. |
|
|
|
|
|
|
|
|
|
- class hired.alignment.base.AILeverage(*values)[source]#
-
How much the candidate’s standing AI-agent capability lowers the ramp.
Applies to codified / knowledge-breadth gaps, not tacit-judgment or enduring-aptitude gaps (those it cannot rescue).
- class hired.alignment.base.AlignmentReport(*, job_id, job_title='', company='', created_at='', verdict, score_summary=<factory>, requirements=<factory>, blocking_gaps=<factory>, next_actions=<factory>, interview_prep=<factory>, clarifications=<factory>)[source]#
Bases:
BaseModelA complete, verdict-first alignment analysis for one JD.
- class hired.alignment.base.Clarification(*, requirement_id, question, fills_field='', reason='', info_gain=0.0)[source]#
Bases:
BaseModelA question to ask the candidate to resolve a decision-relevant unknown.
- class hired.alignment.base.Closeability(*values)[source]#
-
How hard a gap is to close (Axis B), after the AI-leverage modifier.
- class hired.alignment.base.Decision(*values)[source]#
-
What to do with a judgment: take it as a match, as no match, or ask.
- class hired.alignment.base.Evidence(*, quote, source_document_id='', locator='')[source]#
Bases:
BaseModelA verbatim grounding span for a match judgment.
- class hired.alignment.base.FieldCompleteness(*values)[source]#
-
Local closed-world flag: may a missing value be read as a real negative?
- class hired.alignment.base.InterviewPrep(*, summary='', talking_points=<factory>, story_library=<factory>, proactive_disclosure='')[source]#
Bases:
BaseModel
- class hired.alignment.base.MatchType(*values)[source]#
-
How the candidate’s background relates to the requirement (Axis A).
- class hired.alignment.base.NextAction(*, action, addresses='', priority=1, expected_effect='')[source]#
Bases:
BaseModel
- class hired.alignment.base.Requirement(*, id=<factory>, text, skill_type=SkillType.TECHNICAL, requirement_class=RequirementClass.DIFFERENTIATOR, required_level=3)[source]#
Bases:
BaseModelOne atomic requirement extracted verbatim from a job description.
- class hired.alignment.base.RequirementClass(*values)[source]#
-
How decision-critical a requirement is.
- class hired.alignment.base.RequirementRecord(*, requirement, match_state=MatchState.UNKNOWN, field_completeness=FieldCompleteness.OPEN, bucket=None, match_type=MatchType.NONE, candidate_level=0, gap_size=0, source_skill=None, adjacency_basis=None, transferability=None, closeability=None, close_method=None, time_to_close=None, ai_leverage=AILeverage.NONE, confidence=ConfidenceLevel.LOW, uncertainty_reason=None, evidence=None, match_score=None, calibrated_decision=None, impact=3, info_gain=0.0, needs_clarification=False, talking_point=None)[source]#
Bases:
BaseModelThe analysis of one requirement against the candidate’s knowledge.
- class hired.alignment.base.ScoreSummary(*, fit_band=FitBand.FAIR, bucket_counts=<factory>, ats_readability=None)[source]#
Bases:
BaseModel