feat(matching): rank with semantic embeddings and explain matches by evidence
This commit is contained in:
1 parent
facc1789b1
commit
24b64d698a
215 files changed
+16951
-327
No files matched your search
@@ -4020,6 +4020,7 @@ NewCandidateProfile:
|
||||
experience: []
|
||||
experience_overlaps: []
|
||||
soft_skills: []
|
||||
projects: []
|
||||
terms:
|
||||
location:
|
||||
status: unknown
|
||||
@@ -4129,6 +4130,25 @@ BackendCandidateProfile:
|
||||
quote: null
|
||||
extraction_version: null
|
||||
confirmed_at: "2026-10-05T09:30:00Z"
|
||||
projects:
|
||||
- title: Payment webhook deduplication service
|
||||
description: >-
|
||||
Idempotent receiver for acquirer callbacks with a unique operation
|
||||
key and an outbox for retries.
|
||||
stack:
|
||||
- Go
|
||||
- PostgreSQL
|
||||
repository_url: https://github.com/example-org/payments-ledger
|
||||
repository_check:
|
||||
state: verified
|
||||
checked_at: "2026-10-05T09:31:00Z"
|
||||
status: confirmed
|
||||
source:
|
||||
origin: manual
|
||||
trust_level: 0
|
||||
quote: null
|
||||
extraction_version: null
|
||||
confirmed_at: "2026-10-05T09:30:00Z"
|
||||
terms:
|
||||
location:
|
||||
status: confirmed
|
||||
@@ -4412,6 +4432,7 @@ PublishedCardPreview:
|
||||
experience_band: "1_3"
|
||||
work_formats: null
|
||||
salary_compatibility: null
|
||||
projects: null
|
||||
evidence:
|
||||
items:
|
||||
- skill: backend
|
||||
@@ -4438,6 +4459,7 @@ OrganizationAnonymousCandidateCard:
|
||||
experience_band: "1_3"
|
||||
work_formats: null
|
||||
salary_compatibility: null
|
||||
projects: null
|
||||
ClosedCardPreview:
|
||||
summary: The preview of a closed profile
|
||||
value:
|
||||
|
||||
@@ -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
|
||||
@@ -2267,6 +2267,112 @@ ProfileExperienceItem:
|
||||
$ref: '#/ProfileItemStatus'
|
||||
source:
|
||||
$ref: '#/ProfileClaimSource'
|
||||
ProfileProjectTitle:
|
||||
type: string
|
||||
minLength: 1
|
||||
maxLength: 100
|
||||
pattern: ^\S(?:.*\S)?$
|
||||
description: Name of a project as the candidate wants an organization to read it. It has no leading or trailing whitespace and no line breaks. When the candidate publishes the `projects` card field, the title reaches the anonymous card and match explanations, so it must not contain a name, a contact, or a repository address. Plain text; clients show it as text, never as HTML.
|
||||
ProfileProjectDescription:
|
||||
type: string
|
||||
minLength: 1
|
||||
maxLength: 500
|
||||
description: What the project does and what the candidate did in it. It may contain line breaks. When the `projects` card field is published it reaches the anonymous card. Plain text; clients show it as text, never as HTML.
|
||||
ProfileRepositoryUrl:
|
||||
type: string
|
||||
minLength: 22
|
||||
maxLength: 160
|
||||
pattern: ^https://github\.com/[A-Za-z0-9](?:[A-Za-z0-9-]{0,38})/[A-Za-z0-9._-]{1,100}/?$
|
||||
description: Address of a public GitHub repository of the project in the form https://github.com/<owner>/<repository>. The server accepts only this host and form, removes a trailing slash and a `.git` suffix, and stores the canonical address. Organizations never receive the address before an accepted invitation, because the owner name can identify the candidate.
|
||||
examples:
|
||||
- https://github.com/example-org/payments-ledger
|
||||
ProfileRepositoryCheckState:
|
||||
type: string
|
||||
description: 'Result of the latest server check of a project repository on the public GitHub API. The server only reads public metadata; a check never proves that the candidate wrote the code.
|
||||
|
||||
|
||||
- pending: the check is scheduled and has not finished yet.
|
||||
|
||||
- verified: the repository exists and is public. Match explanations may then say that the project is backed by a public repository.
|
||||
|
||||
- not_found: GitHub reports no such public repository; it may be private, renamed to another owner, or deleted.
|
||||
|
||||
- unavailable: GitHub could not be asked, for example because of its rate limit; the server retries later.'
|
||||
enum:
|
||||
- pending
|
||||
- verified
|
||||
- not_found
|
||||
- unavailable
|
||||
ProfileRepositoryCheck:
|
||||
type: object
|
||||
description: State of the server check of a project repository. Read-only; no request writes it. The fetched metadata itself (description, topics, languages, and a plain-text README excerpt) is used only for ranking and is never returned or shown.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- state
|
||||
- checked_at
|
||||
properties:
|
||||
state:
|
||||
$ref: '#/ProfileRepositoryCheckState'
|
||||
checked_at:
|
||||
description: Time of the last finished check, or null before the first one.
|
||||
oneOf:
|
||||
- $ref: '#/Timestamp'
|
||||
- type: 'null'
|
||||
ProfileProjectStack:
|
||||
type: array
|
||||
maxItems: 10
|
||||
description: Technology tags of the project, each tag at most once without regard to letter case.
|
||||
items:
|
||||
$ref: '#/StackTag'
|
||||
ProfileRepositoryCheckRequest:
|
||||
type: object
|
||||
description: Result of a request to check the linked repositories again.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- scheduled
|
||||
properties:
|
||||
scheduled:
|
||||
type: integer
|
||||
format: int32
|
||||
minimum: 0
|
||||
maximum: 10
|
||||
description: Number of repository checks that the request scheduled.
|
||||
ProfileProjectItem:
|
||||
type: object
|
||||
description: One project of the candidate with its confirmation state and provenance. A project is a claim of trust level 0 that the candidate types; a linked repository adds a separate server check (`repository_check`), never a higher trust level. The project reaches organizations only when the candidate publishes the `projects` card field, and then without the repository address.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- title
|
||||
- description
|
||||
- stack
|
||||
- repository_url
|
||||
- repository_check
|
||||
- status
|
||||
- source
|
||||
properties:
|
||||
title:
|
||||
$ref: '#/ProfileProjectTitle'
|
||||
description:
|
||||
description: What the project is about, or null when the candidate gives nothing.
|
||||
oneOf:
|
||||
- $ref: '#/ProfileProjectDescription'
|
||||
- type: 'null'
|
||||
stack:
|
||||
$ref: '#/ProfileProjectStack'
|
||||
repository_url:
|
||||
description: Canonical repository address, or null when the project links none.
|
||||
oneOf:
|
||||
- $ref: '#/ProfileRepositoryUrl'
|
||||
- type: 'null'
|
||||
repository_check:
|
||||
description: The server check of the linked repository, or null when the project links none.
|
||||
oneOf:
|
||||
- $ref: '#/ProfileRepositoryCheck'
|
||||
- type: 'null'
|
||||
status:
|
||||
$ref: '#/ProfileItemStatus'
|
||||
source:
|
||||
$ref: '#/ProfileClaimSource'
|
||||
ProfileExperienceOverlapStatus:
|
||||
type: string
|
||||
description: Whether the candidate confirmed that two overlapping periods are genuine parallel work.
|
||||
@@ -2354,7 +2460,7 @@ ProfileConfirmedCategory:
|
||||
description: Assessment attempt whose result confirmed the grade. The attempt belongs to the candidate.
|
||||
CandidateProfile:
|
||||
type: object
|
||||
description: 'The private profile of the current candidate: full name and contacts, stack, roles, work experience, soft skills, and desired terms, each value with its confirmation state and provenance. It is personal data that only the candidate reads. It is never an organization-visible schema: an organization sees a candidate only through the anonymous card and, after an accepted invitation, through the contact grant, and no organization schema refers to this one.
|
||||
description: 'The private profile of the current candidate: full name and contacts, stack, roles, work experience, soft skills, projects, and desired terms, each value with its confirmation state and provenance. It is personal data that only the candidate reads. It is never an organization-visible schema: an organization sees a candidate only through the anonymous card and, after an accepted invitation, through the contact grant, and no organization schema refers to this one.
|
||||
|
||||
Every value is a claim of trust level 0. The `self_assessed_grade` of a role is what the candidate says; the `confirmed_categories` list is what assessment results established, and the two are never mixed. A candidate who has not saved the profile gets version 0, every single field `unknown`, empty lists, and null `updated_at`.
|
||||
|
||||
@@ -2369,6 +2475,7 @@ CandidateProfile:
|
||||
- experience
|
||||
- experience_overlaps
|
||||
- soft_skills
|
||||
- projects
|
||||
- terms
|
||||
- confirmed_categories
|
||||
- updated_at
|
||||
@@ -2409,6 +2516,12 @@ CandidateProfile:
|
||||
description: Soft skills in the order the candidate gave them, each skill at most once without regard to letter case.
|
||||
items:
|
||||
$ref: '#/ProfileSoftSkillItem'
|
||||
projects:
|
||||
type: array
|
||||
maxItems: 10
|
||||
description: Projects in the order the candidate gave them, each repository address at most once.
|
||||
items:
|
||||
$ref: '#/ProfileProjectItem'
|
||||
terms:
|
||||
$ref: '#/ProfileTerms'
|
||||
confirmed_categories:
|
||||
@@ -2620,9 +2733,34 @@ ProfileExperienceItemInput:
|
||||
- type: 'null'
|
||||
status:
|
||||
$ref: '#/ProfileItemStatus'
|
||||
ProfileProjectItemInput:
|
||||
type: object
|
||||
description: Decision about one project in a request; see CandidateProfileUpdate for the rules of `status`. The server answers 400 with the pointer of the field for a repository address that is not a GitHub repository address, a repeated repository, or a repeated stack tag.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- title
|
||||
- description
|
||||
- stack
|
||||
- repository_url
|
||||
- status
|
||||
properties:
|
||||
title:
|
||||
$ref: '#/ProfileProjectTitle'
|
||||
description:
|
||||
oneOf:
|
||||
- $ref: '#/ProfileProjectDescription'
|
||||
- type: 'null'
|
||||
stack:
|
||||
$ref: '#/ProfileProjectStack'
|
||||
repository_url:
|
||||
oneOf:
|
||||
- $ref: '#/ProfileRepositoryUrl'
|
||||
- type: 'null'
|
||||
status:
|
||||
$ref: '#/ProfileItemStatus'
|
||||
CandidateProfileUpdate:
|
||||
type: object
|
||||
description: 'Complete new state of the candidate profile. It replaces every stored value as a whole: a single field sent as null is unknown and is removed, and a list replaces the stored list. The body is personal data.
|
||||
description: 'Complete new state of the candidate profile. It replaces every stored value as a whole: a single field sent as null is unknown and is removed, and a list replaces the stored list; only `projects` may be omitted, which keeps the stored projects. The body is personal data.
|
||||
|
||||
Each value carries a decision `status`. `confirmed` sets a manual value or confirms a stored suggestion; confirming a suggestion with exactly its stored value keeps its origin and quote, and any other value makes the claim manual. `extracted` keeps a stored suggestion unconfirmed and is accepted only with exactly the stored value; any other use answers 400 with the pointer of that status, for example `/stack/1/status`. The provenance, the trust level, and the confirmed categories are not part of the request, and unknown fields are rejected, so a request can neither mark a claim as verified nor write a confirmed grade or a category.'
|
||||
additionalProperties: false
|
||||
@@ -2674,6 +2812,12 @@ CandidateProfileUpdate:
|
||||
description: Soft skills. The server answers 400 with the pointer of a skill that repeats an earlier one without regard to letter case.
|
||||
items:
|
||||
$ref: '#/ProfileSoftSkillItemInput'
|
||||
projects:
|
||||
type: array
|
||||
maxItems: 10
|
||||
description: 'Projects. Unlike the other lists this one is optional: a body without `projects` keeps the stored projects unchanged, so a client that does not know the section never deletes it, and an array, including an empty one, replaces the stored list. A new or changed repository address schedules a server check on the public GitHub API after the save commits; the save itself never waits for GitHub.'
|
||||
items:
|
||||
$ref: '#/ProfileProjectItemInput'
|
||||
terms:
|
||||
$ref: '#/ProfileTermsInput'
|
||||
DirectionCode:
|
||||
@@ -4946,6 +5090,72 @@ MatchEvidenceSummary:
|
||||
maxItems: 12
|
||||
items:
|
||||
$ref: '#/MatchEvidenceSummaryItem'
|
||||
MatchRequirementKind:
|
||||
type: string
|
||||
description: Kind of the need requirement that an explanation item answers.
|
||||
enum:
|
||||
- required_skill
|
||||
- desired_skill
|
||||
- task
|
||||
MatchSemanticItemKind:
|
||||
type: string
|
||||
description: 'Kind of the published card item that matched a requirement.
|
||||
|
||||
|
||||
- project: one published project; `project_title` names it.
|
||||
|
||||
- stack: the recognized technology codes of the card.
|
||||
|
||||
- roles: the specializations and grades that the card shows.'
|
||||
enum:
|
||||
- project
|
||||
- stack
|
||||
- roles
|
||||
MatchSimilarityBand:
|
||||
type: string
|
||||
description: Coarse band of the cosine similarity between the requirement and the matched item under the versioned policy thresholds. `high` and `medium` are the only values; a weaker similarity produces no item. The band is a computed similarity of two texts, not a judgement of the candidate.
|
||||
enum:
|
||||
- high
|
||||
- medium
|
||||
MatchSemanticEvidence:
|
||||
type: object
|
||||
description: 'Why the entry is in the result: one confirmed requirement of the need and the published card item with the highest semantic similarity to it. The server computes it from stored vectors and the versioned thresholds; no model writes text into it. `requirement_text` is the confirmed text of the organization''s own need. `project_title` is the title the candidate published with the `projects` card field and is null for other kinds. No repository address, owner, or fetched repository text is ever part of it.'
|
||||
additionalProperties: false
|
||||
required:
|
||||
- requirement_kind
|
||||
- requirement_text
|
||||
- item_kind
|
||||
- project_title
|
||||
- repository_verified
|
||||
- similarity
|
||||
properties:
|
||||
requirement_kind:
|
||||
$ref: '#/MatchRequirementKind'
|
||||
requirement_text:
|
||||
type: string
|
||||
minLength: 1
|
||||
maxLength: 300
|
||||
description: Confirmed skill name or task text of the need. Plain text; show it as text, never as HTML.
|
||||
item_kind:
|
||||
$ref: '#/MatchSemanticItemKind'
|
||||
project_title:
|
||||
description: Published project title for `project`, otherwise null. Plain text; show it as text, never as HTML.
|
||||
oneOf:
|
||||
- type: string
|
||||
minLength: 1
|
||||
maxLength: 100
|
||||
- type: 'null'
|
||||
repository_verified:
|
||||
type: boolean
|
||||
description: True only for a project whose linked repository the latest server check found public on GitHub ("backed by a public repository"). It does not prove authorship.
|
||||
similarity:
|
||||
$ref: '#/MatchSimilarityBand'
|
||||
MatchSemanticEvidenceList:
|
||||
type: array
|
||||
description: 'Semantic explanation items in a stable order: `high` before `medium`, then by similarity, then by the order of the requirements in the need. At most the versioned per-entry limit is returned. It is empty for a bank search, while vectors are not ready, when ML is unavailable, and when no requirement reaches a band; `unknown_flags` names `ml_unavailable` when the semantic component itself is unknown.'
|
||||
maxItems: 12
|
||||
items:
|
||||
$ref: '#/MatchSemanticEvidence'
|
||||
MatchPublicStack:
|
||||
type: array
|
||||
maxItems: 4
|
||||
@@ -5048,6 +5258,7 @@ MatchConfirmedCandidate:
|
||||
- strength
|
||||
- public_context
|
||||
- evidence_summary
|
||||
- semantic_evidence
|
||||
- components
|
||||
- unknown_flags
|
||||
properties:
|
||||
@@ -5072,6 +5283,8 @@ MatchConfirmedCandidate:
|
||||
$ref: '#/MatchPublicContext'
|
||||
evidence_summary:
|
||||
$ref: '#/MatchEvidenceSummary'
|
||||
semantic_evidence:
|
||||
$ref: '#/MatchSemanticEvidenceList'
|
||||
components:
|
||||
$ref: '#/MatchConfirmedComponents'
|
||||
unknown_flags:
|
||||
@@ -5089,6 +5302,7 @@ MatchUnconfirmedCandidate:
|
||||
- strength
|
||||
- public_context
|
||||
- evidence_summary
|
||||
- semantic_evidence
|
||||
- components
|
||||
- unknown_flags
|
||||
properties:
|
||||
@@ -5115,6 +5329,8 @@ MatchUnconfirmedCandidate:
|
||||
$ref: '#/MatchPublicContext'
|
||||
evidence_summary:
|
||||
$ref: '#/MatchEvidenceSummary'
|
||||
semantic_evidence:
|
||||
$ref: '#/MatchSemanticEvidenceList'
|
||||
components:
|
||||
$ref: '#/MatchUnconfirmedComponents'
|
||||
unknown_flags:
|
||||
@@ -6600,6 +6816,8 @@ CardField:
|
||||
|
||||
- salary_compatibility: a nullable compatibility outcome with no salary amounts or bounds.
|
||||
|
||||
- projects: the projects of the profile with their title, description, stack tags, and whether a linked repository is a public GitHub repository. The titles and descriptions are text that the candidate writes and may identify them; the repository address and its owner never reach an organization through the card. Published projects are also the text that semantic ranking reads and that match explanations name.
|
||||
|
||||
- soft_skills, location, and relocation: retained only for compatibility in existing saved sets; they are not returned by the anonymous card.
|
||||
|
||||
|
||||
@@ -6617,10 +6835,11 @@ CardField:
|
||||
- location
|
||||
- relocation
|
||||
- work_formats
|
||||
- projects
|
||||
CardFieldSet:
|
||||
type: array
|
||||
minItems: 0
|
||||
maxItems: 9
|
||||
maxItems: 10
|
||||
uniqueItems: true
|
||||
description: Distinct card fields. The server stores them in ascending order of the codes and answers them in that order, whatever order the client sent, so equal sets are equal arrays.
|
||||
items:
|
||||
@@ -6880,9 +7099,41 @@ CandidateSalaryCompatibility:
|
||||
enum:
|
||||
- compatible
|
||||
- not_compatible
|
||||
CardProject:
|
||||
type: object
|
||||
description: One published project as the card shows it. It never carries the repository address, the repository owner, or any text fetched from the repository.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- title
|
||||
- description
|
||||
- stack
|
||||
- repository_verified
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
minLength: 1
|
||||
maxLength: 100
|
||||
description: Project title as the candidate published it. Plain text; show it as text, never as HTML.
|
||||
description:
|
||||
description: Published project description, or null. Plain text; show it as text, never as HTML.
|
||||
oneOf:
|
||||
- type: string
|
||||
minLength: 1
|
||||
maxLength: 500
|
||||
- type: 'null'
|
||||
stack:
|
||||
type: array
|
||||
maxItems: 10
|
||||
description: Published technology tags of the project.
|
||||
items:
|
||||
$ref: '#/StackTag'
|
||||
repository_verified:
|
||||
type: boolean
|
||||
description: True when the latest server check found the linked repository on GitHub and it is public. It does not prove that the candidate wrote the code.
|
||||
AnonymousCardContent:
|
||||
type: object
|
||||
description: The anonymous candidate card as an organization reads it. Only explicitly published values reach it; unconfirmed stack suggestions and unknown values never do. Stack output uses a closed taxonomy. It carries no name, contact, resume text, employer, salary figure, account or profile identifier, and no schema of the private profile or of a contact disclosure is reachable from it; a contact reaches an organization only through the contact grant of an accepted invitation. Each property is null when its field is not published or the candidate has no value for it, so the card does not tell the two apart. The set of properties is closed, and an organization-visible card must never gain a property that identifies the candidate. The search ranking and the full card of an organization's search result are defined by the search contract, which reuses this content.
|
||||
description: 'The anonymous candidate card as an organization reads it. Only explicitly published values reach it; unconfirmed stack suggestions and unknown values never do. Stack output uses a closed taxonomy. It carries no name, contact, resume text, employer, salary figure, account or profile identifier, and no schema of the private profile or of a contact disclosure is reachable from it; a contact reaches an organization only through the contact grant of an accepted invitation. Each property is null when its field is not published or the candidate has no value for it, so the card does not tell the two apart. The set of properties is closed, and an organization-visible card must never gain a property that identifies the candidate. The one free-text exception is `projects`: the candidate writes it and publishes it by a separate explicit choice, the card never adds the repository address or owner to it, and the client warns that a project title can identify its author. The search ranking
|
||||
and the full card of an organization''s search result are defined by the search contract, which reuses this content.'
|
||||
additionalProperties: false
|
||||
required:
|
||||
- pseudonym
|
||||
@@ -6892,6 +7143,7 @@ AnonymousCardContent:
|
||||
- experience_band
|
||||
- work_formats
|
||||
- salary_compatibility
|
||||
- projects
|
||||
properties:
|
||||
pseudonym:
|
||||
type: string
|
||||
@@ -6946,6 +7198,14 @@ AnonymousCardContent:
|
||||
- $ref: '#/CandidateSalaryCompatibility'
|
||||
- type: 'null'
|
||||
description: Nullable compatibility result with no salary values.
|
||||
projects:
|
||||
type:
|
||||
- array
|
||||
- 'null'
|
||||
maxItems: 10
|
||||
description: 'Published projects in the candidate''s order, or null. Cohort generalization never changes them: they are text the candidate chose to publish, so publishing them can make the card unique.'
|
||||
items:
|
||||
$ref: '#/CardProject'
|
||||
CardPreview:
|
||||
type: object
|
||||
description: A private candidate preview computed from the current profile, publication, and consent ledger. Its pseudonym uses a separate preview context and is not an organization's alias. Organization-specific visibility filters and cohort checks can further generalize or suppress the organization-facing card. This read creates no view or history record and never reaches an organization. `card` is null while the profile is closed. `evidence` is what an organization would read in the evidence section of the card, one supporting assessment fact for each category of the card, and is null exactly when `card` is null; the organization-facing section can still be generalized or suppressed.
|
||||
@@ -7190,7 +7450,9 @@ ProblemCode:
|
||||
|
||||
- internal (500): unexpected server error.
|
||||
|
||||
- not_implemented (501): the operation is in the contract but not implemented yet.'
|
||||
- not_implemented (501): the operation is in the contract but not implemented yet.
|
||||
|
||||
- service_unavailable (503): the service cannot serve the request now, for example while a model loads; retry later.'
|
||||
enum:
|
||||
- validation_failed
|
||||
- verification_token_invalid
|
||||
@@ -7212,6 +7474,7 @@ ProblemCode:
|
||||
- rate_limited
|
||||
- internal
|
||||
- not_implemented
|
||||
- service_unavailable
|
||||
ProblemFieldError:
|
||||
type: object
|
||||
description: One reason why a request field or parameter is invalid.
|
||||
|
||||
@@ -515,6 +515,138 @@ schemas:
|
||||
$ref: "#/schemas/ProfileItemStatus"
|
||||
source:
|
||||
$ref: "#/schemas/ProfileClaimSource"
|
||||
ProfileProjectTitle:
|
||||
type: string
|
||||
minLength: 1
|
||||
maxLength: 100
|
||||
pattern: '^\S(?:.*\S)?$'
|
||||
description: >-
|
||||
Name of a project as the candidate wants an organization to read it. It
|
||||
has no leading or trailing whitespace and no line breaks. When the
|
||||
candidate publishes the `projects` card field, the title reaches the
|
||||
anonymous card and match explanations, so it must not contain a name,
|
||||
a contact, or a repository address. Plain text; clients show it as
|
||||
text, never as HTML.
|
||||
ProfileProjectDescription:
|
||||
type: string
|
||||
minLength: 1
|
||||
maxLength: 500
|
||||
description: >-
|
||||
What the project does and what the candidate did in it. It may contain
|
||||
line breaks. When the `projects` card field is published it reaches the
|
||||
anonymous card. Plain text; clients show it as text, never as HTML.
|
||||
ProfileRepositoryUrl:
|
||||
type: string
|
||||
minLength: 22
|
||||
maxLength: 160
|
||||
pattern: '^https://github\.com/[A-Za-z0-9](?:[A-Za-z0-9-]{0,38})/[A-Za-z0-9._-]{1,100}/?$'
|
||||
description: >-
|
||||
Address of a public GitHub repository of the project in the form
|
||||
https://github.com/<owner>/<repository>. The server accepts only this
|
||||
host and form, removes a trailing slash and a `.git` suffix, and stores
|
||||
the canonical address. Organizations never receive the address before
|
||||
an accepted invitation, because the owner name can identify the
|
||||
candidate.
|
||||
examples:
|
||||
- https://github.com/example-org/payments-ledger
|
||||
ProfileRepositoryCheckState:
|
||||
type: string
|
||||
description: |-
|
||||
Result of the latest server check of a project repository on the public GitHub API. The server only reads public metadata; a check never proves that the candidate wrote the code.
|
||||
|
||||
- pending: the check is scheduled and has not finished yet.
|
||||
- verified: the repository exists and is public. Match explanations may then say that the project is backed by a public repository.
|
||||
- not_found: GitHub reports no such public repository; it may be private, renamed to another owner, or deleted.
|
||||
- unavailable: GitHub could not be asked, for example because of its rate limit; the server retries later.
|
||||
enum:
|
||||
- pending
|
||||
- verified
|
||||
- not_found
|
||||
- unavailable
|
||||
ProfileRepositoryCheck:
|
||||
type: object
|
||||
description: >-
|
||||
State of the server check of a project repository. Read-only; no
|
||||
request writes it. The fetched metadata itself (description, topics,
|
||||
languages, and a plain-text README excerpt) is used only for ranking
|
||||
and is never returned or shown.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- state
|
||||
- checked_at
|
||||
properties:
|
||||
state:
|
||||
$ref: "#/schemas/ProfileRepositoryCheckState"
|
||||
checked_at:
|
||||
description: Time of the last finished check, or null before the first one.
|
||||
oneOf:
|
||||
- $ref: "./common_schemas.yml#/schemas/Timestamp"
|
||||
- type: "null"
|
||||
ProfileProjectStack:
|
||||
type: array
|
||||
maxItems: 10
|
||||
description: >-
|
||||
Technology tags of the project, each tag at most once without regard to
|
||||
letter case.
|
||||
items:
|
||||
$ref: "./questionnaire_schemas.yml#/schemas/StackTag"
|
||||
ProfileRepositoryCheckRequest:
|
||||
type: object
|
||||
description: Result of a request to check the linked repositories again.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- scheduled
|
||||
properties:
|
||||
scheduled:
|
||||
type: integer
|
||||
format: int32
|
||||
minimum: 0
|
||||
maximum: 10
|
||||
description: Number of repository checks that the request scheduled.
|
||||
ProfileProjectItem:
|
||||
type: object
|
||||
description: >-
|
||||
One project of the candidate with its confirmation state and provenance.
|
||||
A project is a claim of trust level 0 that the candidate types; a
|
||||
linked repository adds a separate server check (`repository_check`),
|
||||
never a higher trust level. The project reaches organizations only when
|
||||
the candidate publishes the `projects` card field, and then without the
|
||||
repository address.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- title
|
||||
- description
|
||||
- stack
|
||||
- repository_url
|
||||
- repository_check
|
||||
- status
|
||||
- source
|
||||
properties:
|
||||
title:
|
||||
$ref: "#/schemas/ProfileProjectTitle"
|
||||
description:
|
||||
description: What the project is about, or null when the candidate gives nothing.
|
||||
oneOf:
|
||||
- $ref: "#/schemas/ProfileProjectDescription"
|
||||
- type: "null"
|
||||
stack:
|
||||
$ref: "#/schemas/ProfileProjectStack"
|
||||
repository_url:
|
||||
description: Canonical repository address, or null when the project links none.
|
||||
oneOf:
|
||||
- $ref: "#/schemas/ProfileRepositoryUrl"
|
||||
- type: "null"
|
||||
repository_check:
|
||||
description: >-
|
||||
The server check of the linked repository, or null when the project
|
||||
links none.
|
||||
oneOf:
|
||||
- $ref: "#/schemas/ProfileRepositoryCheck"
|
||||
- type: "null"
|
||||
status:
|
||||
$ref: "#/schemas/ProfileItemStatus"
|
||||
source:
|
||||
$ref: "#/schemas/ProfileClaimSource"
|
||||
ProfileExperienceOverlapStatus:
|
||||
type: string
|
||||
description: Whether the candidate confirmed that two overlapping periods are genuine parallel work.
|
||||
@@ -622,8 +754,8 @@ schemas:
|
||||
type: object
|
||||
description: >-
|
||||
The private profile of the current candidate: full name and contacts,
|
||||
stack, roles, work experience, soft skills, and desired terms, each
|
||||
value with its confirmation state and provenance. It is personal data
|
||||
stack, roles, work experience, soft skills, projects, and desired
|
||||
terms, each value with its confirmation state and provenance. It is personal data
|
||||
that only the candidate reads. It is never an organization-visible
|
||||
schema: an organization sees a candidate only through the anonymous
|
||||
card and, after an accepted invitation, through the contact grant, and
|
||||
@@ -650,6 +782,7 @@ schemas:
|
||||
- experience
|
||||
- experience_overlaps
|
||||
- soft_skills
|
||||
- projects
|
||||
- terms
|
||||
- confirmed_categories
|
||||
- updated_at
|
||||
@@ -698,6 +831,14 @@ schemas:
|
||||
most once without regard to letter case.
|
||||
items:
|
||||
$ref: "#/schemas/ProfileSoftSkillItem"
|
||||
projects:
|
||||
type: array
|
||||
maxItems: 10
|
||||
description: >-
|
||||
Projects in the order the candidate gave them, each repository
|
||||
address at most once.
|
||||
items:
|
||||
$ref: "#/schemas/ProfileProjectItem"
|
||||
terms:
|
||||
$ref: "#/schemas/ProfileTerms"
|
||||
confirmed_categories:
|
||||
@@ -945,12 +1086,42 @@ schemas:
|
||||
- type: "null"
|
||||
status:
|
||||
$ref: "#/schemas/ProfileItemStatus"
|
||||
ProfileProjectItemInput:
|
||||
type: object
|
||||
description: >-
|
||||
Decision about one project in a request; see CandidateProfileUpdate for
|
||||
the rules of `status`. The server answers 400 with the pointer of the
|
||||
field for a repository address that is not a GitHub repository address,
|
||||
a repeated repository, or a repeated stack tag.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- title
|
||||
- description
|
||||
- stack
|
||||
- repository_url
|
||||
- status
|
||||
properties:
|
||||
title:
|
||||
$ref: "#/schemas/ProfileProjectTitle"
|
||||
description:
|
||||
oneOf:
|
||||
- $ref: "#/schemas/ProfileProjectDescription"
|
||||
- type: "null"
|
||||
stack:
|
||||
$ref: "#/schemas/ProfileProjectStack"
|
||||
repository_url:
|
||||
oneOf:
|
||||
- $ref: "#/schemas/ProfileRepositoryUrl"
|
||||
- type: "null"
|
||||
status:
|
||||
$ref: "#/schemas/ProfileItemStatus"
|
||||
CandidateProfileUpdate:
|
||||
type: object
|
||||
description: >-
|
||||
Complete new state of the candidate profile. It replaces every stored
|
||||
value as a whole: a single field sent as null is unknown and is removed,
|
||||
and a list replaces the stored list. The body is personal data.
|
||||
and a list replaces the stored list; only `projects` may be omitted,
|
||||
which keeps the stored projects. The body is personal data.
|
||||
|
||||
Each value carries a decision `status`. `confirmed` sets a manual value
|
||||
or confirms a stored suggestion; confirming a suggestion with exactly
|
||||
@@ -1025,5 +1196,17 @@ schemas:
|
||||
that repeats an earlier one without regard to letter case.
|
||||
items:
|
||||
$ref: "#/schemas/ProfileSoftSkillItemInput"
|
||||
projects:
|
||||
type: array
|
||||
maxItems: 10
|
||||
description: >-
|
||||
Projects. Unlike the other lists this one is optional: a body
|
||||
without `projects` keeps the stored projects unchanged, so a client
|
||||
that does not know the section never deletes it, and an array,
|
||||
including an empty one, replaces the stored list. A new or changed
|
||||
repository address schedules a server check on the public GitHub
|
||||
API after the save commits; the save itself never waits for GitHub.
|
||||
items:
|
||||
$ref: "#/schemas/ProfileProjectItemInput"
|
||||
terms:
|
||||
$ref: "#/schemas/ProfileTermsInput"
|
||||
@@ -353,6 +353,91 @@ schemas:
|
||||
maxItems: 12
|
||||
items:
|
||||
$ref: "#/schemas/MatchEvidenceSummaryItem"
|
||||
MatchRequirementKind:
|
||||
type: string
|
||||
description: Kind of the need requirement that an explanation item answers.
|
||||
enum:
|
||||
- required_skill
|
||||
- desired_skill
|
||||
- task
|
||||
MatchSemanticItemKind:
|
||||
type: string
|
||||
description: |-
|
||||
Kind of the published card item that matched a requirement.
|
||||
|
||||
- project: one published project; `project_title` names it.
|
||||
- stack: the recognized technology codes of the card.
|
||||
- roles: the specializations and grades that the card shows.
|
||||
enum:
|
||||
- project
|
||||
- stack
|
||||
- roles
|
||||
MatchSimilarityBand:
|
||||
type: string
|
||||
description: >-
|
||||
Coarse band of the cosine similarity between the requirement and the
|
||||
matched item under the versioned policy thresholds. `high` and `medium`
|
||||
are the only values; a weaker similarity produces no item. The band is
|
||||
a computed similarity of two texts, not a judgement of the candidate.
|
||||
enum:
|
||||
- high
|
||||
- medium
|
||||
MatchSemanticEvidence:
|
||||
type: object
|
||||
description: >-
|
||||
Why the entry is in the result: one confirmed requirement of the need
|
||||
and the published card item with the highest semantic similarity to it.
|
||||
The server computes it from stored vectors and the versioned
|
||||
thresholds; no model writes text into it. `requirement_text` is the
|
||||
confirmed text of the organization's own need. `project_title` is the
|
||||
title the candidate published with the `projects` card field and is
|
||||
null for other kinds. No repository address, owner, or fetched
|
||||
repository text is ever part of it.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- requirement_kind
|
||||
- requirement_text
|
||||
- item_kind
|
||||
- project_title
|
||||
- repository_verified
|
||||
- similarity
|
||||
properties:
|
||||
requirement_kind:
|
||||
$ref: "#/schemas/MatchRequirementKind"
|
||||
requirement_text:
|
||||
type: string
|
||||
minLength: 1
|
||||
maxLength: 300
|
||||
description: Confirmed skill name or task text of the need. Plain text; show it as text, never as HTML.
|
||||
item_kind:
|
||||
$ref: "#/schemas/MatchSemanticItemKind"
|
||||
project_title:
|
||||
description: Published project title for `project`, otherwise null. Plain text; show it as text, never as HTML.
|
||||
oneOf:
|
||||
- type: string
|
||||
minLength: 1
|
||||
maxLength: 100
|
||||
- type: "null"
|
||||
repository_verified:
|
||||
type: boolean
|
||||
description: >-
|
||||
True only for a project whose linked repository the latest server
|
||||
check found public on GitHub ("backed by a public repository"). It
|
||||
does not prove authorship.
|
||||
similarity:
|
||||
$ref: "#/schemas/MatchSimilarityBand"
|
||||
MatchSemanticEvidenceList:
|
||||
type: array
|
||||
description: >-
|
||||
Semantic explanation items in a stable order: `high` before `medium`,
|
||||
then by similarity, then by the order of the requirements in the need.
|
||||
At most the versioned per-entry limit is returned. It is empty for a
|
||||
bank search, while vectors are not ready, when ML is unavailable, and
|
||||
when no requirement reaches a band; `unknown_flags` names
|
||||
`ml_unavailable` when the semantic component itself is unknown.
|
||||
maxItems: 12
|
||||
items:
|
||||
$ref: "#/schemas/MatchSemanticEvidence"
|
||||
MatchPublicStack:
|
||||
type: array
|
||||
maxItems: 4
|
||||
@@ -469,6 +554,7 @@ schemas:
|
||||
- strength
|
||||
- public_context
|
||||
- evidence_summary
|
||||
- semantic_evidence
|
||||
- components
|
||||
- unknown_flags
|
||||
properties:
|
||||
@@ -493,6 +579,8 @@ schemas:
|
||||
$ref: "#/schemas/MatchPublicContext"
|
||||
evidence_summary:
|
||||
$ref: "#/schemas/MatchEvidenceSummary"
|
||||
semantic_evidence:
|
||||
$ref: "#/schemas/MatchSemanticEvidenceList"
|
||||
components:
|
||||
$ref: "#/schemas/MatchConfirmedComponents"
|
||||
unknown_flags:
|
||||
@@ -514,6 +602,7 @@ schemas:
|
||||
- strength
|
||||
- public_context
|
||||
- evidence_summary
|
||||
- semantic_evidence
|
||||
- components
|
||||
- unknown_flags
|
||||
properties:
|
||||
@@ -540,6 +629,8 @@ schemas:
|
||||
$ref: "#/schemas/MatchPublicContext"
|
||||
evidence_summary:
|
||||
$ref: "#/schemas/MatchEvidenceSummary"
|
||||
semantic_evidence:
|
||||
$ref: "#/schemas/MatchSemanticEvidenceList"
|
||||
components:
|
||||
$ref: "#/schemas/MatchUnconfirmedComponents"
|
||||
unknown_flags:
|
||||
|
||||
@@ -34,6 +34,7 @@ schemas:
|
||||
- experience: a coarse total-experience band, without employers, periods, or descriptions.
|
||||
- work_formats: explicitly selected work formats from the private questionnaire.
|
||||
- salary_compatibility: a nullable compatibility outcome with no salary amounts or bounds.
|
||||
- projects: the projects of the profile with their title, description, stack tags, and whether a linked repository is a public GitHub repository. The titles and descriptions are text that the candidate writes and may identify them; the repository address and its owner never reach an organization through the card. Published projects are also the text that semantic ranking reads and that match explanations name.
|
||||
- soft_skills, location, and relocation: retained only for compatibility in existing saved sets; they are not returned by the anonymous card.
|
||||
|
||||
Only values that the candidate confirmed ever reach the card: an unconfirmed suggestion (status `extracted`) and an unknown value never do, whatever the field set says.
|
||||
@@ -49,10 +50,11 @@ schemas:
|
||||
- location
|
||||
- relocation
|
||||
- work_formats
|
||||
- projects
|
||||
CardFieldSet:
|
||||
type: array
|
||||
minItems: 0
|
||||
maxItems: 9
|
||||
maxItems: 10
|
||||
uniqueItems: true
|
||||
description: >-
|
||||
Distinct card fields. The server stores them in ascending order of
|
||||
@@ -383,6 +385,47 @@ schemas:
|
||||
enum:
|
||||
- compatible
|
||||
- not_compatible
|
||||
CardProject:
|
||||
type: object
|
||||
description: >-
|
||||
One published project as the card shows it. It never carries the
|
||||
repository address, the repository owner, or any text fetched from the
|
||||
repository.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- title
|
||||
- description
|
||||
- stack
|
||||
- repository_verified
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
minLength: 1
|
||||
maxLength: 100
|
||||
description: >-
|
||||
Project title as the candidate published it. Plain text; show it as
|
||||
text, never as HTML.
|
||||
description:
|
||||
description: >-
|
||||
Published project description, or null. Plain text; show it as text,
|
||||
never as HTML.
|
||||
oneOf:
|
||||
- type: string
|
||||
minLength: 1
|
||||
maxLength: 500
|
||||
- type: "null"
|
||||
stack:
|
||||
type: array
|
||||
maxItems: 10
|
||||
description: Published technology tags of the project.
|
||||
items:
|
||||
$ref: "./questionnaire_schemas.yml#/schemas/StackTag"
|
||||
repository_verified:
|
||||
type: boolean
|
||||
description: >-
|
||||
True when the latest server check found the linked repository on
|
||||
GitHub and it is public. It does not prove that the candidate wrote
|
||||
the code.
|
||||
AnonymousCardContent:
|
||||
type: object
|
||||
description: >-
|
||||
@@ -396,8 +439,11 @@ schemas:
|
||||
invitation. Each property is null when its field is not published or
|
||||
the candidate has no value for it, so the card does not tell the two
|
||||
apart. The set of properties is closed, and an organization-visible
|
||||
card must never gain a property that identifies the candidate. The
|
||||
search ranking and the full card of an organization's search result
|
||||
card must never gain a property that identifies the candidate. The one
|
||||
free-text exception is `projects`: the candidate writes it and
|
||||
publishes it by a separate explicit choice, the card never adds the
|
||||
repository address or owner to it, and the client warns that a project
|
||||
title can identify its author. The search ranking and the full card of an organization's search result
|
||||
are defined by the search contract, which reuses this
|
||||
content.
|
||||
additionalProperties: false
|
||||
@@ -409,6 +455,7 @@ schemas:
|
||||
- experience_band
|
||||
- work_formats
|
||||
- salary_compatibility
|
||||
- projects
|
||||
properties:
|
||||
pseudonym:
|
||||
type: string
|
||||
@@ -465,6 +512,17 @@ schemas:
|
||||
- $ref: "#/schemas/CandidateSalaryCompatibility"
|
||||
- type: "null"
|
||||
description: Nullable compatibility result with no salary values.
|
||||
projects:
|
||||
type:
|
||||
- array
|
||||
- "null"
|
||||
maxItems: 10
|
||||
description: >-
|
||||
Published projects in the candidate's order, or null. Cohort
|
||||
generalization never changes them: they are text the candidate
|
||||
chose to publish, so publishing them can make the card unique.
|
||||
items:
|
||||
$ref: "#/schemas/CardProject"
|
||||
CardPreview:
|
||||
type: object
|
||||
description: >-
|
||||
|
||||
@@ -89,6 +89,7 @@ schemas:
|
||||
- rate_limited (429): too many requests; see Retry-After.
|
||||
- internal (500): unexpected server error.
|
||||
- not_implemented (501): the operation is in the contract but not implemented yet.
|
||||
- service_unavailable (503): the service cannot serve the request now, for example while a model loads; retry later.
|
||||
enum:
|
||||
- validation_failed
|
||||
- verification_token_invalid
|
||||
@@ -110,6 +111,7 @@ schemas:
|
||||
- rate_limited
|
||||
- internal
|
||||
- not_implemented
|
||||
- service_unavailable
|
||||
ProblemFieldError:
|
||||
type: object
|
||||
description: One reason why a request field or parameter is invalid.
|
||||
|
||||
Reference in new issue
Block a user