feat(matching): rank with semantic embeddings and explain matches by evidence

This commit is contained in:
shira committed 2026-10-11 10:39:46 +03:00
1 parent facc1789b1
commit 24b64d698a
215 files changed
+16951 -327

No files matched your search

+81
View File
@@ -69,6 +69,7 @@ ThreeGroups:
state: supports
- code: work_conditions_match
state: supports
semantic_evidence: []
components:
fit: 0.78
coverage: 0.72
@@ -102,6 +103,7 @@ ThreeGroups:
state: supports
- code: required_skill_evidence
state: gap
semantic_evidence: []
components:
fit: 0.48
coverage: 0.18
@@ -135,6 +137,7 @@ ThreeGroups:
state: declared_only
- code: required_skill_evidence
state: partial
semantic_evidence: []
components:
fit: 0.51
coverage: 0.38
@@ -197,6 +200,7 @@ MLUnavailable:
evidence_summary:
- code: confirmed_category
state: supports
semantic_evidence: []
components:
fit: 0.7
coverage: 0.6
@@ -249,6 +253,7 @@ CohortBelow30:
evidence_summary:
- code: confirmed_category
state: supports
semantic_evidence: []
components:
fit: 0.62
coverage: 0.55
@@ -301,6 +306,7 @@ Truncated:
evidence_summary:
- code: confirmed_category
state: supports
semantic_evidence: []
components:
fit: 0.5
coverage: 0.5
@@ -319,3 +325,78 @@ Truncated:
near: []
unconfirmed: []
truncated: true
SemanticEvidence:
summary: A need search explains an entry with semantic evidence from published card items.
description: >-
Synthetic example. `semantics` is the calibrated cosine of the stored
vectors; each evidence item pairs one confirmed requirement of the need
with the closest published card item. The project is named only by the
title that the candidate published; the repository address never appears.
value:
source:
kind: need
need_id: 4d3a4a1b-4f60-44c1-9dc2-6c8e6c9d4c11
requirements_version: 3
groups:
main:
- candidate_handle: cv1_FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
specialization: backend
confirmation_status: confirmed
declared_grade: middle
category:
specialization: backend
grade: middle
basis: synthetic_demo
strength: standard
public_context:
stack:
- kafka
- postgresql
experience_band: "3_6"
work_formats: null
salary_compatibility: null
evidence_summary:
- code: confirmed_category
state: supports
- code: required_skill_evidence
state: declared_only
semantic_evidence:
- requirement_kind: task
requirement_text: Make payment callbacks idempotent
item_kind: project
project_title: Payment webhook deduplication service
repository_verified: true
similarity: high
- requirement_kind: required_skill
requirement_text: Kafka
item_kind: stack
project_title: null
repository_verified: false
similarity: medium
components:
fit: 0.69
coverage: 0.25
domain: 0.5
semantics: 0.92
percentile: null
competition: 0.0
freshness: 0.5
responsiveness: 0.5
rank_score: 0.59
unknown_flags:
- component: percentile
reason: cohort_below_30
- component: freshness
reason: no_freshness_history
- component: responsiveness
reason: no_response_history
- component: work_formats
reason: not_in_public_card
- component: salary_compatibility
reason: not_in_public_card
- component: domain
reason: not_in_public_card
near: []
unconfirmed: []
truncated: false