feat(assessment): define corrective and training attempt contracts

This commit is contained in:
TakuyaYagam1 committed 2026-10-07 10:36:16 +03:00
1 parent fade4e76e4
commit 20c03288d6
71 files changed
+14786 -1743

No files matched your search

+190
View File
@@ -509,6 +509,7 @@ AssessmentAvailability:
AssessmentAttemptCreateBackendJunior:
summary: Start Backend junior with Go tasks
value:
kind: root
specialization: backend
target_grade: junior
task_language: go
@@ -524,9 +525,12 @@ AssessmentAttemptCreated:
value:
id: 01928f7a-3c4d-7e5f-8a9b-0c1d2e3f4a5b
version: 1
kind: root
specialization: backend
target_grade: junior
task_language: go
root_attempt_id: null
chain_deadline: null
mode: demo_basic
state: in_progress
versions:
@@ -560,6 +564,86 @@ AssessmentAttemptCreated:
- id: c4
text: "500"
practices: []
AssessmentCorrectiveAttemptCreated:
summary: Corrective attempt shares the root chain deadline
value:
id: 01928f7e-8888-7a2b-8c3d-4e5f6a7b8c9d
version: 1
kind: corrective
specialization: backend
target_grade: junior
task_language: go
root_attempt_id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
chain_deadline: "2026-11-23T09:00:00Z"
mode: adaptive
state: in_progress
versions:
policy_version: 2
bank_version: backend.2026-11.3
algorithm_version: irt-1pl-eap.1
started_at: "2026-11-22T10:00:00Z"
expires_at: "2026-11-23T09:00:00Z"
sessions:
used: 1
max: 2
idle_timeout_seconds: 1800
finished_at: null
progress:
answered_items: 0
max_items: 25
current_item:
id: 01928f7e-9999-7a2b-8c3d-4e5f6a7b8c01
sequence: 1
prompt: "What does an HTTP 412 response indicate for expected_version?"
content:
format: choice
multiple: false
options:
- id: a1
text: The version is stale.
- id: b2
text: The request is malformed.
practices: []
AssessmentExpressAttemptCreated:
summary: Short training attempt without a qualification category
value:
id: 01928f7f-9999-7a2b-8c3d-4e5f6a7b8c01
version: 1
kind: demo_express
specialization: null
target_grade: null
task_language: null
root_attempt_id: null
chain_deadline: null
mode: demo_express
state: in_progress
versions:
policy_version: 1
bank_version: express-demo.2026-10.1
algorithm_version: express-interactive.1
started_at: "2026-10-08T10:00:00Z"
expires_at: "2026-10-08T10:05:00Z"
sessions:
used: 1
max: 1
idle_timeout_seconds: 300
finished_at: null
progress:
answered_items: 0
max_items: 5
current_item:
id: 01928f7f-aaaa-7a2b-8c3d-4e5f6a7b8c01
sequence: 1
prompt: "Choose the status code that signals a version conflict."
content:
format: choice
multiple: false
options:
- id: c3
text: "412"
- id: d4
text: "200"
practices: []
AssessmentAnswerAccepted:
summary: Answer to item 1 stored; item 2 follows
description: >-
@@ -572,9 +656,12 @@ AssessmentAnswerAccepted:
value:
id: 01928f7a-3c4d-7e5f-8a9b-0c1d2e3f4a5b
version: 2
kind: root
specialization: backend
target_grade: junior
task_language: go
root_attempt_id: null
chain_deadline: null
mode: demo_basic
state: in_progress
versions:
@@ -612,9 +699,12 @@ AssessmentAttemptCompleted:
value:
id: 01928f7a-3c4d-7e5f-8a9b-0c1d2e3f4a5b
version: 14
kind: root
specialization: backend
target_grade: junior
task_language: go
root_attempt_id: null
chain_deadline: null
mode: demo_basic
state: completed
versions:
@@ -643,9 +733,12 @@ AssessmentAttemptResumed:
value:
id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
version: 7
kind: root
specialization: backend
target_grade: middle
task_language: python
root_attempt_id: null
chain_deadline: null
mode: adaptive
state: in_progress
versions:
@@ -701,9 +794,12 @@ AssessmentAttemptPracticePending:
value:
id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
version: 16
kind: root
specialization: backend
target_grade: middle
task_language: python
root_attempt_id: null
chain_deadline: null
mode: adaptive
state: practice_pending
versions:
@@ -743,9 +839,12 @@ AssessmentAttemptPracticeVerdictPending:
value:
id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
version: 17
kind: root
specialization: backend
target_grade: middle
task_language: python
root_attempt_id: null
chain_deadline: null
mode: adaptive
state: practice_pending
versions:
@@ -779,9 +878,12 @@ AssessmentAttemptSandboxFailed:
value:
id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
version: 18
kind: root
specialization: backend
target_grade: middle
task_language: python
root_attempt_id: null
chain_deadline: null
mode: adaptive
state: practice_pending
versions:
@@ -821,9 +923,12 @@ AssessmentAttemptReadyToFinalize:
value:
id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
version: 20
kind: root
specialization: backend
target_grade: middle
task_language: python
root_attempt_id: null
chain_deadline: null
mode: adaptive
state: ready_to_finalize
versions:
@@ -870,9 +975,12 @@ AssessmentAttemptAdditionalPracticePending:
value:
id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
version: 21
kind: root
specialization: backend
target_grade: middle
task_language: python
root_attempt_id: null
chain_deadline: null
mode: adaptive
state: additional_practice_pending
versions:
@@ -932,9 +1040,12 @@ AssessmentAttemptInsufficientBank:
value:
id: 01928f7c-5555-7a2b-8c3d-4e5f6a7b8c9d
version: 10
kind: root
specialization: network_engineer
target_grade: middle
task_language: null
root_attempt_id: null
chain_deadline: null
mode: adaptive
state: insufficient_bank
versions:
@@ -1048,6 +1159,9 @@ AssessmentDemoBasicResult:
attempt_id: 01928f7a-3c4d-7e5f-8a9b-0c1d2e3f4a5b
specialization: backend
target_grade: junior
kind: root
root_attempt_id: null
chain_deadline: null
task_language: go
mode: demo_basic
versions:
@@ -1090,6 +1204,9 @@ AssessmentAdaptiveResult:
attempt_id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
specialization: backend
target_grade: middle
kind: root
root_attempt_id: null
chain_deadline: null
task_language: python
mode: adaptive
versions:
@@ -1157,6 +1274,9 @@ AssessmentNotConfirmedResult:
attempt_id: 01928f7d-7777-7a2b-8c3d-4e5f6a7b8c9d
specialization: backend
target_grade: middle
kind: root
root_attempt_id: null
chain_deadline: null
task_language: go
mode: adaptive
versions:
@@ -1224,6 +1344,9 @@ AssessmentInsufficientBankResult:
attempt_id: 01928f7c-5555-7a2b-8c3d-4e5f6a7b8c9d
specialization: network_engineer
target_grade: middle
kind: root
root_attempt_id: null
chain_deadline: null
task_language: null
mode: adaptive
versions:
@@ -1246,6 +1369,73 @@ AssessmentInsufficientBankResult:
practice_seconds: null
next_steps: []
decided_at: "2026-11-21T12:31:00Z"
AssessmentCorrectiveResult:
summary: Corrective result retains its root and fixed deadline
value:
attempt_id: 01928f7e-8888-7a2b-8c3d-4e5f6a7b8c9d
specialization: backend
target_grade: middle
kind: corrective
root_attempt_id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
chain_deadline: "2026-11-23T09:00:00Z"
task_language: go
mode: adaptive
versions:
policy_version: 2
bank_version: backend.2026-11.3
algorithm_version: irt-1pl-eap.1
outcome: not_confirmed
not_determined_reason: null
confirmed_grade: null
previous_confirmed_grade: junior
strength: null
calibration_status: uncalibrated
limitations: [uncalibrated_thresholds, unproctored]
uncertainty:
theta: 0.21
standard_error: 0.25
interval_95:
low: -0.28
high: 0.70
p_grade: 0.62
basic_score: null
practices: []
gaps: []
durations:
items_seconds: 1500
practice_seconds: 900
next_steps: []
decided_at: "2026-11-22T11:00:00Z"
AssessmentExpressResult:
summary: Short training result with no qualification evidence
value:
attempt_id: 01928f7f-9999-7a2b-8c3d-4e5f6a7b8c9d
specialization: null
target_grade: null
task_language: null
kind: demo_express
mode: demo_express
versions:
policy_version: 1
bank_version: express-demo.2026-10.1
algorithm_version: express-interactive.1
outcome: demonstration
not_determined_reason: null
confirmed_grade: null
previous_confirmed_grade: null
strength: null
calibration_status: uncalibrated
limitations: [demonstration_only]
uncertainty: null
basic_score: null
practices: []
gaps: []
durations:
items_seconds: 260
practice_seconds: null
next_steps: []
summary: The run demonstrates the task flow and creates no qualification evidence.
decided_at: "2026-11-22T11:00:00Z"
AssessmentSpecializationNotInQuestionnaire:
summary: The specialization is not in the questionnaire
value:
+410 -22
View File
@@ -33,23 +33,39 @@ CandidateHandle:
- cand_7Qm2xVb9Lr4Kp0Zt
AssessmentMode:
type: string
description: 'Measurement method of an attempt. The server selects it from the published task bank of the category; the client never chooses it.
description: 'Method of an assessment attempt. For a real assessment, the server selects demo_basic or adaptive from the published bank. A candidate may explicitly request demo_express, which uses a separate training policy and creates no qualification evidence.
- demo_basic: a fixed form of reviewed demo items scored by their keys against the pass mark of the versioned basic grading policy. It computes no ability estimate, standard error, or probability, so every uncertainty field of its result is null, its thresholds are uncalibrated, and its decision is binary: it never offers an additional practice.
- adaptive: the adaptive test on task families with an ability estimate, its standard error, and the probability of reaching the grade threshold, as the versioned assessment policy defines them. A probability in the band below confirmation offers one additional practice in the same attempt.
- demo_express: an interactive 3 to 5 minute training run under a separate policy. It does not assign a category or percentile, count toward the real-assessment quota, or create qualification evidence.
Adding a value is a contract change.'
enum:
- demo_basic
- demo_express
- adaptive
AssessmentRealMode:
type: string
description: Server-selected mode available to a real category assessment.
enum:
- demo_basic
- adaptive
AssessmentAttemptKind:
type: string
description: Assessment track that distinguishes root, corrective, and training attempts.
enum:
- root
- corrective
- demo_express
AssessmentAttemptVersion:
type: integer
format: int64
minimum: 1
description: 'Version of an assessment attempt. A new attempt has version 1, and each committed change advances it by exactly one: an accepted answer, a practice submission or resubmission, a verdict, a decision of finalize, a session start, and a server-side transition such as expiry or automatic finalization. A transition that the server applies when the attempt is read is committed before the response and also advances it. A rejected command and a repeat that stores nothing leave it unchanged. Commands send the version they read as `expected_version`.'
description: 'Version of an assessment attempt. A new attempt has version 1, and each committed change advances it by exactly one: an accepted answer, a practice submission or resubmission, a verdict, a decision of finalize, an explicit work-session start, and a server-side transition such as expiry or automatic finalization. Reads never change the attempt. A rejected command and a repeat that stores nothing leave it unchanged. Commands send the version they read as `expected_version`.'
examples:
- 4
AssessmentAttemptState:
@@ -72,7 +88,7 @@ AssessmentAttemptState:
- insufficient_bank: the published bank could not supply the items required for coverage within the limit, and the attempt ended without a confirmed grade instead of repeating families. The result is available.
When `expires_at` passes or the session limit is reached, a practice submitted before that and still `pending` is graded first. Then the server decides without another command: `ready_to_finalize` is finalized and becomes `completed`; `additional_practice_pending` with the additional practice not submitted is finalized as declined and becomes `completed` with `not_confirmed`; `in_progress` and `practice_pending` become `expired`, with the result reason `expired` or `practice_incomplete`; and when the latest submission of a practice ended `failed`, the attempt becomes `expired` with the reason `sandbox_unavailable`, which is not the candidate''s fault. `completed`, `expired`, and `insufficient_bank` are terminal and accept no command except the repeat of finalize described on FinalizeMyAssessmentAttempt. Adding a value is a contract change.'
When `expires_at` passes or the session limit is reached, a read returns the stored state without changing it. A command or background transition commits any due outcome and advances the version. A practice submitted before the limit and still `pending` is graded first. Then `ready_to_finalize` becomes `completed`; `additional_practice_pending` with the additional practice not submitted is finalized as declined and becomes `completed` with `not_confirmed`; `in_progress` and `practice_pending` become `expired`, with the result reason `expired` or `practice_incomplete`; and when the latest submission of a practice ended `failed`, the attempt becomes `expired` with the reason `sandbox_unavailable`, which is not the candidate''s fault. `completed`, `expired`, and `insufficient_bank` are terminal and accept no command except the repeat of finalize described on FinalizeMyAssessmentAttempt. Adding a value is a contract change.'
enum:
- in_progress
- practice_pending
@@ -110,7 +126,7 @@ AssessmentSessions:
description: 'Work sessions of the attempt, as the policy version limits them, for example two sessions within the time limit.
A session starts with the creation of the attempt or, after the previous session ended, with the next GetMyAssessmentAttempt or command on the active attempt. It ends after `idle_timeout_seconds` without such a request. A request that would start a session beyond `max_sessions` starts none: the server moves the attempt to `expired` and answers with it (a read) or with 409 state_conflict (a command). Reading a terminal attempt or a result never starts a session.'
Session 1 starts with attempt creation. After it ends due to `idle_timeout_seconds` of inactivity, the candidate explicitly starts or resumes work with StartMyAssessmentAttemptSession. GetMyAssessmentAttempt and GetMyAssessmentResult are read-only and never start a session. The session command checks the attempt deadline and `max_sessions`; when either limit has passed, it records the due terminal transition and returns the resulting attempt. Reads of terminal attempts do not change them.'
additionalProperties: false
required:
- used
@@ -135,14 +151,32 @@ AssessmentSessions:
maximum: 86400
description: Inactivity after which the current session ends.
AssessmentAttemptCreate:
description: Start a real assessment, a corrective attempt in an existing chain, or an explicit training run. The required `kind` discriminator selects one of the three request shapes; `mode` remains server-selected for real assessments.
oneOf:
- $ref: '#/AssessmentQualifiedAttemptCreate'
- $ref: '#/AssessmentCorrectiveAttemptCreate'
- $ref: '#/AssessmentExpressAttemptCreate'
discriminator:
propertyName: kind
mapping:
root: '#/AssessmentQualifiedAttemptCreate'
corrective: '#/AssessmentCorrectiveAttemptCreate'
demo_express: '#/AssessmentExpressAttemptCreate'
AssessmentQualifiedAttemptCreate:
type: object
description: 'Category to assess: a specialization and the target grade, with the task language. The candidate comes from the session. The mode and versions are chosen by the server; unknown fields such as `mode`, `seed`, or `score` are rejected.'
description: Start a real assessment for a specialization and target grade, with the task language. The candidate comes from the session. The server chooses demo_basic or adaptive and fixes the policy, bank, and algorithm versions. Unknown fields such as `mode`, `seed`, or `score` are rejected.
additionalProperties: false
required:
- kind
- specialization
- target_grade
- task_language
properties:
kind:
type: string
enum:
- root
description: Start a real-assessment chain and reserve one root quota slot.
specialization:
$ref: '#/SpecializationCode'
target_grade:
@@ -152,6 +186,56 @@ AssessmentAttemptCreate:
oneOf:
- $ref: '#/TaskLanguage'
- type: 'null'
AssessmentCorrectiveAttemptCreate:
type: object
description: Start a corrective real assessment at a lower target grade in the chain rooted at root_attempt_id. The server validates that this grade is strictly below the preceding grade and that the chain remains within its existing deadline and quota. chain_deadline is derived from the root attempt and is never supplied by the client.
additionalProperties: false
required:
- kind
- specialization
- target_grade
- task_language
- root_attempt_id
properties:
kind:
type: string
enum:
- corrective
description: Continue the existing real-assessment chain without reserving another root slot.
specialization:
$ref: '#/SpecializationCode'
target_grade:
$ref: '#/GradeCode'
task_language:
description: Task language of the attempt, or null when the bank offers no choice.
oneOf:
- $ref: '#/TaskLanguage'
- type: 'null'
root_attempt_id:
type: string
format: uuid
description: Root real-assessment attempt whose quota and deadline this attempt shares.
AssessmentExpressAttemptCreate:
type: object
description: Explicitly start the short training run. It has no specialization or target grade, uses its separate demo policy, and does not consume a real-assessment attempt.
additionalProperties: false
required:
- kind
properties:
kind:
type: string
enum:
- demo_express
description: Explicitly request the training run; real modes cannot be selected by the client.
AssessmentAttemptSessionStart:
type: object
description: Start or resume a work session using the attempt version last read by the candidate.
additionalProperties: false
required:
- expected_version
properties:
expected_version:
$ref: '#/AssessmentAttemptVersion'
AssessmentItemId:
type: string
format: uuid
@@ -547,8 +631,20 @@ AssessmentPractice:
- $ref: '#/PracticeFailureReason'
- type: 'null'
AssessmentAttempt:
description: Candidate view of a real assessment, a corrective real assessment, or a demo_express training run. The variants keep training output separate from qualification attempts.
oneOf:
- $ref: '#/AssessmentQualifiedAttempt'
- $ref: '#/AssessmentCorrectiveAttempt'
- $ref: '#/AssessmentExpressAttempt'
discriminator:
propertyName: kind
mapping:
root: '#/AssessmentQualifiedAttempt'
corrective: '#/AssessmentCorrectiveAttempt'
demo_express: '#/AssessmentExpressAttempt'
AssessmentAttemptCommon:
type: object
description: Assessment attempt of the current candidate for one category, a specialization and a target grade. It shows the state, the fixed versions, the server deadline `expires_at` from the policy version, which the client clock never extends, the session limit, the progress, the item to answer now, and the practices. It never contains answer keys, the correctness of submitted answers, scores of single items, family or variant identifiers, seeds, hidden checks, or anti-cheat signals.
description: Common state of an assessment attempt. Real assessments have a specialization and target grade; demo_express has neither. The attempt shows its fixed versions, server deadlines, session limit, progress, current item, and practices. It never contains answer keys, answer correctness, item scores, family or variant identifiers, seeds, hidden checks, or anti-cheat signals.
additionalProperties: false
required:
- id
@@ -556,6 +652,7 @@ AssessmentAttempt:
- specialization
- target_grade
- task_language
- kind
- mode
- state
- versions
@@ -574,14 +671,35 @@ AssessmentAttempt:
version:
$ref: '#/AssessmentAttemptVersion'
specialization:
$ref: '#/SpecializationCode'
description: Null only for demo_express, which has no qualification category.
oneOf:
- $ref: '#/SpecializationCode'
- type: 'null'
target_grade:
$ref: '#/GradeCode'
description: Null only for demo_express, which has no qualification category.
oneOf:
- $ref: '#/GradeCode'
- type: 'null'
task_language:
description: Task language of the attempt, or null when the bank offers no choice.
description: Task language of the attempt, or null when none is selected.
oneOf:
- $ref: '#/TaskLanguage'
- type: 'null'
kind:
$ref: '#/AssessmentAttemptKind'
root_attempt_id:
description: Present only for a corrective real assessment. It identifies the root attempt whose quota and chain deadline this attempt shares.
oneOf:
- type: string
format: uuid
- type: 'null'
readOnly: true
chain_deadline:
description: Present only for a corrective real assessment. It is the immutable deadline derived from the root attempt and is not extended by a lower target grade.
oneOf:
- $ref: '#/Timestamp'
- type: 'null'
readOnly: true
mode:
$ref: '#/AssessmentMode'
state:
@@ -591,9 +709,10 @@ AssessmentAttempt:
started_at:
$ref: '#/Timestamp'
expires_at:
description: Server deadline. For demo_express it is 180 to 300 seconds after started_at; for a corrective assessment it does not exceed chain_deadline.
$ref: '#/Timestamp'
sessions:
description: Session limit of the attempt, or null when its policy version defines none.
description: Session limit of the attempt, or null when its policy defines none.
oneOf:
- $ref: '#/AssessmentSessions'
- type: 'null'
@@ -612,9 +731,103 @@ AssessmentAttempt:
practices:
type: array
maxItems: 5
description: 'Practices in the order they were assigned: the `main` practice first, then an `additional` practice once finalize offers it. Empty only for a demo_basic attempt while code practice is disabled until the sandbox isolation is verified; its result then lists the `practice_not_included` limitation. A list rather than one field leaves room for more practices without a breaking change.'
description: Practices in the order assigned by the mode policy. The list exposes verdicts only after submission.
items:
$ref: '#/AssessmentPractice'
AssessmentQualifiedAttempt:
allOf:
- $ref: '#/AssessmentAttemptCommon'
- type: object
properties:
kind:
type: string
enum:
- root
mode:
type: string
enum:
- demo_basic
- adaptive
specialization:
$ref: '#/SpecializationCode'
target_grade:
$ref: '#/GradeCode'
root_attempt_id:
type: 'null'
description: Root attempts have no parent attempt.
chain_deadline:
type: 'null'
description: A root attempt has no correction-chain deadline.
required:
- kind
- mode
- specialization
- target_grade
- root_attempt_id
- chain_deadline
AssessmentCorrectiveAttempt:
allOf:
- $ref: '#/AssessmentAttemptCommon'
- type: object
properties:
kind:
type: string
enum:
- corrective
mode:
type: string
enum:
- demo_basic
- adaptive
specialization:
$ref: '#/SpecializationCode'
target_grade:
$ref: '#/GradeCode'
root_attempt_id:
type: string
format: uuid
readOnly: true
chain_deadline:
$ref: '#/Timestamp'
readOnly: true
required:
- kind
- mode
- specialization
- target_grade
- root_attempt_id
- chain_deadline
AssessmentExpressAttempt:
allOf:
- $ref: '#/AssessmentAttemptCommon'
- type: object
properties:
kind:
type: string
enum:
- demo_express
mode:
type: string
enum:
- demo_express
specialization:
type: 'null'
target_grade:
type: 'null'
task_language:
type: 'null'
root_attempt_id:
type: 'null'
chain_deadline:
type: 'null'
required:
- kind
- mode
- specialization
- target_grade
- task_language
- root_attempt_id
- chain_deadline
ChoiceAnswer:
type: object
description: 'Selected options of a choice item: exactly one unless the item allows several. Two answers are equal when they select the same set of options, in any order.'
@@ -797,16 +1010,16 @@ AssessmentOutcome:
- not_determined
AssessmentNotDeterminedReason:
type: string
description: 'Why an attempt gives no decision, and whether it counts against the retry rules.
description: 'Why an attempt gives no decision. One root quota slot is reserved when a real root attempt starts; corrective checks in its chain do not reserve another slot.
- expired: the time or session limit passed before the candidate finished the item part. It is the candidate''s attempt: it counts toward the attempt limit and starts the same-grade retry interval.
- expired: the time or session limit passed before the candidate finished the item part. Retry timing follows the recorded policy; a correction uses the existing root slot and does not reset the chain deadline or 30/90-day timers.
- practice_incomplete: the item part was done, but the candidate did not submit the main practice before the limit. It counts like `expired`.
- practice_incomplete: the item part was done, but the candidate did not submit the main practice before the limit. Retry timing follows the recorded policy; a correction uses the existing root slot and does not reset the chain deadline or 30/90-day timers.
- insufficient_bank: the bank could not supply the required coverage within the limit. It is a platform limitation: it never counts toward the attempt limit and starts no retry interval.
- insufficient_bank: the bank could not supply required coverage. A preflight refusal creates no attempt or root slot; a bank failure in an existing chain does not create a free new chain or another root slot.
- sandbox_unavailable: the latest submission of a required or additional practice ended `failed` because of the sandbox infrastructure, and the limit passed before a verdict. It is a platform fault: it never counts toward the attempt limit and starts no retry interval.'
- sandbox_unavailable: the latest submission of a required or additional practice ended `failed` because of the sandbox infrastructure, and the limit passed before a verdict. It is a platform fault and does not create a new root slot or a free chain.'
enum:
- expired
- practice_incomplete
@@ -826,7 +1039,7 @@ CalibrationStatus:
- calibrated
AssessmentLimitation:
type: string
description: 'Known limitation of the method behind a result, shown with the result.
description: 'Known limitation of the method behind a real-assessment result, shown with the result.
- uncalibrated_thresholds: the thresholds are not yet validated on a pilot.
@@ -837,7 +1050,6 @@ AssessmentLimitation:
- unproctored: the attempt was taken online without supervision.
Adding a value is a contract change.'
enum:
- uncalibrated_thresholds
@@ -990,14 +1202,27 @@ AssessmentNextStep:
- $ref: '#/Timestamp'
- type: 'null'
AssessmentResult:
description: Immutable result of a terminal assessment attempt. The result shape distinguishes real grade decisions from demo_express training output.
oneOf:
- $ref: '#/AssessmentQualifiedResult'
- $ref: '#/AssessmentCorrectiveResult'
- $ref: '#/AssessmentExpressResult'
discriminator:
propertyName: kind
mapping:
root: '#/AssessmentQualifiedResult'
corrective: '#/AssessmentCorrectiveResult'
demo_express: '#/AssessmentExpressResult'
AssessmentRealResultCommon:
type: object
description: 'Immutable result of a terminal attempt, visible only to its candidate. It records the method, the versions, the decision, its uncertainty, and its limitations; a later policy, bank, or algorithm version never changes it. It never contains answers, per-item correctness, answer keys, seeds, hidden checks, or anti-cheat signals. Fields that the method does not compute are null, never zero: demo_basic has null `uncertainty` and `strength`, and adaptive has null `basic_score`.'
description: Immutable result of a real assessment, visible only to its candidate. It records the method, versions, decision, uncertainty, and limitations. A corrective result also carries root_attempt_id and chain_deadline from the same chain. Later policy, bank, or algorithm versions never change it. It never contains answers, per-item correctness, keys, seeds, hidden checks, or anti-cheat signals. Fields the method does not compute are null, never zero.
additionalProperties: false
required:
- attempt_id
- specialization
- target_grade
- task_language
- kind
- mode
- versions
- outcome
@@ -1022,12 +1247,33 @@ AssessmentResult:
$ref: '#/SpecializationCode'
target_grade:
$ref: '#/GradeCode'
root_attempt_id:
description: Root attempt of a corrective check, or null when this is not a corrective result. The corrective attempt keeps this link.
oneOf:
- type: string
format: uuid
- type: 'null'
readOnly: true
chain_deadline:
description: Immutable deadline shared by a corrective chain, or null when this result is not from a corrective check.
oneOf:
- $ref: '#/Timestamp'
- type: 'null'
readOnly: true
task_language:
oneOf:
- $ref: '#/TaskLanguage'
- type: 'null'
kind:
type: string
enum:
- root
- corrective
mode:
$ref: '#/AssessmentMode'
type: string
enum:
- demo_basic
- adaptive
versions:
$ref: '#/AssessmentVersions'
outcome:
@@ -1091,6 +1337,148 @@ AssessmentResult:
$ref: '#/AssessmentNextStep'
decided_at:
$ref: '#/Timestamp'
AssessmentQualifiedResult:
description: Result of a real assessment that is not a corrective attempt. The correction-chain fields are explicitly null.
allOf:
- $ref: '#/AssessmentRealResultCommon'
- type: object
properties:
kind:
type: string
enum:
- root
root_attempt_id:
type: 'null'
chain_deadline:
type: 'null'
required:
- kind
- root_attempt_id
- chain_deadline
AssessmentCorrectiveResult:
description: Result of a corrective real assessment. Both chain fields are present and identify the same immutable correction chain.
allOf:
- $ref: '#/AssessmentRealResultCommon'
- type: object
properties:
kind:
type: string
enum:
- corrective
root_attempt_id:
type: string
format: uuid
readOnly: true
chain_deadline:
$ref: '#/Timestamp'
readOnly: true
required:
- kind
- root_attempt_id
- chain_deadline
AssessmentExpressResult:
type: object
description: Immutable educational result of a demo_express run. It includes a short summary but cannot report a category, percentile, uncertainty, grade, strength, or qualification evidence. The result belongs only to the training mode and does not consume a real-assessment quota.
additionalProperties: false
required:
- attempt_id
- specialization
- target_grade
- task_language
- kind
- mode
- versions
- outcome
- not_determined_reason
- confirmed_grade
- previous_confirmed_grade
- strength
- calibration_status
- limitations
- uncertainty
- basic_score
- practices
- gaps
- durations
- next_steps
- summary
- decided_at
properties:
attempt_id:
type: string
format: uuid
specialization:
type: 'null'
description: Express training does not assess a specialization.
target_grade:
type: 'null'
description: Express training does not assess a target grade.
task_language:
type: 'null'
kind:
type: string
enum:
- demo_express
mode:
type: string
enum:
- demo_express
versions:
$ref: '#/AssessmentVersions'
outcome:
type: string
enum:
- demonstration
not_determined_reason:
type: 'null'
confirmed_grade:
type: 'null'
description: Express training never confirms a grade.
previous_confirmed_grade:
type: 'null'
strength:
type: 'null'
calibration_status:
type: string
enum:
- uncalibrated
limitations:
type: array
minItems: 1
maxItems: 1
items:
type: string
enum:
- demonstration_only
uncertainty:
type: 'null'
description: Express training computes no ability estimate or percentile.
basic_score:
type: 'null'
practices:
type: array
maxItems: 0
items:
$ref: '#/AssessmentPracticeResult'
gaps:
type: array
maxItems: 0
items:
$ref: '#/AssessmentGap'
durations:
$ref: '#/AssessmentDurations'
next_steps:
type: array
maxItems: 0
items:
$ref: '#/AssessmentNextStep'
summary:
type: string
minLength: 1
maxLength: 2000
description: Short educational feedback about this training run.
decided_at:
$ref: '#/Timestamp'
AssessmentGradeAvailabilityStatus:
type: string
description: 'Whether an attempt for the grade can start now.
@@ -1127,9 +1515,9 @@ AssessmentGradeAvailability:
status:
$ref: '#/AssessmentGradeAvailabilityStatus'
mode:
description: Mode that an attempt would use, or null when the status is `insufficient_bank`.
description: Real-assessment mode that the server would use, or null when the status is `insufficient_bank`. `demo_express` is not a category assessment and is never returned here.
oneOf:
- $ref: '#/AssessmentMode'
- $ref: '#/AssessmentRealMode'
- type: 'null'
available_at:
description: When the status is `cooldown`, the first time the attempt can start; otherwise null.
@@ -2,15 +2,30 @@ schemas:
AssessmentMode:
type: string
description: |-
Measurement method of an attempt. The server selects it from the published task bank of the category; the client never chooses it.
Method of an assessment attempt. For a real assessment, the server selects demo_basic or adaptive from the published bank. A candidate may explicitly request demo_express, which uses a separate training policy and creates no qualification evidence.
- demo_basic: a fixed form of reviewed demo items scored by their keys against the pass mark of the versioned basic grading policy. It computes no ability estimate, standard error, or probability, so every uncertainty field of its result is null, its thresholds are uncalibrated, and its decision is binary: it never offers an additional practice.
- adaptive: the adaptive test on task families with an ability estimate, its standard error, and the probability of reaching the grade threshold, as the versioned assessment policy defines them. A probability in the band below confirmation offers one additional practice in the same attempt.
- demo_express: an interactive 3 to 5 minute training run under a separate policy. It does not assign a category or percentile, count toward the real-assessment quota, or create qualification evidence.
Adding a value is a contract change.
enum:
- demo_basic
- demo_express
- adaptive
AssessmentRealMode:
type: string
description: Server-selected mode available to a real category assessment.
enum:
- demo_basic
- adaptive
AssessmentAttemptKind:
type: string
description: Assessment track that distinguishes root, corrective, and training attempts.
enum:
- root
- corrective
- demo_express
AssessmentAttemptVersion:
type: integer
format: int64
@@ -19,12 +34,10 @@ schemas:
Version of an assessment attempt. A new attempt has version 1, and each
committed change advances it by exactly one: an accepted answer, a
practice submission or resubmission, a verdict, a decision of
finalize, a session start, and a server-side transition such as
expiry or automatic finalization. A transition that the server applies
when the attempt is read is committed before the response and also
advances it. A rejected command and a repeat that stores nothing leave
it unchanged. Commands send the version they read as
`expected_version`.
finalize, an explicit work-session start, and a server-side transition
such as expiry or automatic finalization. Reads never change the
attempt. A rejected command and a repeat that stores nothing leave it
unchanged. Commands send the version they read as `expected_version`.
examples:
- 4
AssessmentAttemptState:
@@ -40,7 +53,7 @@ schemas:
- expired: the time or session limit passed before the candidate finished the required parts. The result is available and confirms no grade.
- insufficient_bank: the published bank could not supply the items required for coverage within the limit, and the attempt ended without a confirmed grade instead of repeating families. The result is available.
When `expires_at` passes or the session limit is reached, a practice submitted before that and still `pending` is graded first. Then the server decides without another command: `ready_to_finalize` is finalized and becomes `completed`; `additional_practice_pending` with the additional practice not submitted is finalized as declined and becomes `completed` with `not_confirmed`; `in_progress` and `practice_pending` become `expired`, with the result reason `expired` or `practice_incomplete`; and when the latest submission of a practice ended `failed`, the attempt becomes `expired` with the reason `sandbox_unavailable`, which is not the candidate's fault. `completed`, `expired`, and `insufficient_bank` are terminal and accept no command except the repeat of finalize described on FinalizeMyAssessmentAttempt. Adding a value is a contract change.
When `expires_at` passes or the session limit is reached, a read returns the stored state without changing it. A command or background transition commits any due outcome and advances the version. A practice submitted before the limit and still `pending` is graded first. Then `ready_to_finalize` becomes `completed`; `additional_practice_pending` with the additional practice not submitted is finalized as declined and becomes `completed` with `not_confirmed`; `in_progress` and `practice_pending` become `expired`, with the result reason `expired` or `practice_incomplete`; and when the latest submission of a practice ended `failed`, the attempt becomes `expired` with the reason `sandbox_unavailable`, which is not the candidate's fault. `completed`, `expired`, and `insufficient_bank` are terminal and accept no command except the repeat of finalize described on FinalizeMyAssessmentAttempt. Adding a value is a contract change.
enum:
- in_progress
- practice_pending
@@ -87,7 +100,7 @@ schemas:
description: |-
Work sessions of the attempt, as the policy version limits them, for example two sessions within the time limit.
A session starts with the creation of the attempt or, after the previous session ended, with the next GetMyAssessmentAttempt or command on the active attempt. It ends after `idle_timeout_seconds` without such a request. A request that would start a session beyond `max_sessions` starts none: the server moves the attempt to `expired` and answers with it (a read) or with 409 state_conflict (a command). Reading a terminal attempt or a result never starts a session.
Session 1 starts with attempt creation. After it ends due to `idle_timeout_seconds` of inactivity, the candidate explicitly starts or resumes work with StartMyAssessmentAttemptSession. GetMyAssessmentAttempt and GetMyAssessmentResult are read-only and never start a session. The session command checks the attempt deadline and `max_sessions`; when either limit has passed, it records the due terminal transition and returns the resulting attempt. Reads of terminal attempts do not change them.
additionalProperties: false
required:
- used
@@ -112,18 +125,41 @@ schemas:
maximum: 86400
description: Inactivity after which the current session ends.
AssessmentAttemptCreate:
description: >-
Start a real assessment, a corrective attempt in an existing chain, or
an explicit training run. The required `kind` discriminator selects
one of the three request shapes; `mode` remains server-selected for
real assessments.
oneOf:
- $ref: "#/schemas/AssessmentQualifiedAttemptCreate"
- $ref: "#/schemas/AssessmentCorrectiveAttemptCreate"
- $ref: "#/schemas/AssessmentExpressAttemptCreate"
discriminator:
propertyName: kind
mapping:
root: "#/schemas/AssessmentQualifiedAttemptCreate"
corrective: "#/schemas/AssessmentCorrectiveAttemptCreate"
demo_express: "#/schemas/AssessmentExpressAttemptCreate"
AssessmentQualifiedAttemptCreate:
type: object
description: >-
Category to assess: a specialization and the target grade, with the
task language. The candidate comes from the session. The mode and
versions are chosen by the server; unknown fields such as `mode`,
`seed`, or `score` are rejected.
Start a real assessment for a specialization and target grade, with
the task language. The candidate comes from the session. The server
chooses demo_basic or adaptive and fixes the policy, bank, and
algorithm versions. Unknown fields such as `mode`, `seed`,
or `score` are rejected.
additionalProperties: false
required:
- kind
- specialization
- target_grade
- task_language
properties:
kind:
type: string
enum:
- root
description: Start a real-assessment chain and reserve one root quota slot.
specialization:
$ref: "./catalog_schemas.yml#/schemas/SpecializationCode"
target_grade:
@@ -137,6 +173,64 @@ schemas:
oneOf:
- $ref: "./catalog_schemas.yml#/schemas/TaskLanguage"
- type: "null"
AssessmentCorrectiveAttemptCreate:
type: object
description: >-
Start a corrective real assessment at a lower target grade in the
chain rooted at root_attempt_id. The server validates that this grade
is strictly below the preceding grade and that the chain remains
within its existing deadline and quota. chain_deadline is derived
from the root attempt and is never supplied by the client.
additionalProperties: false
required:
- kind
- specialization
- target_grade
- task_language
- root_attempt_id
properties:
kind:
type: string
enum:
- corrective
description: Continue the existing real-assessment chain without reserving another root slot.
specialization:
$ref: "./catalog_schemas.yml#/schemas/SpecializationCode"
target_grade:
$ref: "./catalog_schemas.yml#/schemas/GradeCode"
task_language:
description: Task language of the attempt, or null when the bank offers no choice.
oneOf:
- $ref: "./catalog_schemas.yml#/schemas/TaskLanguage"
- type: "null"
root_attempt_id:
type: string
format: uuid
description: Root real-assessment attempt whose quota and deadline this attempt shares.
AssessmentExpressAttemptCreate:
type: object
description: >-
Explicitly start the short training run. It has no specialization or
target grade, uses its separate demo policy, and does not consume a
real-assessment attempt.
additionalProperties: false
required:
- kind
properties:
kind:
type: string
enum:
- demo_express
description: Explicitly request the training run; real modes cannot be selected by the client.
AssessmentAttemptSessionStart:
type: object
description: Start or resume a work session using the attempt version last read by the candidate.
additionalProperties: false
required:
- expected_version
properties:
expected_version:
$ref: "#/schemas/AssessmentAttemptVersion"
AssessmentItemId:
type: string
format: uuid
@@ -593,16 +687,29 @@ schemas:
- $ref: "#/schemas/PracticeFailureReason"
- type: "null"
AssessmentAttempt:
description: >-
Candidate view of a real assessment, a corrective real assessment, or
a demo_express training run. The variants keep training output separate
from qualification attempts.
oneOf:
- $ref: "#/schemas/AssessmentQualifiedAttempt"
- $ref: "#/schemas/AssessmentCorrectiveAttempt"
- $ref: "#/schemas/AssessmentExpressAttempt"
discriminator:
propertyName: kind
mapping:
root: "#/schemas/AssessmentQualifiedAttempt"
corrective: "#/schemas/AssessmentCorrectiveAttempt"
demo_express: "#/schemas/AssessmentExpressAttempt"
AssessmentAttemptCommon:
type: object
description: >-
Assessment attempt of the current candidate for one category, a
specialization and a target grade. It shows the state, the fixed
versions, the server deadline `expires_at` from the policy version,
which the client clock never extends, the session limit, the
progress, the item
to answer now, and the practices. It never contains answer keys, the
correctness of submitted answers, scores of single items, family or
variant identifiers, seeds, hidden checks, or anti-cheat signals.
Common state of an assessment attempt. Real assessments have a
specialization and target grade; demo_express has neither. The
attempt shows its fixed versions, server deadlines, session limit,
progress, current item, and practices. It never contains answer keys,
answer correctness, item scores, family or variant identifiers,
seeds, hidden checks, or anti-cheat signals.
additionalProperties: false
required:
- id
@@ -610,6 +717,7 @@ schemas:
- specialization
- target_grade
- task_language
- kind
- mode
- state
- versions
@@ -628,14 +736,40 @@ schemas:
version:
$ref: "#/schemas/AssessmentAttemptVersion"
specialization:
$ref: "./catalog_schemas.yml#/schemas/SpecializationCode"
description: Null only for demo_express, which has no qualification category.
oneOf:
- $ref: "./catalog_schemas.yml#/schemas/SpecializationCode"
- type: "null"
target_grade:
$ref: "./catalog_schemas.yml#/schemas/GradeCode"
description: Null only for demo_express, which has no qualification category.
oneOf:
- $ref: "./catalog_schemas.yml#/schemas/GradeCode"
- type: "null"
task_language:
description: Task language of the attempt, or null when the bank offers no choice.
description: Task language of the attempt, or null when none is selected.
oneOf:
- $ref: "./catalog_schemas.yml#/schemas/TaskLanguage"
- type: "null"
kind:
$ref: "#/schemas/AssessmentAttemptKind"
root_attempt_id:
description: >-
Present only for a corrective real assessment. It identifies the
root attempt whose quota and chain deadline this attempt shares.
oneOf:
- type: string
format: uuid
- type: "null"
readOnly: true
chain_deadline:
description: >-
Present only for a corrective real assessment. It is the immutable
deadline derived from the root attempt and is not extended by a
lower target grade.
oneOf:
- $ref: "./common_schemas.yml#/schemas/Timestamp"
- type: "null"
readOnly: true
mode:
$ref: "#/schemas/AssessmentMode"
state:
@@ -645,18 +779,18 @@ schemas:
started_at:
$ref: "./common_schemas.yml#/schemas/Timestamp"
expires_at:
description: >-
Server deadline. For demo_express it is 180 to 300 seconds after
started_at; for a corrective assessment it does not exceed
chain_deadline.
$ref: "./common_schemas.yml#/schemas/Timestamp"
sessions:
description: >-
Session limit of the attempt, or null when its policy version
defines none.
description: Session limit of the attempt, or null when its policy defines none.
oneOf:
- $ref: "#/schemas/AssessmentSessions"
- type: "null"
finished_at:
description: >-
Time the attempt reached a terminal state, or null while it is
active.
description: Time the attempt reached a terminal state, or null while it is active.
oneOf:
- $ref: "./common_schemas.yml#/schemas/Timestamp"
- type: "null"
@@ -675,14 +809,104 @@ schemas:
type: array
maxItems: 5
description: >-
Practices in the order they were assigned: the `main` practice
first, then an `additional` practice once finalize offers it. Empty
only for a demo_basic attempt while code practice is disabled until
the sandbox isolation is verified; its result then lists the
`practice_not_included` limitation. A list rather than one field
leaves room for more practices without a breaking change.
Practices in the order assigned by the mode policy. The list
exposes verdicts only after submission.
items:
$ref: "#/schemas/AssessmentPractice"
AssessmentQualifiedAttempt:
allOf:
- $ref: "#/schemas/AssessmentAttemptCommon"
- type: object
properties:
kind:
type: string
enum:
- root
mode:
type: string
enum:
- demo_basic
- adaptive
specialization:
$ref: "./catalog_schemas.yml#/schemas/SpecializationCode"
target_grade:
$ref: "./catalog_schemas.yml#/schemas/GradeCode"
root_attempt_id:
type: "null"
description: Root attempts have no parent attempt.
chain_deadline:
type: "null"
description: A root attempt has no correction-chain deadline.
required:
- kind
- mode
- specialization
- target_grade
- root_attempt_id
- chain_deadline
AssessmentCorrectiveAttempt:
allOf:
- $ref: "#/schemas/AssessmentAttemptCommon"
- type: object
properties:
kind:
type: string
enum:
- corrective
mode:
type: string
enum:
- demo_basic
- adaptive
specialization:
$ref: "./catalog_schemas.yml#/schemas/SpecializationCode"
target_grade:
$ref: "./catalog_schemas.yml#/schemas/GradeCode"
root_attempt_id:
type: string
format: uuid
readOnly: true
chain_deadline:
$ref: "./common_schemas.yml#/schemas/Timestamp"
readOnly: true
required:
- kind
- mode
- specialization
- target_grade
- root_attempt_id
- chain_deadline
AssessmentExpressAttempt:
allOf:
- $ref: "#/schemas/AssessmentAttemptCommon"
- type: object
properties:
kind:
type: string
enum:
- demo_express
mode:
type: string
enum:
- demo_express
specialization:
type: "null"
target_grade:
type: "null"
task_language:
type: "null"
root_attempt_id:
type: "null"
chain_deadline:
type: "null"
required:
- kind
- mode
- specialization
- target_grade
- task_language
- root_attempt_id
- chain_deadline
ChoiceAnswer:
type: object
description: >-
@@ -894,12 +1118,12 @@ schemas:
AssessmentNotDeterminedReason:
type: string
description: |-
Why an attempt gives no decision, and whether it counts against the retry rules.
Why an attempt gives no decision. One root quota slot is reserved when a real root attempt starts; corrective checks in its chain do not reserve another slot.
- expired: the time or session limit passed before the candidate finished the item part. It is the candidate's attempt: it counts toward the attempt limit and starts the same-grade retry interval.
- practice_incomplete: the item part was done, but the candidate did not submit the main practice before the limit. It counts like `expired`.
- insufficient_bank: the bank could not supply the required coverage within the limit. It is a platform limitation: it never counts toward the attempt limit and starts no retry interval.
- sandbox_unavailable: the latest submission of a required or additional practice ended `failed` because of the sandbox infrastructure, and the limit passed before a verdict. It is a platform fault: it never counts toward the attempt limit and starts no retry interval.
- expired: the time or session limit passed before the candidate finished the item part. Retry timing follows the recorded policy; a correction uses the existing root slot and does not reset the chain deadline or 30/90-day timers.
- practice_incomplete: the item part was done, but the candidate did not submit the main practice before the limit. Retry timing follows the recorded policy; a correction uses the existing root slot and does not reset the chain deadline or 30/90-day timers.
- insufficient_bank: the bank could not supply required coverage. A preflight refusal creates no attempt or root slot; a bank failure in an existing chain does not create a free new chain or another root slot.
- sandbox_unavailable: the latest submission of a required or additional practice ended `failed` because of the sandbox infrastructure, and the limit passed before a verdict. It is a platform fault and does not create a new root slot or a free chain.
enum:
- expired
- practice_incomplete
@@ -926,13 +1150,12 @@ schemas:
AssessmentLimitation:
type: string
description: |-
Known limitation of the method behind a result, shown with the result.
Known limitation of the method behind a real-assessment result, shown with the result.
- uncalibrated_thresholds: the thresholds are not yet validated on a pilot.
- demo_bank: the result comes from the small reviewed demo bank.
- practice_not_included: the attempt had no code practice because the sandbox was not enabled.
- unproctored: the attempt was taken online without supervision.
Adding a value is a contract change.
enum:
- uncalibrated_thresholds
@@ -1093,21 +1316,36 @@ schemas:
- $ref: "./common_schemas.yml#/schemas/Timestamp"
- type: "null"
AssessmentResult:
description: >-
Immutable result of a terminal assessment attempt. The result shape
distinguishes real grade decisions from demo_express training output.
oneOf:
- $ref: "#/schemas/AssessmentQualifiedResult"
- $ref: "#/schemas/AssessmentCorrectiveResult"
- $ref: "#/schemas/AssessmentExpressResult"
discriminator:
propertyName: kind
mapping:
root: "#/schemas/AssessmentQualifiedResult"
corrective: "#/schemas/AssessmentCorrectiveResult"
demo_express: "#/schemas/AssessmentExpressResult"
AssessmentRealResultCommon:
type: object
description: >-
Immutable result of a terminal attempt, visible only to its candidate.
It records the method, the versions, the decision, its uncertainty,
and its limitations; a later policy, bank, or algorithm version never
changes it. It never contains answers, per-item correctness, answer
keys, seeds, hidden checks, or anti-cheat signals. Fields that the
method does not compute are null, never zero: demo_basic has null
`uncertainty` and `strength`, and adaptive has null `basic_score`.
Immutable result of a real assessment, visible only to its candidate.
It records the method, versions, decision, uncertainty, and
limitations. A corrective result also carries root_attempt_id and
chain_deadline from the same chain. Later policy, bank, or algorithm
versions never change it. It never contains answers, per-item
correctness, keys, seeds, hidden checks, or anti-cheat signals.
Fields the method does not compute are null, never zero.
additionalProperties: false
required:
- attempt_id
- specialization
- target_grade
- task_language
- kind
- mode
- versions
- outcome
@@ -1132,12 +1370,37 @@ schemas:
$ref: "./catalog_schemas.yml#/schemas/SpecializationCode"
target_grade:
$ref: "./catalog_schemas.yml#/schemas/GradeCode"
root_attempt_id:
description: >-
Root attempt of a corrective check, or null when this is not a
corrective result. The corrective attempt keeps this link.
oneOf:
- type: string
format: uuid
- type: "null"
readOnly: true
chain_deadline:
description: >-
Immutable deadline shared by a corrective chain, or null when
this result is not from a corrective check.
oneOf:
- $ref: "./common_schemas.yml#/schemas/Timestamp"
- type: "null"
readOnly: true
task_language:
oneOf:
- $ref: "./catalog_schemas.yml#/schemas/TaskLanguage"
- type: "null"
kind:
type: string
enum:
- root
- corrective
mode:
$ref: "#/schemas/AssessmentMode"
type: string
enum:
- demo_basic
- adaptive
versions:
$ref: "#/schemas/AssessmentVersions"
outcome:
@@ -1209,6 +1472,156 @@ schemas:
$ref: "#/schemas/AssessmentNextStep"
decided_at:
$ref: "./common_schemas.yml#/schemas/Timestamp"
AssessmentQualifiedResult:
description: >-
Result of a real assessment that is not a corrective attempt. The
correction-chain fields are explicitly null.
allOf:
- $ref: "#/schemas/AssessmentRealResultCommon"
- type: object
properties:
kind:
type: string
enum:
- root
root_attempt_id:
type: "null"
chain_deadline:
type: "null"
required:
- kind
- root_attempt_id
- chain_deadline
AssessmentCorrectiveResult:
description: >-
Result of a corrective real assessment. Both chain fields are present
and identify the same immutable correction chain.
allOf:
- $ref: "#/schemas/AssessmentRealResultCommon"
- type: object
properties:
kind:
type: string
enum:
- corrective
root_attempt_id:
type: string
format: uuid
readOnly: true
chain_deadline:
$ref: "./common_schemas.yml#/schemas/Timestamp"
readOnly: true
required:
- kind
- root_attempt_id
- chain_deadline
AssessmentExpressResult:
type: object
description: >-
Immutable educational result of a demo_express run. It includes a
short summary but cannot report a category, percentile, uncertainty,
grade, strength, or qualification evidence. The result belongs only
to the training mode and does not consume a real-assessment quota.
additionalProperties: false
required:
- attempt_id
- specialization
- target_grade
- task_language
- kind
- mode
- versions
- outcome
- not_determined_reason
- confirmed_grade
- previous_confirmed_grade
- strength
- calibration_status
- limitations
- uncertainty
- basic_score
- practices
- gaps
- durations
- next_steps
- summary
- decided_at
properties:
attempt_id:
type: string
format: uuid
specialization:
type: "null"
description: Express training does not assess a specialization.
target_grade:
type: "null"
description: Express training does not assess a target grade.
task_language:
type: "null"
kind:
type: string
enum:
- demo_express
mode:
type: string
enum:
- demo_express
versions:
$ref: "#/schemas/AssessmentVersions"
outcome:
type: string
enum:
- demonstration
not_determined_reason:
type: "null"
confirmed_grade:
type: "null"
description: Express training never confirms a grade.
previous_confirmed_grade:
type: "null"
strength:
type: "null"
calibration_status:
type: string
enum:
- uncalibrated
limitations:
type: array
minItems: 1
maxItems: 1
items:
type: string
enum:
- demonstration_only
uncertainty:
type: "null"
description: Express training computes no ability estimate or percentile.
basic_score:
type: "null"
practices:
type: array
maxItems: 0
items:
$ref: "#/schemas/AssessmentPracticeResult"
gaps:
type: array
maxItems: 0
items:
$ref: "#/schemas/AssessmentGap"
durations:
$ref: "#/schemas/AssessmentDurations"
next_steps:
type: array
maxItems: 0
items:
$ref: "#/schemas/AssessmentNextStep"
summary:
type: string
minLength: 1
maxLength: 2000
description: Short educational feedback about this training run.
decided_at:
$ref: "./common_schemas.yml#/schemas/Timestamp"
AssessmentGradeAvailabilityStatus:
type: string
description: |-
@@ -1247,10 +1660,11 @@ schemas:
$ref: "#/schemas/AssessmentGradeAvailabilityStatus"
mode:
description: >-
Mode that an attempt would use, or null when the status is
`insufficient_bank`.
Real-assessment mode that the server would use, or null when the
status is `insufficient_bank`. `demo_express` is not a category
assessment and is never returned here.
oneOf:
- $ref: "#/schemas/AssessmentMode"
- $ref: "#/schemas/AssessmentRealMode"
- type: "null"
available_at:
description: When the status is `cooldown`, the first time the attempt can start; otherwise null.