feat(evidence): project skill evidence from confirmed assessments

This commit is contained in:
shira committed 2026-10-09 11:25:19 +03:00
1 parent 4761508f13
commit c2a8d17195
94 files changed
+10077 -151

No files matched your search

+43
View File
@@ -4385,6 +4385,14 @@ PublishedCardPreview:
experience_band: "1_3"
work_formats: null
salary_compatibility: null
evidence:
items:
- skill: backend
grade: middle
trust: 1
basis: synthetic_demo
calibration_status: uncalibrated
observed_year: 2026
generated_at: "2026-10-06T09:30:00Z"
OrganizationAnonymousCandidateCard:
summary: An anonymous card currently visible to one organization
@@ -4408,6 +4416,7 @@ ClosedCardPreview:
state: closed
fields: []
card: null
evidence: null
generated_at: "2026-10-06T09:30:00Z"
PrivacyEventListPage:
summary: A publication, a hiding, and a confirmed status
@@ -4455,6 +4464,40 @@ CardAccessListPage:
page:
has_more: false
next_cursor: null
EvidenceFactListPage:
summary: A confirmed junior backend result with one fact and two tags of the same event
value:
items:
- id: 01928f7a-d1e2-7f3a-8b4c-5d6e7f8a9b01
kind: measurement
source:
type: assessment_result
event_id: 01928f7a-e1f2-7a3b-8c4d-5e6f7a8b9c01
result_id: 01928f7a-e1f2-7a3b-8c4d-5e6f7a8b9c01
skills:
- backend
- go
result:
grade: junior
basis: synthetic_demo
calibration_status: uncalibrated
attribution: personal
trust: 1
occurred_at: "2026-10-08T10:15:00Z"
visibility: visible
page:
has_more: false
next_cursor: null
OrganizationCandidateEvidence:
summary: The one supporting assessment fact of the category on the card
value:
items:
- skill: backend
grade: junior
trust: 1
basis: synthetic_demo
calibration_status: uncalibrated
observed_year: 2026
PrivacyStaleVersion:
summary: The change carried a stale expected_version
description: The setting changed, for example in another tab, after the client read it. Nothing was changed; the client reads the settings again and reapplies its edit.
+247 -2
View File
@@ -3312,6 +3312,246 @@ ContactDisclosure:
oneOf:
- $ref: '#/ContactTelegramUsername'
- type: 'null'
EvidenceKind:
type: string
description: 'Whether a fact is a statement or an observation.
- claim: something the candidate stated that nothing confirmed separately. Its trust is 0.
- measurement: a result that a system observed, such as a confirmed assessment. Its trust is 1 to 3.
Assessments produce measurements only. A claim never becomes a measurement by repetition, and the two kinds are stored apart.'
enum:
- claim
- measurement
EvidenceSourceType:
type: string
description: 'Where the fact comes from.
- assessment_result: a real (root or corrective) assessment result of this platform that confirmed a grade. An express training run (`demo_express`), a failed attempt, and a result without a reviewed category source are never a source.
Adding a value is a contract change.'
enum:
- assessment_result
EvidenceAttribution:
type: string
description: 'Whose contribution the fact is.
- personal: the candidate''s own result. Every assessment fact is personal.
- team_role: a team result with a confirmed role of the candidate.
- team_unattributed: a team result without a confirmed role; it is not a personal skill.
Only `personal` is produced today.'
enum:
- personal
- team_role
- team_unattributed
EvidenceTrustLevel:
type: integer
format: int32
minimum: 0
maximum: 3
description: 'Strength of the confirmation.
- 0: stated by the person, not confirmed separately.
- 1: an observable online result without a reliable confirmation of the identity or the authorship. Every assessment fact has this level today, because the assessment is unproctored and the identity is not confirmed.
- 2: a result tied to a confirmed identity or confirmed by an independent party.
- 3: an in-person check with a matching confirmation.
A repeated statement, a sign-in, or a repeated tag of the same event never raises the level.'
examples:
- 1
EvidenceVisibility:
type: string
description: 'Whether the fact may take part in what an organization reads.
- visible: the fact is eligible for the organization projection. It does not publish the fact: the projection also needs the published card with the `categories` field and an active C2.
- hidden: the candidate hid the fact. No organization reads it. Hiding never edits or deletes the confirmed result.'
enum:
- visible
- hidden
EvidenceSkillCode:
type: string
description: A skill tag from a closed set - the specialization codes of the catalog and the technology codes of the anonymous card. An assessment tags its fact with the specialization of the category.
enum:
- backend
- frontend
- mobile
- network_engineer
- devops_sre
- data_analyst
- ds_ml
- information_security
- qa
- go
- postgresql
- kafka
- docker
EvidenceBasis:
type: string
description: 'What the measurement rests on.
- synthetic_demo: a demonstration category from a synthetic reviewed bank. It shows the mechanics and is not a validated measurement.'
enum:
- synthetic_demo
EvidenceCalibrationStatus:
type: string
description: 'Calibration of the method behind the result.
- uncalibrated: the thresholds are initial values that no measurement has validated.'
enum:
- uncalibrated
EvidenceResult:
type: object
description: 'What the fact says: the grade that was passed and how reliable the method is. It carries no score, answer, item, failure, or anti-cheat data.'
additionalProperties: false
required:
- grade
- basis
- calibration_status
properties:
grade:
$ref: '#/GradeCode'
basis:
$ref: '#/EvidenceBasis'
calibration_status:
$ref: '#/EvidenceCalibrationStatus'
EvidenceSource:
type: object
description: Where the fact comes from. For an assessment the event is the attempt and the result is the immutable result of that attempt, which the candidate reads at `GetMyAssessmentResult`; the two identifiers are equal because a result is keyed by its attempt.
additionalProperties: false
required:
- type
- event_id
- result_id
properties:
type:
$ref: '#/EvidenceSourceType'
event_id:
type: string
format: uuid
description: Identifier of the source event. One event is one fact, however many skills it is tagged with.
result_id:
type: string
format: uuid
description: Identifier of the immutable result that produced the fact.
EvidenceFact:
type: object
description: One independent fact of the current candidate. `occurred_at` is when the source event ended; for an assessment it is the time of the decision. A fact is one source event; the skills of that event are tags of the fact, so a second tag never makes a second fact. Hidden facts are listed here with their visibility, because the candidate owns them.
additionalProperties: false
required:
- id
- kind
- source
- skills
- result
- attribution
- trust
- occurred_at
- visibility
properties:
id:
type: string
format: uuid
description: Identifier of the fact.
kind:
$ref: '#/EvidenceKind'
source:
$ref: '#/EvidenceSource'
skills:
type: array
minItems: 1
maxItems: 13
uniqueItems: true
description: Skill tags of the event in ascending order.
items:
$ref: '#/EvidenceSkillCode'
result:
$ref: '#/EvidenceResult'
attribution:
$ref: '#/EvidenceAttribution'
trust:
$ref: '#/EvidenceTrustLevel'
occurred_at:
$ref: '#/Timestamp'
visibility:
$ref: '#/EvidenceVisibility'
EvidenceFactList:
type: object
description: One page of the facts of the current candidate, newest event first.
additionalProperties: false
required:
- items
- page
properties:
items:
type: array
maxItems: 100
description: Facts of the page.
items:
$ref: '#/EvidenceFact'
page:
$ref: '#/PageInfo'
OrganizationEvidenceFact:
type: object
description: 'The one assessment fact that supports a category of the card as an organization reads it: the earliest visible measurement that passed exactly the confirmed grade of that category. A lower grade, a retake, the other tags of the event, the source, the basis, the exact time, and every identifier stay with the candidate. The fact carries no identifier of the fact, the event, the result, or the candidate, so it cannot be joined to a person by a key. It is not unlinkable: the skill, the grade, the trust level, and the year, together with the other values of the card, can narrow a small pool of candidates, and the minimum cohort of the card does not cover the year. `basis` and `calibration_status` are the same for every candidate: they say that the fact comes from a synthetic demonstration and is not calibrated, so a demonstration is never read as a validated measurement. The fact never carries an answer, score, item, failure, signal, or review band.'
additionalProperties: false
required:
- skill
- grade
- trust
- basis
- calibration_status
- observed_year
properties:
skill:
$ref: '#/EvidenceSkillCode'
grade:
$ref: '#/GradeCode'
trust:
$ref: '#/EvidenceTrustLevel'
basis:
$ref: '#/EvidenceBasis'
calibration_status:
$ref: '#/EvidenceCalibrationStatus'
observed_year:
type: integer
format: int32
minimum: 2000
maximum: 9999
description: Year (UTC) when the assessment ended. The month, day, and time stay with the candidate.
examples:
- 2026
OrganizationEvidence:
type: object
description: 'The permitted evidence of one candidate card, ordered by skill: at most one fact for each category of the card (at most nine). The list is empty when no visible fact supports a category of the card.'
additionalProperties: false
required:
- items
properties:
items:
type: array
maxItems: 9
description: Permitted facts, one for each supported category.
items:
$ref: '#/OrganizationEvidenceFact'
HealthResponse:
type: object
additionalProperties: false
@@ -6201,7 +6441,7 @@ CardField:
description: 'A group of values of the anonymous candidate card that the candidate chooses to publish. The set is closed and has no value for the full name, a contact, or the lowest salary: the card never carries them, so no choice and no later contract change in this list can publish them by accident. Contacts leave only through the contact grant of an accepted invitation (C4), and the lowest salary never leaves.
- categories: specialization and grade confirmed by an authoritative assessment result.
- categories: specialization and grade confirmed by an authoritative assessment result. With it an organization receives the confirmed category and, with each category of the card, one supporting assessment fact: its skill, the passed grade, the trust level, the year of the assessment, and the basis and calibration that mark a synthetic, uncalibrated demonstration (`GetOrganizationCandidateEvidence`). The candidate sees the same on `GetMyCardPreview`.
- self_assessment: the candidate''s declared specialization and grade, separate from confirmed categories.
@@ -6558,12 +6798,13 @@ AnonymousCardContent:
description: Nullable compatibility result with no salary values.
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.
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.
additionalProperties: false
required:
- state
- fields
- card
- evidence
- generated_at
properties:
state:
@@ -6574,6 +6815,10 @@ CardPreview:
oneOf:
- $ref: '#/AnonymousCardContent'
- type: 'null'
evidence:
oneOf:
- $ref: '#/OrganizationEvidence'
- type: 'null'
generated_at:
$ref: '#/Timestamp'
PrivacyEventKind:
@@ -0,0 +1,258 @@
schemas:
EvidenceKind:
type: string
description: |-
Whether a fact is a statement or an observation.
- claim: something the candidate stated that nothing confirmed separately. Its trust is 0.
- measurement: a result that a system observed, such as a confirmed assessment. Its trust is 1 to 3.
Assessments produce measurements only. A claim never becomes a measurement by repetition, and the two kinds are stored apart.
enum:
- claim
- measurement
EvidenceSourceType:
type: string
description: |-
Where the fact comes from.
- assessment_result: a real (root or corrective) assessment result of this platform that confirmed a grade. An express training run (`demo_express`), a failed attempt, and a result without a reviewed category source are never a source.
Adding a value is a contract change.
enum:
- assessment_result
EvidenceAttribution:
type: string
description: |-
Whose contribution the fact is.
- personal: the candidate's own result. Every assessment fact is personal.
- team_role: a team result with a confirmed role of the candidate.
- team_unattributed: a team result without a confirmed role; it is not a personal skill.
Only `personal` is produced today.
enum:
- personal
- team_role
- team_unattributed
EvidenceTrustLevel:
type: integer
format: int32
minimum: 0
maximum: 3
description: |-
Strength of the confirmation.
- 0: stated by the person, not confirmed separately.
- 1: an observable online result without a reliable confirmation of the identity or the authorship. Every assessment fact has this level today, because the assessment is unproctored and the identity is not confirmed.
- 2: a result tied to a confirmed identity or confirmed by an independent party.
- 3: an in-person check with a matching confirmation.
A repeated statement, a sign-in, or a repeated tag of the same event never raises the level.
examples:
- 1
EvidenceVisibility:
type: string
description: |-
Whether the fact may take part in what an organization reads.
- visible: the fact is eligible for the organization projection. It does not publish the fact: the projection also needs the published card with the `categories` field and an active C2.
- hidden: the candidate hid the fact. No organization reads it. Hiding never edits or deletes the confirmed result.
enum:
- visible
- hidden
EvidenceSkillCode:
type: string
description: A skill tag from a closed set - the specialization codes of the catalog and the technology codes of the anonymous card. An assessment tags its fact with the specialization of the category.
enum:
- backend
- frontend
- mobile
- network_engineer
- devops_sre
- data_analyst
- ds_ml
- information_security
- qa
- go
- postgresql
- kafka
- docker
EvidenceBasis:
type: string
description: |-
What the measurement rests on.
- synthetic_demo: a demonstration category from a synthetic reviewed bank. It shows the mechanics and is not a validated measurement.
enum:
- synthetic_demo
EvidenceCalibrationStatus:
type: string
description: |-
Calibration of the method behind the result.
- uncalibrated: the thresholds are initial values that no measurement has validated.
enum:
- uncalibrated
EvidenceResult:
type: object
description: >-
What the fact says: the grade that was passed and how reliable the method
is. It carries no score, answer, item, failure, or anti-cheat data.
additionalProperties: false
required:
- grade
- basis
- calibration_status
properties:
grade:
$ref: "./catalog_schemas.yml#/schemas/GradeCode"
basis:
$ref: "#/schemas/EvidenceBasis"
calibration_status:
$ref: "#/schemas/EvidenceCalibrationStatus"
EvidenceSource:
type: object
description: >-
Where the fact comes from. For an assessment the event is the attempt
and the result is the immutable result of that attempt, which the
candidate reads at `GetMyAssessmentResult`; the two identifiers are
equal because a result is keyed by its attempt.
additionalProperties: false
required:
- type
- event_id
- result_id
properties:
type:
$ref: "#/schemas/EvidenceSourceType"
event_id:
type: string
format: uuid
description: Identifier of the source event. One event is one fact, however many skills it is tagged with.
result_id:
type: string
format: uuid
description: Identifier of the immutable result that produced the fact.
EvidenceFact:
type: object
description: >-
One independent fact of the current candidate. `occurred_at` is when
the source event ended; for an assessment it is the time of the
decision. A fact is one source event; the skills of that event are tags of the fact, so a second tag
never makes a second fact. Hidden facts are listed here with their
visibility, because the candidate owns them.
additionalProperties: false
required:
- id
- kind
- source
- skills
- result
- attribution
- trust
- occurred_at
- visibility
properties:
id:
type: string
format: uuid
description: Identifier of the fact.
kind:
$ref: "#/schemas/EvidenceKind"
source:
$ref: "#/schemas/EvidenceSource"
skills:
type: array
minItems: 1
maxItems: 13
uniqueItems: true
description: Skill tags of the event in ascending order.
items:
$ref: "#/schemas/EvidenceSkillCode"
result:
$ref: "#/schemas/EvidenceResult"
attribution:
$ref: "#/schemas/EvidenceAttribution"
trust:
$ref: "#/schemas/EvidenceTrustLevel"
occurred_at:
$ref: "./common_schemas.yml#/schemas/Timestamp"
visibility:
$ref: "#/schemas/EvidenceVisibility"
EvidenceFactList:
type: object
description: One page of the facts of the current candidate, newest event first.
additionalProperties: false
required:
- items
- page
properties:
items:
type: array
maxItems: 100
description: Facts of the page.
items:
$ref: "#/schemas/EvidenceFact"
page:
$ref: "./common_schemas.yml#/schemas/PageInfo"
OrganizationEvidenceFact:
type: object
description: >-
The one assessment fact that supports a category of the card as an
organization reads it: the earliest visible measurement that passed
exactly the confirmed grade of that category. A lower grade, a retake,
the other tags of the event, the source, the basis, the exact time, and
every identifier stay with the candidate. The fact carries no
identifier of the fact, the event, the result, or the candidate, so it
cannot be joined to a person by a key. It is not unlinkable: the skill,
the grade, the trust level, and the year, together with the other
values of the card, can narrow a small pool of candidates, and the
minimum cohort of the card does not cover the year. `basis` and
`calibration_status` are the same for every candidate: they say that
the fact comes from a synthetic demonstration and is not calibrated,
so a demonstration is never read as a validated measurement. The fact
never carries an answer, score, item, failure, signal, or review band.
additionalProperties: false
required:
- skill
- grade
- trust
- basis
- calibration_status
- observed_year
properties:
skill:
$ref: "#/schemas/EvidenceSkillCode"
grade:
$ref: "./catalog_schemas.yml#/schemas/GradeCode"
trust:
$ref: "#/schemas/EvidenceTrustLevel"
basis:
$ref: "#/schemas/EvidenceBasis"
calibration_status:
$ref: "#/schemas/EvidenceCalibrationStatus"
observed_year:
type: integer
format: int32
minimum: 2000
maximum: 9999
description: Year (UTC) when the assessment ended. The month, day, and time stay with the candidate.
examples:
- 2026
OrganizationEvidence:
type: object
description: >-
The permitted evidence of one candidate card, ordered by skill: at most
one fact for each category of the card (at most nine). The list is empty
when no visible fact supports a category of the card.
additionalProperties: false
required:
- items
properties:
items:
type: array
maxItems: 9
description: Permitted facts, one for each supported category.
items:
$ref: "#/schemas/OrganizationEvidenceFact"
@@ -28,7 +28,7 @@ schemas:
description: |-
A group of values of the anonymous candidate card that the candidate chooses to publish. The set is closed and has no value for the full name, a contact, or the lowest salary: the card never carries them, so no choice and no later contract change in this list can publish them by accident. Contacts leave only through the contact grant of an accepted invitation (C4), and the lowest salary never leaves.
- categories: specialization and grade confirmed by an authoritative assessment result.
- categories: specialization and grade confirmed by an authoritative assessment result. With it an organization receives the confirmed category and, with each category of the card, one supporting assessment fact: its skill, the passed grade, the trust level, the year of the assessment, and the basis and calibration that mark a synthetic, uncalibrated demonstration (`GetOrganizationCandidateEvidence`). The candidate sees the same on `GetMyCardPreview`.
- self_assessment: the candidate's declared specialization and grade, separate from confirmed categories.
- stack: only recognized technology codes from the server's closed taxonomy.
- experience: a coarse total-experience band, without employers, periods, or descriptions.
@@ -468,12 +468,16 @@ schemas:
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.
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.
additionalProperties: false
required:
- state
- fields
- card
- evidence
- generated_at
properties:
state:
@@ -484,6 +488,10 @@ schemas:
oneOf:
- $ref: "#/schemas/AnonymousCardContent"
- type: "null"
evidence:
oneOf:
- $ref: "./evidence_schemas.yml#/schemas/OrganizationEvidence"
- type: "null"
generated_at:
$ref: "./common_schemas.yml#/schemas/Timestamp"
PrivacyEventKind:
+369 -2
View File
@@ -25,6 +25,8 @@ tags:
description: 'Invitations from an organization to one candidate: drafts with complete terms, immutable terms versions, sending, the candidate''s inbox, acceptance with the consent C4, structured declines, withdrawal and cancellation, and the contact grant. Contacts are readable only through an active grant, in a response separate from the terms.'
- name: privacy
description: 'Visibility of the current candidate: the publication of the anonymous card (a setting that refers to the C2 consent of the ledger and never replaces it), the search status that is not a consent, the organizations that the candidate hides the profile from, the preview of the card, and the history of the settings and of the accesses. Everything is closed by default, and no change makes a candidate more visible than they chose. No schema here reaches a contact, a name, or the lowest salary.'
- name: evidence
description: 'Skill evidence derived from confirmed assessment results: one fact per source event with its skills, trust level, attribution, date, and visibility. The candidate reads their own facts; an organization reads only the permitted projection of a currently visible card. Raw answers, failures, and anti-cheat data are never part of it.'
- name: consent
description: 'The consent ledger of the current account: the independent consents C1-C5 with their text versions, sources, states, and revocations. The ledger is append-only and returns only the caller''s own records.'
- name: support
@@ -1743,6 +1745,52 @@ paths:
$ref: '#/components/responses/TooManyRequests'
default:
$ref: '#/components/responses/Problem'
/api/v1/organizations/{org_id}/candidate-cards/{candidate_handle}/evidence:
get:
operationId: GetOrganizationCandidateEvidence
summary: Read the permitted skill evidence of one currently visible candidate card.
description: |-
Requires the session cookie of an employer account with an active membership in `org_id`. The organization and membership come from the current server-side session and path, never from cached search data.
`candidate_handle` is the organization-scoped opaque alias issued by the current anonymous-card projection. The server runs the same checks as the card read on every request: active membership, effective C2 publication, the candidate's hiding of this organization, and the minimum cohort. In addition the card must publish the `categories` field and show at least one category after the cohort rules, because the evidence explains those categories and discloses nothing beyond them. An unknown handle, a handle of another organization, a closed or revoked publication, a profile hidden from this organization, a profile suppressed by the minimum cohort, and a card without categories all answer the same 404 not_found. Closing C2 or hiding the organization blocks this read immediately, and a cached response proves nothing.
The response lists, for each category of the card, the one visible fact that supports its confirmed grade: the earliest assessment that passed exactly that grade, so a lower grade or a retake adds nothing. A fact the candidate hid is absent. Each fact carries only the skill, the passed grade, the trust level, the year of the assessment, and the basis and calibration of the method (`synthetic_demo`, `uncalibrated`), which are the same for every candidate and say that the fact is a demonstration, not a validated measurement. It carries no identifier of the fact, event, result, or candidate, no month or exact time, and never an answer, item, score, failed attempt, review band, or anti-cheat signal. An express training run and a failed attempt create no fact. The answer has no key that joins it to a person, but it is not unlinkable: with the other values of the card it can narrow a small pool of candidates.
Reading the evidence is a view of the candidate card: it consumes the organization's current card-view quota with the same distinct-card rule and is recorded in the access history with the `categories` field. When the quota is exhausted the operation answers 429 with Retry-After. The response is `Cache-Control: no-store`.
A missing, unknown, expired, or revoked session answers 401 unauthenticated; a candidate account answers 403 forbidden; an unknown organization or account without an active membership answers 404 not_found. An `org_id` that is not a UUID or a malformed candidate handle answers 400 validation_failed.
security:
- sessionCookie: []
tags:
- evidence
parameters:
- $ref: '#/components/parameters/OrganizationId'
- $ref: '#/components/parameters/CandidateHandle'
responses:
'200':
description: The permitted evidence of this candidate card for this organization.
headers:
Cache-Control:
$ref: '#/components/headers/CacheControlNoStore'
content:
application/json:
schema:
$ref: '#/components/schemas/OrganizationEvidence'
examples:
permitted:
$ref: '#/components/examples/OrganizationCandidateEvidence'
'400':
$ref: '#/components/responses/ValidationFailed'
'401':
$ref: '#/components/responses/Unauthenticated'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/TooManyRequests'
default:
$ref: '#/components/responses/Problem'
/api/v1/organizations/{org_id}/invitations:
get:
operationId: ListOrganizationInvitations
@@ -2808,6 +2856,8 @@ paths:
`card` is the closed `AnonymousCardContent` projection. It reaches no private profile or contact schema and contains no name, email, phone, Telegram name, employer, salary figure, account identifier, or profile identifier. Unpublished or unknown values are null. Only allowed canonical skills and generalized experience are exposed; arbitrary profile text and imported excerpts never appear. `categories` contains only confirmed assessment results. Self-assessed grades and work formats appear only through their separate explicit publication choices, and self-assessment never becomes a confirmed category. Salary compatibility is nullable and contains no salary amount.
`evidence` shows what an organization would read in the evidence section of the card (`GetOrganizationCandidateEvidence`): for each category of the card, the one assessment fact that supports its confirmed grade, with its skill, the passed grade, the trust level, the year, and the basis and calibration (`synthetic_demo`, `uncalibrated`). It is null while `card` is null, and an empty list when the card shows no category or no visible fact supports one. The preview applies no organization or cohort, so an organization can still receive less.
A missing, unknown, expired, or revoked session answers 401 unauthenticated; an employer account answers 403 forbidden.
security:
- sessionCookie: []
@@ -3083,6 +3133,46 @@ paths:
$ref: '#/components/responses/Forbidden'
default:
$ref: '#/components/responses/Problem'
/api/v1/me/evidence:
get:
operationId: ListMyEvidence
summary: List the skill evidence of the current candidate.
description: |-
Requires the session cookie of a candidate account. The candidate comes from the session, so the response holds only the caller's own facts. Returns a page, newest event first with the fact identifier as the tie-breaker, with cursor pagination. The response is `Cache-Control: no-store`.
A fact is derived from the immutable result of a confirmed real assessment (root or corrective), in the same transaction that stores the result. Each fact names its source (the event and the result, which the candidate can open at `GetMyAssessmentResult`), the skills of the event, the grade that was passed with its basis and calibration, the attribution, the date, the visibility, and the trust level. An online assessment without a reliable confirmation of the identity has trust 1. One source event is one fact: its skills are tags of that fact, so several tags never make several facts.
The list never carries raw answers, items, scores, failed attempts, or anti-cheat data. A failed attempt, a result without a reviewed category source, and an express training run (`demo_express`) create no fact, so reading the list before and after an express run shows no new fact. The list includes facts the candidate hid, with `visibility` `hidden`.
A missing, unknown, expired, or revoked session answers 401 unauthenticated; an employer account, or a candidate with an unverified email, answers 403 forbidden. A malformed `limit` or `cursor`, or a cursor of another candidate, answers 400 validation_failed.
security:
- sessionCookie: []
tags:
- evidence
parameters:
- $ref: '#/components/parameters/PageLimit'
- $ref: '#/components/parameters/PageCursor'
responses:
'200':
description: A page of the skill evidence of the current candidate.
headers:
Cache-Control:
$ref: '#/components/headers/CacheControlNoStore'
content:
application/json:
schema:
$ref: '#/components/schemas/EvidenceFactList'
examples:
page:
$ref: '#/components/examples/EvidenceFactListPage'
'400':
$ref: '#/components/responses/ValidationFailed'
'401':
$ref: '#/components/responses/Unauthenticated'
'403':
$ref: '#/components/responses/Forbidden'
default:
$ref: '#/components/responses/Problem'
/api/v1/me/support-cases:
get:
operationId: ListMySupportCases
@@ -8953,7 +9043,7 @@ components:
description: |-
A group of values of the anonymous candidate card that the candidate chooses to publish. The set is closed and has no value for the full name, a contact, or the lowest salary: the card never carries them, so no choice and no later contract change in this list can publish them by accident. Contacts leave only through the contact grant of an accepted invitation (C4), and the lowest salary never leaves.
- categories: specialization and grade confirmed by an authoritative assessment result.
- categories: specialization and grade confirmed by an authoritative assessment result. With it an organization receives the confirmed category and, with each category of the card, one supporting assessment fact: its skill, the passed grade, the trust level, the year of the assessment, and the basis and calibration that mark a synthetic, uncalibrated demonstration (`GetOrganizationCandidateEvidence`). The candidate sees the same on `GetMyCardPreview`.
- self_assessment: the candidate's declared specialization and grade, separate from confirmed categories.
- stack: only recognized technology codes from the server's closed taxonomy.
- experience: a coarse total-experience band, without employers, periods, or descriptions.
@@ -9257,12 +9347,13 @@ components:
description: Nullable compatibility result with no salary values.
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.
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.
additionalProperties: false
required:
- state
- fields
- card
- evidence
- generated_at
properties:
state:
@@ -9273,6 +9364,10 @@ components:
oneOf:
- $ref: '#/components/schemas/AnonymousCardContent'
- type: 'null'
evidence:
oneOf:
- $ref: '#/components/schemas/OrganizationEvidence'
- type: 'null'
generated_at:
$ref: '#/components/schemas/Timestamp'
PrivacyEventKind:
@@ -9395,6 +9490,235 @@ components:
$ref: '#/components/schemas/CardAccess'
page:
$ref: '#/components/schemas/PageInfo'
EvidenceKind:
type: string
description: |-
Whether a fact is a statement or an observation.
- claim: something the candidate stated that nothing confirmed separately. Its trust is 0.
- measurement: a result that a system observed, such as a confirmed assessment. Its trust is 1 to 3.
Assessments produce measurements only. A claim never becomes a measurement by repetition, and the two kinds are stored apart.
enum:
- claim
- measurement
EvidenceSourceType:
type: string
description: |-
Where the fact comes from.
- assessment_result: a real (root or corrective) assessment result of this platform that confirmed a grade. An express training run (`demo_express`), a failed attempt, and a result without a reviewed category source are never a source.
Adding a value is a contract change.
enum:
- assessment_result
EvidenceAttribution:
type: string
description: |-
Whose contribution the fact is.
- personal: the candidate's own result. Every assessment fact is personal.
- team_role: a team result with a confirmed role of the candidate.
- team_unattributed: a team result without a confirmed role; it is not a personal skill.
Only `personal` is produced today.
enum:
- personal
- team_role
- team_unattributed
EvidenceTrustLevel:
type: integer
format: int32
minimum: 0
maximum: 3
description: |-
Strength of the confirmation.
- 0: stated by the person, not confirmed separately.
- 1: an observable online result without a reliable confirmation of the identity or the authorship. Every assessment fact has this level today, because the assessment is unproctored and the identity is not confirmed.
- 2: a result tied to a confirmed identity or confirmed by an independent party.
- 3: an in-person check with a matching confirmation.
A repeated statement, a sign-in, or a repeated tag of the same event never raises the level.
examples:
- 1
EvidenceVisibility:
type: string
description: |-
Whether the fact may take part in what an organization reads.
- visible: the fact is eligible for the organization projection. It does not publish the fact: the projection also needs the published card with the `categories` field and an active C2.
- hidden: the candidate hid the fact. No organization reads it. Hiding never edits or deletes the confirmed result.
enum:
- visible
- hidden
EvidenceSkillCode:
type: string
description: A skill tag from a closed set - the specialization codes of the catalog and the technology codes of the anonymous card. An assessment tags its fact with the specialization of the category.
enum:
- backend
- frontend
- mobile
- network_engineer
- devops_sre
- data_analyst
- ds_ml
- information_security
- qa
- go
- postgresql
- kafka
- docker
EvidenceBasis:
type: string
description: |-
What the measurement rests on.
- synthetic_demo: a demonstration category from a synthetic reviewed bank. It shows the mechanics and is not a validated measurement.
enum:
- synthetic_demo
EvidenceCalibrationStatus:
type: string
description: |-
Calibration of the method behind the result.
- uncalibrated: the thresholds are initial values that no measurement has validated.
enum:
- uncalibrated
EvidenceResult:
type: object
description: 'What the fact says: the grade that was passed and how reliable the method is. It carries no score, answer, item, failure, or anti-cheat data.'
additionalProperties: false
required:
- grade
- basis
- calibration_status
properties:
grade:
$ref: '#/components/schemas/GradeCode'
basis:
$ref: '#/components/schemas/EvidenceBasis'
calibration_status:
$ref: '#/components/schemas/EvidenceCalibrationStatus'
EvidenceSource:
type: object
description: Where the fact comes from. For an assessment the event is the attempt and the result is the immutable result of that attempt, which the candidate reads at `GetMyAssessmentResult`; the two identifiers are equal because a result is keyed by its attempt.
additionalProperties: false
required:
- type
- event_id
- result_id
properties:
type:
$ref: '#/components/schemas/EvidenceSourceType'
event_id:
type: string
format: uuid
description: Identifier of the source event. One event is one fact, however many skills it is tagged with.
result_id:
type: string
format: uuid
description: Identifier of the immutable result that produced the fact.
EvidenceFact:
type: object
description: One independent fact of the current candidate. `occurred_at` is when the source event ended; for an assessment it is the time of the decision. A fact is one source event; the skills of that event are tags of the fact, so a second tag never makes a second fact. Hidden facts are listed here with their visibility, because the candidate owns them.
additionalProperties: false
required:
- id
- kind
- source
- skills
- result
- attribution
- trust
- occurred_at
- visibility
properties:
id:
type: string
format: uuid
description: Identifier of the fact.
kind:
$ref: '#/components/schemas/EvidenceKind'
source:
$ref: '#/components/schemas/EvidenceSource'
skills:
type: array
minItems: 1
maxItems: 13
uniqueItems: true
description: Skill tags of the event in ascending order.
items:
$ref: '#/components/schemas/EvidenceSkillCode'
result:
$ref: '#/components/schemas/EvidenceResult'
attribution:
$ref: '#/components/schemas/EvidenceAttribution'
trust:
$ref: '#/components/schemas/EvidenceTrustLevel'
occurred_at:
$ref: '#/components/schemas/Timestamp'
visibility:
$ref: '#/components/schemas/EvidenceVisibility'
EvidenceFactList:
type: object
description: One page of the facts of the current candidate, newest event first.
additionalProperties: false
required:
- items
- page
properties:
items:
type: array
maxItems: 100
description: Facts of the page.
items:
$ref: '#/components/schemas/EvidenceFact'
page:
$ref: '#/components/schemas/PageInfo'
OrganizationEvidenceFact:
type: object
description: 'The one assessment fact that supports a category of the card as an organization reads it: the earliest visible measurement that passed exactly the confirmed grade of that category. A lower grade, a retake, the other tags of the event, the source, the basis, the exact time, and every identifier stay with the candidate. The fact carries no identifier of the fact, the event, the result, or the candidate, so it cannot be joined to a person by a key. It is not unlinkable: the skill, the grade, the trust level, and the year, together with the other values of the card, can narrow a small pool of candidates, and the minimum cohort of the card does not cover the year. `basis` and `calibration_status` are the same for every candidate: they say that the fact comes from a synthetic demonstration and is not calibrated, so a demonstration is never read as a validated measurement. The fact never carries an answer, score, item, failure, signal, or review band.'
additionalProperties: false
required:
- skill
- grade
- trust
- basis
- calibration_status
- observed_year
properties:
skill:
$ref: '#/components/schemas/EvidenceSkillCode'
grade:
$ref: '#/components/schemas/GradeCode'
trust:
$ref: '#/components/schemas/EvidenceTrustLevel'
basis:
$ref: '#/components/schemas/EvidenceBasis'
calibration_status:
$ref: '#/components/schemas/EvidenceCalibrationStatus'
observed_year:
type: integer
format: int32
minimum: 2000
maximum: 9999
description: Year (UTC) when the assessment ended. The month, day, and time stay with the candidate.
examples:
- 2026
OrganizationEvidence:
type: object
description: 'The permitted evidence of one candidate card, ordered by skill: at most one fact for each category of the card (at most nine). The list is empty when no visible fact supports a category of the card.'
additionalProperties: false
required:
- items
properties:
items:
type: array
maxItems: 9
description: Permitted facts, one for each supported category.
items:
$ref: '#/components/schemas/OrganizationEvidenceFact'
HealthResponse:
type: object
additionalProperties: false
@@ -14154,6 +14478,16 @@ components:
experience_band: '1_3'
work_formats: null
salary_compatibility: null
OrganizationCandidateEvidence:
summary: The one supporting assessment fact of the category on the card
value:
items:
- skill: backend
grade: junior
trust: 1
basis: synthetic_demo
calibration_status: uncalibrated
observed_year: 2026
OrganizationInvitationListPage:
summary: The last page of the invitations of an organization
description: The organization sees that the second invitation was declined, but not the reason or the comment.
@@ -15565,6 +15899,14 @@ components:
experience_band: '1_3'
work_formats: null
salary_compatibility: null
evidence:
items:
- skill: backend
grade: middle
trust: 1
basis: synthetic_demo
calibration_status: uncalibrated
observed_year: 2026
generated_at: '2026-10-06T09:30:00Z'
ClosedCardPreview:
summary: The preview of a closed profile
@@ -15572,6 +15914,7 @@ components:
state: closed
fields: []
card: null
evidence: null
generated_at: '2026-10-06T09:30:00Z'
SearchStatusUpdateLooking:
summary: Set or confirm the status looking
@@ -15673,6 +16016,30 @@ components:
page:
has_more: false
next_cursor: null
EvidenceFactListPage:
summary: A confirmed junior backend result with one fact and two tags of the same event
value:
items:
- id: 01928f7a-d1e2-7f3a-8b4c-5d6e7f8a9b01
kind: measurement
source:
type: assessment_result
event_id: 01928f7a-e1f2-7a3b-8c4d-5e6f7a8b9c01
result_id: 01928f7a-e1f2-7a3b-8c4d-5e6f7a8b9c01
skills:
- backend
- go
result:
grade: junior
basis: synthetic_demo
calibration_status: uncalibrated
attribution: personal
trust: 1
occurred_at: '2026-10-08T10:15:00Z'
visibility: visible
page:
has_more: false
next_cursor: null
SupportCaseListPage:
summary: The last page of the case summaries of the current account
value:
+39
View File
@@ -60,6 +60,13 @@ tags:
Everything is closed by default, and no change makes a candidate more
visible than they chose. No schema here reaches a contact, a name, or
the lowest salary.
- name: evidence
description: >-
Skill evidence derived from confirmed assessment results: one fact per
source event with its skills, trust level, attribution, date, and
visibility. The candidate reads their own facts; an organization reads
only the permitted projection of a currently visible card. Raw
answers, failures, and anti-cheat data are never part of it.
- name: consent
description: >-
The consent ledger of the current account: the independent consents
@@ -135,6 +142,8 @@ paths:
$ref: ./routes/matches.yml
/api/v1/organizations/{org_id}/candidate-cards/{candidate_handle}:
$ref: ./routes/organization_candidate_card.yml
/api/v1/organizations/{org_id}/candidate-cards/{candidate_handle}/evidence:
$ref: ./routes/organization_candidate_card_evidence.yml
/api/v1/organizations/{org_id}/invitations:
$ref: ./routes/organization_invitations.yml
/api/v1/organizations/{org_id}/invitations/{invitation_id}:
@@ -183,6 +192,8 @@ paths:
$ref: ./routes/candidate_privacy_history.yml
/api/v1/me/privacy/access-history:
$ref: ./routes/candidate_privacy_access_history.yml
/api/v1/me/evidence:
$ref: ./routes/candidate_evidence.yml
/api/v1/me/support-cases:
$ref: ./routes/support_cases.yml
/api/v1/me/support-cases/{case_id}:
@@ -871,6 +882,34 @@ components:
$ref: ./components/schemas.yml#/CardAccess
CardAccessList:
$ref: ./components/schemas.yml#/CardAccessList
EvidenceKind:
$ref: ./components/schemas.yml#/EvidenceKind
EvidenceSourceType:
$ref: ./components/schemas.yml#/EvidenceSourceType
EvidenceAttribution:
$ref: ./components/schemas.yml#/EvidenceAttribution
EvidenceTrustLevel:
$ref: ./components/schemas.yml#/EvidenceTrustLevel
EvidenceVisibility:
$ref: ./components/schemas.yml#/EvidenceVisibility
EvidenceSkillCode:
$ref: ./components/schemas.yml#/EvidenceSkillCode
EvidenceBasis:
$ref: ./components/schemas.yml#/EvidenceBasis
EvidenceCalibrationStatus:
$ref: ./components/schemas.yml#/EvidenceCalibrationStatus
EvidenceResult:
$ref: ./components/schemas.yml#/EvidenceResult
EvidenceSource:
$ref: ./components/schemas.yml#/EvidenceSource
EvidenceFact:
$ref: ./components/schemas.yml#/EvidenceFact
EvidenceFactList:
$ref: ./components/schemas.yml#/EvidenceFactList
OrganizationEvidenceFact:
$ref: ./components/schemas.yml#/OrganizationEvidenceFact
OrganizationEvidence:
$ref: ./components/schemas.yml#/OrganizationEvidence
parameters:
IdempotencyKey:
$ref: ./components/parameters.yml#/IdempotencyKey
+39
View File
@@ -0,0 +1,39 @@
get:
operationId: ListMyEvidence
summary: List the skill evidence of the current candidate.
description: |-
Requires the session cookie of a candidate account. The candidate comes from the session, so the response holds only the caller's own facts. Returns a page, newest event first with the fact identifier as the tie-breaker, with cursor pagination. The response is `Cache-Control: no-store`.
A fact is derived from the immutable result of a confirmed real assessment (root or corrective), in the same transaction that stores the result. Each fact names its source (the event and the result, which the candidate can open at `GetMyAssessmentResult`), the skills of the event, the grade that was passed with its basis and calibration, the attribution, the date, the visibility, and the trust level. An online assessment without a reliable confirmation of the identity has trust 1. One source event is one fact: its skills are tags of that fact, so several tags never make several facts.
The list never carries raw answers, items, scores, failed attempts, or anti-cheat data. A failed attempt, a result without a reviewed category source, and an express training run (`demo_express`) create no fact, so reading the list before and after an express run shows no new fact. The list includes facts the candidate hid, with `visibility` `hidden`.
A missing, unknown, expired, or revoked session answers 401 unauthenticated; an employer account, or a candidate with an unverified email, answers 403 forbidden. A malformed `limit` or `cursor`, or a cursor of another candidate, answers 400 validation_failed.
security:
- sessionCookie: []
tags:
- evidence
parameters:
- $ref: ../components/parameters.yml#/PageLimit
- $ref: ../components/parameters.yml#/PageCursor
responses:
"200":
description: A page of the skill evidence of the current candidate.
headers:
Cache-Control:
$ref: ../components/headers.yml#/CacheControlNoStore
content:
application/json:
schema:
$ref: ../components/schemas.yml#/EvidenceFactList
examples:
page:
$ref: ../components/examples.yml#/EvidenceFactListPage
"400":
$ref: ../components/responses.yml#/ValidationFailed
"401":
$ref: ../components/responses.yml#/Unauthenticated
"403":
$ref: ../components/responses.yml#/Forbidden
default:
$ref: ../components/responses.yml#/Problem
@@ -8,6 +8,8 @@ get:
`card` is the closed `AnonymousCardContent` projection. It reaches no private profile or contact schema and contains no name, email, phone, Telegram name, employer, salary figure, account identifier, or profile identifier. Unpublished or unknown values are null. Only allowed canonical skills and generalized experience are exposed; arbitrary profile text and imported excerpts never appear. `categories` contains only confirmed assessment results. Self-assessed grades and work formats appear only through their separate explicit publication choices, and self-assessment never becomes a confirmed category. Salary compatibility is nullable and contains no salary amount.
`evidence` shows what an organization would read in the evidence section of the card (`GetOrganizationCandidateEvidence`): for each category of the card, the one assessment fact that supports its confirmed grade, with its skill, the passed grade, the trust level, the year, and the basis and calibration (`synthetic_demo`, `uncalibrated`). It is null while `card` is null, and an empty list when the card shows no category or no visible fact supports one. The preview applies no organization or cohort, so an organization can still receive less.
A missing, unknown, expired, or revoked session answers 401 unauthenticated; an employer account answers 403 forbidden.
security:
- sessionCookie: []
@@ -0,0 +1,45 @@
get:
operationId: GetOrganizationCandidateEvidence
summary: Read the permitted skill evidence of one currently visible candidate card.
description: |-
Requires the session cookie of an employer account with an active membership in `org_id`. The organization and membership come from the current server-side session and path, never from cached search data.
`candidate_handle` is the organization-scoped opaque alias issued by the current anonymous-card projection. The server runs the same checks as the card read on every request: active membership, effective C2 publication, the candidate's hiding of this organization, and the minimum cohort. In addition the card must publish the `categories` field and show at least one category after the cohort rules, because the evidence explains those categories and discloses nothing beyond them. An unknown handle, a handle of another organization, a closed or revoked publication, a profile hidden from this organization, a profile suppressed by the minimum cohort, and a card without categories all answer the same 404 not_found. Closing C2 or hiding the organization blocks this read immediately, and a cached response proves nothing.
The response lists, for each category of the card, the one visible fact that supports its confirmed grade: the earliest assessment that passed exactly that grade, so a lower grade or a retake adds nothing. A fact the candidate hid is absent. Each fact carries only the skill, the passed grade, the trust level, the year of the assessment, and the basis and calibration of the method (`synthetic_demo`, `uncalibrated`), which are the same for every candidate and say that the fact is a demonstration, not a validated measurement. It carries no identifier of the fact, event, result, or candidate, no month or exact time, and never an answer, item, score, failed attempt, review band, or anti-cheat signal. An express training run and a failed attempt create no fact. The answer has no key that joins it to a person, but it is not unlinkable: with the other values of the card it can narrow a small pool of candidates.
Reading the evidence is a view of the candidate card: it consumes the organization's current card-view quota with the same distinct-card rule and is recorded in the access history with the `categories` field. When the quota is exhausted the operation answers 429 with Retry-After. The response is `Cache-Control: no-store`.
A missing, unknown, expired, or revoked session answers 401 unauthenticated; a candidate account answers 403 forbidden; an unknown organization or account without an active membership answers 404 not_found. An `org_id` that is not a UUID or a malformed candidate handle answers 400 validation_failed.
security:
- sessionCookie: []
tags:
- evidence
parameters:
- $ref: ../components/parameters.yml#/OrganizationId
- $ref: ../components/parameters.yml#/CandidateHandle
responses:
"200":
description: The permitted evidence of this candidate card for this organization.
headers:
Cache-Control:
$ref: ../components/headers.yml#/CacheControlNoStore
content:
application/json:
schema:
$ref: ../components/schemas.yml#/OrganizationEvidence
examples:
permitted:
$ref: ../components/examples.yml#/OrganizationCandidateEvidence
"400":
$ref: ../components/responses.yml#/ValidationFailed
"401":
$ref: ../components/responses.yml#/Unauthenticated
"403":
$ref: ../components/responses.yml#/Forbidden
"404":
$ref: ../components/responses.yml#/NotFound
"429":
$ref: ../components/responses.yml#/TooManyRequests
default:
$ref: ../components/responses.yml#/Problem