chore: checkpoint assessment and inbox integration

This commit is contained in:
TakuyaYagam1 committed 2026-10-08 17:47:30 +03:00
1 parent 88a31ba0d5
commit 5c52fd8b91
31 files changed
+4608 -181

No files matched your search

+70
View File
@@ -1214,6 +1214,74 @@ AssessmentResult:
root: '#/AssessmentQualifiedResult'
corrective: '#/AssessmentCorrectiveResult'
demo_express: '#/AssessmentExpressResult'
AssessmentRealResult:
description: A completed root or corrective result. Training-only demo_express results are excluded from qualification history.
oneOf:
- $ref: '#/AssessmentQualifiedResult'
- $ref: '#/AssessmentCorrectiveResult'
discriminator:
propertyName: kind
mapping:
root: '#/AssessmentQualifiedResult'
corrective: '#/AssessmentCorrectiveResult'
AssessmentCategoryDecisionView:
type: object
description: Category decision captured when this result was stored. It is absent from legacy v1 results because their current grade cannot be inferred later. It never exposes review identifiers, private answers, or the candidate's current category after this decision.
additionalProperties: false
required:
- status
- previous_confirmed_grade
- current_confirmed_grade
- method
- source
- calibration_status
properties:
status:
type: string
enum:
- not_eligible
- not_confirmed
- assigned
- unchanged
previous_confirmed_grade:
oneOf:
- $ref: '#/GradeCode'
- type: 'null'
current_confirmed_grade:
oneOf:
- $ref: '#/GradeCode'
- type: 'null'
method:
oneOf:
- type: string
enum:
- demo_basic_pass_mark
- type: 'null'
source:
oneOf:
- type: string
enum:
- synthetic_demo
- type: 'null'
calibration_status:
oneOf:
- $ref: '#/CalibrationStatus'
- type: 'null'
AssessmentResultHistoryPage:
type: object
description: Owner-only immutable root and corrective results ordered by decided_at and attempt_id descending. Legacy v1 results omit category_decision.
additionalProperties: false
required:
- items
- page
properties:
items:
type: array
maxItems: 50
items:
$ref: '#/AssessmentRealResult'
page:
$ref: '#/PageInfo'
AssessmentFinalizeConflictProblem:
type: object
description: A finalize state conflict. `pending_item_ids` is present only when the attempt still has required questions without answers; it is omitted for other state conflicts and idempotency conflicts.
@@ -1346,6 +1414,8 @@ AssessmentRealResultCommon:
oneOf:
- $ref: '#/GradeCode'
- type: 'null'
category_decision:
$ref: '#/AssessmentCategoryDecisionView'
strength:
description: Strength of an adaptive confirmation, otherwise null.
oneOf:
@@ -1330,6 +1330,82 @@ schemas:
root: "#/schemas/AssessmentQualifiedResult"
corrective: "#/schemas/AssessmentCorrectiveResult"
demo_express: "#/schemas/AssessmentExpressResult"
AssessmentRealResult:
description: >-
A completed root or corrective result. Training-only demo_express
results are excluded from qualification history.
oneOf:
- $ref: "#/schemas/AssessmentQualifiedResult"
- $ref: "#/schemas/AssessmentCorrectiveResult"
discriminator:
propertyName: kind
mapping:
root: "#/schemas/AssessmentQualifiedResult"
corrective: "#/schemas/AssessmentCorrectiveResult"
AssessmentCategoryDecisionView:
type: object
description: >-
Category decision captured when this result was stored. It is absent
from legacy v1 results because their current grade cannot be inferred
later. It never exposes review identifiers, private answers, or the
candidate's current category after this decision.
additionalProperties: false
required:
- status
- previous_confirmed_grade
- current_confirmed_grade
- method
- source
- calibration_status
properties:
status:
type: string
enum:
- not_eligible
- not_confirmed
- assigned
- unchanged
previous_confirmed_grade:
oneOf:
- $ref: "./catalog_schemas.yml#/schemas/GradeCode"
- type: "null"
current_confirmed_grade:
oneOf:
- $ref: "./catalog_schemas.yml#/schemas/GradeCode"
- type: "null"
method:
oneOf:
- type: string
enum:
- demo_basic_pass_mark
- type: "null"
source:
oneOf:
- type: string
enum:
- synthetic_demo
- type: "null"
calibration_status:
oneOf:
- $ref: "#/schemas/CalibrationStatus"
- type: "null"
AssessmentResultHistoryPage:
type: object
description: >-
Owner-only immutable root and corrective results ordered by decided_at
and attempt_id descending. Legacy v1 results omit category_decision.
additionalProperties: false
required:
- items
- page
properties:
items:
type: array
maxItems: 50
items:
$ref: "#/schemas/AssessmentRealResult"
page:
$ref: "./common_schemas.yml#/schemas/PageInfo"
AssessmentFinalizeConflictProblem:
type: object
description: >-
@@ -1484,6 +1560,8 @@ schemas:
oneOf:
- $ref: "./catalog_schemas.yml#/schemas/GradeCode"
- type: "null"
category_decision:
$ref: "#/schemas/AssessmentCategoryDecisionView"
strength:
description: Strength of an adaptive confirmation, otherwise null.
oneOf: