Skip to content

fix: restore Optional import and enrich UI candidate identity from us… - #1

Merged
Bhavesh-Vaviya merged 1 commit into
mainfrom
fix/ui-contract-identity-enrichment
Jul 15, 2026
Merged

fix: restore Optional import and enrich UI candidate identity from us…#1
Bhavesh-Vaviya merged 1 commit into
mainfrom
fix/ui-contract-identity-enrichment

Conversation

@Bhavesh-Vaviya

Copy link
Copy Markdown
Collaborator

…er directory

  • candidate_profiles.py: restore from typing import Optional (its removal during UI integration caused a NameError at import, crash-looping the API)
  • candidate_mapping: overlay stubbed user directory (name/role/department/ location/manager) onto candidate attributes, joined on user_uuid, so the Shortlist and Deep Dive UI contracts show real names instead of UUIDs
  • add user_directory stub router (profile + HRIS blocks per user)
  • LLM now produces match_score; strengths/gaps are required-skill names; readiness_factors pinned to the fixed 5 (Skill Match, Performance, Learning Agility, Leadership Potential, Risk of Regret); synthesis max_tokens=4096
  • matching: log per-user retrieval ranking for visibility

…er directory

- candidate_profiles.py: restore `from typing import Optional` (its removal
  during UI integration caused a NameError at import, crash-looping the API)
- candidate_mapping: overlay stubbed user directory (name/role/department/
  location/manager) onto candidate attributes, joined on user_uuid, so the
  Shortlist and Deep Dive UI contracts show real names instead of UUIDs
- add user_directory stub router (profile + HRIS blocks per user)
- LLM now produces match_score; strengths/gaps are required-skill names;
  readiness_factors pinned to the fixed 5 (Skill Match, Performance, Learning
  Agility, Leadership Potential, Risk of Regret); synthesis max_tokens=4096
- matching: log per-user retrieval ranking for visibility

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Bhavesh-Vaviya
Bhavesh-Vaviya merged commit 0c77369 into main Jul 15, 2026
1 check failed
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