1748 lines
59 KiB
YAML
1748 lines
59 KiB
YAML
schemas:
|
|
AssessmentMode:
|
|
type: string
|
|
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, 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:
|
|
type: string
|
|
description: |-
|
|
Lifecycle state of an attempt and the commands it accepts.
|
|
|
|
- in_progress: items are being answered; `current_item` is the item to answer. Accepts SubmitMyAssessmentAnswer for that item.
|
|
- practice_pending: the item part is finished, and the main practice has no finished verdict yet: it is not submitted, its verdict is pending in the sandbox, or the sandbox failed and the practice can be submitted again. Accepts SubmitMyAssessmentAnswer with the practice item while its status is `not_started` or `failed`. No grade is confirmed while the practice is unfinished, even when the adaptive stop rule has already ended the item part.
|
|
- additional_practice_pending: adaptive only. Finalize found the probability of reaching the grade in the band below confirmation, so the attempt offers one additional practice without spending a new attempt; it keeps the time and session limits of the attempt. Accepts SubmitMyAssessmentAnswer with the additional practice item while its status is `not_started` or `failed`, and FinalizeMyAssessmentAttempt in the same statuses, which declines the offer and decides `not_confirmed` with the current evidence.
|
|
- ready_to_finalize: every required part is done, including a submitted additional practice with a finished verdict. Accepts FinalizeMyAssessmentAttempt.
|
|
- completed: a decision was made; the result is available.
|
|
- 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 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
|
|
- additional_practice_pending
|
|
- ready_to_finalize
|
|
- completed
|
|
- expired
|
|
- insufficient_bank
|
|
AssessmentVersionLabel:
|
|
type: string
|
|
minLength: 1
|
|
maxLength: 64
|
|
pattern: "^[A-Za-z0-9._-]+$"
|
|
description: >-
|
|
Opaque identifier of a published version, for example
|
|
`backend-demo.2026-10.1`. Clients show it as text and never parse it.
|
|
AssessmentVersions:
|
|
type: object
|
|
description: >-
|
|
Versions fixed when the attempt was created. They never change during
|
|
the attempt, and a result is always reproduced from the stored answers
|
|
with these versions; a later policy, bank, or algorithm version does
|
|
not rewrite it.
|
|
additionalProperties: false
|
|
required:
|
|
- policy_version
|
|
- bank_version
|
|
- algorithm_version
|
|
properties:
|
|
policy_version:
|
|
type: integer
|
|
format: int32
|
|
minimum: 1
|
|
description: >-
|
|
Number of the `product` policy version whose assessment rules
|
|
apply: thresholds, stop rules, item limits, time and session
|
|
limits, and retry intervals.
|
|
bank_version:
|
|
$ref: "#/schemas/AssessmentVersionLabel"
|
|
algorithm_version:
|
|
$ref: "#/schemas/AssessmentVersionLabel"
|
|
AssessmentSessions:
|
|
type: object
|
|
description: |-
|
|
Work sessions of the attempt, as the policy version limits them, for example two sessions within the time limit.
|
|
|
|
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
|
|
- max
|
|
- idle_timeout_seconds
|
|
properties:
|
|
used:
|
|
type: integer
|
|
format: int32
|
|
minimum: 1
|
|
maximum: 10
|
|
description: Sessions started so far, including the current one.
|
|
max:
|
|
type: integer
|
|
format: int32
|
|
minimum: 1
|
|
maximum: 10
|
|
idle_timeout_seconds:
|
|
type: integer
|
|
format: int32
|
|
minimum: 60
|
|
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: >-
|
|
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:
|
|
$ref: "./catalog_schemas.yml#/schemas/GradeCode"
|
|
task_language:
|
|
description: >-
|
|
Task language of the attempt, one of the `task_languages` of the
|
|
published bank, or null when the bank offers no choice of
|
|
language. The questionnaire choice is the value the client offers
|
|
first.
|
|
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
|
|
description: >-
|
|
Identifier of an item instance in one attempt. It identifies the fixed
|
|
variant served to this candidate and reveals neither the task family,
|
|
its version, nor the variant seed.
|
|
AssessmentOptionId:
|
|
type: string
|
|
minLength: 1
|
|
maxLength: 32
|
|
pattern: "^[A-Za-z0-9_-]+$"
|
|
description: >-
|
|
Opaque identifier of a choice option or an order element within one
|
|
item instance. It is unrelated to the position or correctness of the
|
|
option.
|
|
AssessmentOption:
|
|
type: object
|
|
description: Choice option or order element. Plain text.
|
|
additionalProperties: false
|
|
required:
|
|
- id
|
|
- text
|
|
properties:
|
|
id:
|
|
$ref: "#/schemas/AssessmentOptionId"
|
|
text:
|
|
type: string
|
|
minLength: 1
|
|
maxLength: 2000
|
|
description: Text of the option; the client shows it as text, never as HTML.
|
|
ChoiceItemContent:
|
|
type: object
|
|
description: >-
|
|
Choose one option, or several when `multiple` is true. The content
|
|
never says which options are correct or how many are.
|
|
additionalProperties: false
|
|
required:
|
|
- format
|
|
- options
|
|
- multiple
|
|
properties:
|
|
format:
|
|
type: string
|
|
enum:
|
|
- choice
|
|
options:
|
|
type: array
|
|
minItems: 2
|
|
maxItems: 10
|
|
description: Options in the order of this instance.
|
|
items:
|
|
$ref: "#/schemas/AssessmentOption"
|
|
multiple:
|
|
type: boolean
|
|
description: >-
|
|
Whether more than one option may be selected. It is a property of
|
|
the task family, fixed for every variant, and never derived from
|
|
the key: a multiple-choice variant may have a single correct
|
|
option.
|
|
NumberItemContent:
|
|
type: object
|
|
description: Enter a number, optionally in the given unit.
|
|
additionalProperties: false
|
|
required:
|
|
- format
|
|
- unit
|
|
properties:
|
|
format:
|
|
type: string
|
|
enum:
|
|
- number
|
|
unit:
|
|
type:
|
|
- string
|
|
- "null"
|
|
minLength: 1
|
|
maxLength: 32
|
|
description: Unit of the expected value, for example `ms`, or null.
|
|
StringItemContent:
|
|
type: object
|
|
description: Enter a short string, such as a command, a header name, or an address.
|
|
additionalProperties: false
|
|
required:
|
|
- format
|
|
- max_length
|
|
properties:
|
|
format:
|
|
type: string
|
|
enum:
|
|
- string
|
|
max_length:
|
|
type: integer
|
|
format: int32
|
|
minimum: 1
|
|
maximum: 500
|
|
description: >-
|
|
Maximum length of the answer in characters. It is an input limit
|
|
of the task family, never derived from the key, so it does not
|
|
reveal the length of the correct answer.
|
|
OrderItemContent:
|
|
type: object
|
|
description: >-
|
|
Put every element into the right order. The elements arrive in the
|
|
order of this instance, which is never the answer.
|
|
additionalProperties: false
|
|
required:
|
|
- format
|
|
- elements
|
|
properties:
|
|
format:
|
|
type: string
|
|
enum:
|
|
- order
|
|
elements:
|
|
type: array
|
|
minItems: 2
|
|
maxItems: 20
|
|
items:
|
|
$ref: "#/schemas/AssessmentOption"
|
|
CodeLine:
|
|
type: object
|
|
description: One numbered line of a code or configuration fragment. Plain text.
|
|
additionalProperties: false
|
|
required:
|
|
- number
|
|
- text
|
|
properties:
|
|
number:
|
|
type: integer
|
|
format: int32
|
|
minimum: 1
|
|
maximum: 500
|
|
text:
|
|
type: string
|
|
maxLength: 1000
|
|
FindErrorItemContent:
|
|
type: object
|
|
description: >-
|
|
Find the lines with the error in a code or configuration fragment and
|
|
select up to `max_selections` line numbers.
|
|
additionalProperties: false
|
|
required:
|
|
- format
|
|
- syntax
|
|
- lines
|
|
- max_selections
|
|
properties:
|
|
format:
|
|
type: string
|
|
enum:
|
|
- find_error
|
|
syntax:
|
|
type:
|
|
- string
|
|
- "null"
|
|
minLength: 1
|
|
maxLength: 32
|
|
pattern: "^[a-z0-9_+-]+$"
|
|
description: Highlighting hint such as `go`, `python`, or `cisco_ios`, or null.
|
|
lines:
|
|
type: array
|
|
minItems: 1
|
|
maxItems: 500
|
|
description: Lines numbered from 1 in order.
|
|
items:
|
|
$ref: "#/schemas/CodeLine"
|
|
max_selections:
|
|
type: integer
|
|
format: int32
|
|
minimum: 1
|
|
maximum: 10
|
|
description: >-
|
|
Maximum number of lines the answer may select. It is a limit of
|
|
the task family, fixed for every variant and never derived from the
|
|
key; it is not the number of wrong lines.
|
|
ConfigurationItemContent:
|
|
type: object
|
|
description: >-
|
|
Write or fix a configuration. The server checks the submitted text
|
|
with the computed key or reference check of the task family; it never
|
|
executes it as code.
|
|
additionalProperties: false
|
|
required:
|
|
- format
|
|
- syntax
|
|
- initial_config
|
|
- max_length
|
|
properties:
|
|
format:
|
|
type: string
|
|
enum:
|
|
- configuration
|
|
syntax:
|
|
type: string
|
|
minLength: 1
|
|
maxLength: 32
|
|
pattern: "^[a-z0-9_+-]+$"
|
|
description: Configuration syntax such as `cisco_ios`, `nginx`, or `yaml`.
|
|
initial_config:
|
|
type: string
|
|
maxLength: 20000
|
|
description: Starting text to edit; empty when the candidate writes it from scratch.
|
|
max_length:
|
|
type: integer
|
|
format: int32
|
|
minimum: 1
|
|
maximum: 20000
|
|
description: >-
|
|
Maximum length of the submitted configuration in characters, an
|
|
input limit of the task family that is never derived from the key.
|
|
PracticeExample:
|
|
type: object
|
|
description: >-
|
|
Public example of the practice task: an input and its expected output.
|
|
Hidden checks are never listed.
|
|
additionalProperties: false
|
|
required:
|
|
- input
|
|
- expected_output
|
|
properties:
|
|
input:
|
|
type: string
|
|
maxLength: 10000
|
|
expected_output:
|
|
type: string
|
|
maxLength: 10000
|
|
PracticeItemContent:
|
|
type: object
|
|
description: >-
|
|
Code practice. The candidate submits one final solution, which runs in
|
|
the isolated sandbox against three groups of hidden checks. The content
|
|
lists only the statement, the allowed languages, and public examples;
|
|
hidden checks, their inputs, and seeds never reach the client.
|
|
additionalProperties: false
|
|
required:
|
|
- format
|
|
- languages
|
|
- public_examples
|
|
- max_source_length
|
|
properties:
|
|
format:
|
|
type: string
|
|
enum:
|
|
- practice
|
|
languages:
|
|
type: array
|
|
maxItems: 2
|
|
uniqueItems: true
|
|
description: >-
|
|
Languages the solution may use. Empty when the task does not offer
|
|
a choice; the submission then sends a null language.
|
|
items:
|
|
$ref: "./catalog_schemas.yml#/schemas/TaskLanguage"
|
|
public_examples:
|
|
type: array
|
|
maxItems: 10
|
|
items:
|
|
$ref: "#/schemas/PracticeExample"
|
|
max_source_length:
|
|
type: integer
|
|
format: int32
|
|
minimum: 1
|
|
maximum: 65536
|
|
description: Maximum length of the solution source in characters.
|
|
ItemContent:
|
|
description: >-
|
|
Format-specific part of an item, selected by `format`. It holds only
|
|
what the candidate needs to answer: never an answer key, a correct
|
|
option, a score, a family or variant identifier, a seed, or a hidden
|
|
check. Limits such as `multiple`, `max_selections`, and `max_length`
|
|
belong to the format or the task family and never reveal the key.
|
|
oneOf:
|
|
- $ref: "#/schemas/ChoiceItemContent"
|
|
- $ref: "#/schemas/NumberItemContent"
|
|
- $ref: "#/schemas/StringItemContent"
|
|
- $ref: "#/schemas/OrderItemContent"
|
|
- $ref: "#/schemas/FindErrorItemContent"
|
|
- $ref: "#/schemas/ConfigurationItemContent"
|
|
- $ref: "#/schemas/PracticeItemContent"
|
|
AssessmentItem:
|
|
type: object
|
|
description: >-
|
|
Item instance served to the candidate. The variant is fixed when it is
|
|
first served: a reload, a retried request, or a resumed session returns
|
|
the same instance with the same text and option order. The item never
|
|
says whether an earlier answer was correct, and seed items, which are
|
|
not scored, are indistinguishable from scored ones.
|
|
additionalProperties: false
|
|
required:
|
|
- id
|
|
- sequence
|
|
- prompt
|
|
- content
|
|
properties:
|
|
id:
|
|
$ref: "#/schemas/AssessmentItemId"
|
|
sequence:
|
|
type: integer
|
|
format: int32
|
|
minimum: 1
|
|
maximum: 100
|
|
description: Position of the item in the attempt, from 1.
|
|
prompt:
|
|
type: string
|
|
minLength: 1
|
|
maxLength: 20000
|
|
description: >-
|
|
Statement in Russian. Plain text with line breaks; the client shows
|
|
it as text, never as HTML.
|
|
content:
|
|
$ref: "#/schemas/ItemContent"
|
|
AssessmentProgress:
|
|
type: object
|
|
description: >-
|
|
Progress of the item part. It counts seed items like scored ones, so it
|
|
does not reveal which items are scored. An adaptive attempt may end its
|
|
item part before `max_items` by its stop rule. A finalize refused as
|
|
premature does not list the unfinished parts; the client reads them
|
|
here, in `current_item`, and in `practices`.
|
|
additionalProperties: false
|
|
required:
|
|
- answered_items
|
|
- max_items
|
|
properties:
|
|
answered_items:
|
|
type: integer
|
|
format: int32
|
|
minimum: 0
|
|
maximum: 100
|
|
max_items:
|
|
type: integer
|
|
format: int32
|
|
minimum: 1
|
|
maximum: 100
|
|
description: >-
|
|
Item limit of the attempt: the form size in demo_basic, or the
|
|
policy limit of scored and seed items together in adaptive.
|
|
PracticeKind:
|
|
type: string
|
|
description: |-
|
|
Role of a practice in the attempt.
|
|
|
|
- main: the practice that every attempt with practice requires before a decision.
|
|
- additional: adaptive only; offered by finalize when the probability of reaching the grade is in the band below confirmation. It continues the same attempt and spends no new attempt.
|
|
|
|
Adding a value is a contract change.
|
|
enum:
|
|
- main
|
|
- additional
|
|
PracticeStatus:
|
|
type: string
|
|
description: |-
|
|
State of a practice.
|
|
|
|
- not_started: no solution was submitted yet.
|
|
- pending: the submitted solution is queued or running in the sandbox.
|
|
- finished: the sandbox ran the solution and returned a verdict; `verdict` holds it. Every outcome caused by the solution itself, such as a compilation error, a runtime error, a time limit, or a memory limit, is `finished` with the affected groups not passed.
|
|
- failed: the sandbox infrastructure could not run the solution, for example because its queue was full or an executor broke, independently of the solution. The failure is not the candidate's and consumes nothing; the practice can be submitted again.
|
|
enum:
|
|
- not_started
|
|
- pending
|
|
- finished
|
|
- failed
|
|
PracticeFailureReason:
|
|
type: string
|
|
description: >-
|
|
Why the sandbox infrastructure returned no verdict: `sandbox_busy`
|
|
when its queue was full, `sandbox_error` for an infrastructure failure
|
|
such as a broken executor. Neither depends on the solution; a
|
|
solution that fails to compile, crashes, or exceeds a limit gets a
|
|
`finished` verdict instead, so a failure never acts as an oracle for
|
|
hidden checks.
|
|
enum:
|
|
- sandbox_busy
|
|
- sandbox_error
|
|
PracticeGroupResult:
|
|
type: object
|
|
description: Outcome of one hidden check group. It never contains the checks themselves.
|
|
additionalProperties: false
|
|
required:
|
|
- group
|
|
- passed
|
|
properties:
|
|
group:
|
|
type: integer
|
|
format: int32
|
|
minimum: 1
|
|
maximum: 3
|
|
passed:
|
|
type: boolean
|
|
PracticeVerdict:
|
|
type: object
|
|
description: >-
|
|
Verdict of a practice solution on the hidden checks: the score 0-3,
|
|
one point for each passed group. The hidden checks, their inputs and
|
|
outputs, error output, and seeds are never returned.
|
|
additionalProperties: false
|
|
required:
|
|
- score
|
|
- max_score
|
|
- groups
|
|
properties:
|
|
score:
|
|
type: integer
|
|
format: int32
|
|
minimum: 0
|
|
maximum: 3
|
|
max_score:
|
|
type: integer
|
|
format: int32
|
|
minimum: 3
|
|
maximum: 3
|
|
groups:
|
|
type: array
|
|
minItems: 3
|
|
maxItems: 3
|
|
items:
|
|
$ref: "#/schemas/PracticeGroupResult"
|
|
AssessmentPractice:
|
|
type: object
|
|
description: >-
|
|
Practice of the attempt. Its verdict is shown only after the
|
|
submission; the solution time is kept as a separate label and never
|
|
enters the ability estimate or the grade decision.
|
|
additionalProperties: false
|
|
required:
|
|
- kind
|
|
- item_id
|
|
- status
|
|
- submitted_at
|
|
- verdict
|
|
- failure_reason
|
|
properties:
|
|
kind:
|
|
$ref: "#/schemas/PracticeKind"
|
|
item_id:
|
|
$ref: "#/schemas/AssessmentItemId"
|
|
status:
|
|
$ref: "#/schemas/PracticeStatus"
|
|
submitted_at:
|
|
description: Time of the latest submission, or null before the first one.
|
|
oneOf:
|
|
- $ref: "./common_schemas.yml#/schemas/Timestamp"
|
|
- type: "null"
|
|
verdict:
|
|
description: The verdict when `status` is `finished`, otherwise null.
|
|
oneOf:
|
|
- $ref: "#/schemas/PracticeVerdict"
|
|
- type: "null"
|
|
failure_reason:
|
|
description: The reason when `status` is `failed`, otherwise null.
|
|
oneOf:
|
|
- $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: >-
|
|
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
|
|
- version
|
|
- specialization
|
|
- target_grade
|
|
- task_language
|
|
- kind
|
|
- mode
|
|
- state
|
|
- versions
|
|
- started_at
|
|
- expires_at
|
|
- sessions
|
|
- finished_at
|
|
- progress
|
|
- current_item
|
|
- practices
|
|
properties:
|
|
id:
|
|
type: string
|
|
format: uuid
|
|
description: Attempt identifier.
|
|
version:
|
|
$ref: "#/schemas/AssessmentAttemptVersion"
|
|
specialization:
|
|
description: Null only for demo_express, which has no qualification category.
|
|
oneOf:
|
|
- $ref: "./catalog_schemas.yml#/schemas/SpecializationCode"
|
|
- type: "null"
|
|
target_grade:
|
|
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 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:
|
|
$ref: "#/schemas/AssessmentAttemptState"
|
|
versions:
|
|
$ref: "#/schemas/AssessmentVersions"
|
|
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 defines none.
|
|
oneOf:
|
|
- $ref: "#/schemas/AssessmentSessions"
|
|
- type: "null"
|
|
finished_at:
|
|
description: Time the attempt reached a terminal state, or null while it is active.
|
|
oneOf:
|
|
- $ref: "./common_schemas.yml#/schemas/Timestamp"
|
|
- type: "null"
|
|
progress:
|
|
$ref: "#/schemas/AssessmentProgress"
|
|
current_item:
|
|
description: >-
|
|
Item to answer now: a test item in `in_progress`, the practice item
|
|
to submit in `practice_pending` or `additional_practice_pending`
|
|
while that practice is `not_started` or `failed`, and null
|
|
otherwise.
|
|
oneOf:
|
|
- $ref: "#/schemas/AssessmentItem"
|
|
- type: "null"
|
|
practices:
|
|
type: array
|
|
maxItems: 5
|
|
description: >-
|
|
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: >-
|
|
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.
|
|
additionalProperties: false
|
|
required:
|
|
- format
|
|
- option_ids
|
|
properties:
|
|
format:
|
|
type: string
|
|
enum:
|
|
- choice
|
|
option_ids:
|
|
type: array
|
|
minItems: 1
|
|
maxItems: 10
|
|
uniqueItems: true
|
|
items:
|
|
$ref: "#/schemas/AssessmentOptionId"
|
|
NumberAnswer:
|
|
type: object
|
|
description: >-
|
|
Numeric answer in the unit of the item. Two answers are equal when
|
|
their decoded values are numerically equal, so 254 and 254.0 are the
|
|
same answer.
|
|
additionalProperties: false
|
|
required:
|
|
- format
|
|
- number
|
|
properties:
|
|
format:
|
|
type: string
|
|
enum:
|
|
- number
|
|
number:
|
|
type: number
|
|
format: double
|
|
StringAnswer:
|
|
type: object
|
|
description: >-
|
|
String answer, at most the `max_length` of the item. Two answers are
|
|
equal only when their texts are identical; no trimming, case folding,
|
|
or Unicode normalization applies to that comparison.
|
|
additionalProperties: false
|
|
required:
|
|
- format
|
|
- text
|
|
properties:
|
|
format:
|
|
type: string
|
|
enum:
|
|
- string
|
|
text:
|
|
type: string
|
|
minLength: 1
|
|
maxLength: 500
|
|
OrderAnswer:
|
|
type: object
|
|
description: >-
|
|
Every element of the item exactly once, in the chosen order. Two
|
|
answers are equal only when the sequences are identical.
|
|
additionalProperties: false
|
|
required:
|
|
- format
|
|
- element_ids
|
|
properties:
|
|
format:
|
|
type: string
|
|
enum:
|
|
- order
|
|
element_ids:
|
|
type: array
|
|
minItems: 2
|
|
maxItems: 20
|
|
uniqueItems: true
|
|
items:
|
|
$ref: "#/schemas/AssessmentOptionId"
|
|
FindErrorAnswer:
|
|
type: object
|
|
description: >-
|
|
Selected line numbers, at most the `max_selections` of the item. Two
|
|
answers are equal when they select the same set of lines, in any
|
|
order.
|
|
additionalProperties: false
|
|
required:
|
|
- format
|
|
- line_numbers
|
|
properties:
|
|
format:
|
|
type: string
|
|
enum:
|
|
- find_error
|
|
line_numbers:
|
|
type: array
|
|
minItems: 1
|
|
maxItems: 10
|
|
uniqueItems: true
|
|
items:
|
|
type: integer
|
|
format: int32
|
|
minimum: 1
|
|
maximum: 500
|
|
ConfigurationAnswer:
|
|
type: object
|
|
description: >-
|
|
Submitted configuration text, at most the `max_length` of the item.
|
|
Two answers are equal only when their texts are identical, including
|
|
whitespace and line breaks.
|
|
additionalProperties: false
|
|
required:
|
|
- format
|
|
- config
|
|
properties:
|
|
format:
|
|
type: string
|
|
enum:
|
|
- configuration
|
|
config:
|
|
type: string
|
|
minLength: 1
|
|
maxLength: 20000
|
|
PracticeAnswer:
|
|
type: object
|
|
description: >-
|
|
Practice solution. It runs in the isolated sandbox without network
|
|
access, secrets, or business data. Two submissions are equal only when
|
|
the language is the same and the source texts are identical. The
|
|
source is never echoed in a response or a problem.
|
|
additionalProperties: false
|
|
required:
|
|
- format
|
|
- language
|
|
- source_code
|
|
properties:
|
|
format:
|
|
type: string
|
|
enum:
|
|
- practice
|
|
language:
|
|
description: >-
|
|
One of the `languages` of the practice item, or null when the item
|
|
offers none.
|
|
oneOf:
|
|
- $ref: "./catalog_schemas.yml#/schemas/TaskLanguage"
|
|
- type: "null"
|
|
source_code:
|
|
type: string
|
|
minLength: 1
|
|
maxLength: 65536
|
|
AssessmentAnswer:
|
|
description: >-
|
|
Candidate answer, selected by `format`, which must equal the format of
|
|
the answered item. It carries only the answer: no score, duration,
|
|
correctness flag, or seed. The server records the times itself and
|
|
scores the answer with the key of the fixed item instance. Each format
|
|
defines when two answers are equal, which decides whether a repeated
|
|
submission is the same answer.
|
|
oneOf:
|
|
- $ref: "#/schemas/ChoiceAnswer"
|
|
- $ref: "#/schemas/NumberAnswer"
|
|
- $ref: "#/schemas/StringAnswer"
|
|
- $ref: "#/schemas/OrderAnswer"
|
|
- $ref: "#/schemas/FindErrorAnswer"
|
|
- $ref: "#/schemas/ConfigurationAnswer"
|
|
- $ref: "#/schemas/PracticeAnswer"
|
|
AssessmentAnswerSubmission:
|
|
type: object
|
|
description: >-
|
|
Answer to one item of the attempt. Unknown fields are rejected, so a
|
|
request cannot send a score, a duration, or a correctness flag.
|
|
additionalProperties: false
|
|
required:
|
|
- expected_version
|
|
- item_id
|
|
- answer
|
|
properties:
|
|
expected_version:
|
|
$ref: "#/schemas/AssessmentAttemptVersion"
|
|
item_id:
|
|
$ref: "#/schemas/AssessmentItemId"
|
|
answer:
|
|
$ref: "#/schemas/AssessmentAnswer"
|
|
AssessmentFinalization:
|
|
type: object
|
|
description: Command to finalize the attempt.
|
|
additionalProperties: false
|
|
required:
|
|
- expected_version
|
|
properties:
|
|
expected_version:
|
|
$ref: "#/schemas/AssessmentAttemptVersion"
|
|
AssessmentOutcome:
|
|
type: string
|
|
description: |-
|
|
Grade decision of the attempt.
|
|
|
|
- confirmed: the target grade is confirmed by the rule of the recorded policy version.
|
|
- not_confirmed: the evidence is below the rule, including an adaptive attempt whose probability stayed below confirmation after the additional practice, or whose additional practice was declined or not submitted in time. The previously confirmed grade, if any, stays in force.
|
|
- not_determined: the attempt gives no decision; `not_determined_reason` says why. The previously confirmed grade stays in force.
|
|
|
|
A failed, expired, or flagged attempt never lowers a confirmed grade.
|
|
enum:
|
|
- confirmed
|
|
- not_confirmed
|
|
- not_determined
|
|
AssessmentNotDeterminedReason:
|
|
type: string
|
|
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. 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
|
|
- insufficient_bank
|
|
- sandbox_unavailable
|
|
AssessmentStrength:
|
|
type: string
|
|
description: >-
|
|
Strength of an adaptive confirmation: `high` or `medium`, by the
|
|
probability bands of the recorded policy version.
|
|
enum:
|
|
- high
|
|
- medium
|
|
CalibrationStatus:
|
|
type: string
|
|
description: >-
|
|
Whether the thresholds of the recorded policy version are empirically
|
|
calibrated. `uncalibrated` results are provisional: their thresholds
|
|
come from expert judgement, and their probabilities are not claimed to
|
|
be calibrated.
|
|
enum:
|
|
- uncalibrated
|
|
- calibrated
|
|
AssessmentLimitation:
|
|
type: string
|
|
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.
|
|
- 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
|
|
- demo_bank
|
|
- practice_not_included
|
|
- unproctored
|
|
AssessmentInterval:
|
|
type: object
|
|
description: Interval on the ability scale.
|
|
additionalProperties: false
|
|
required:
|
|
- low
|
|
- high
|
|
properties:
|
|
low:
|
|
type: number
|
|
format: double
|
|
high:
|
|
type: number
|
|
format: double
|
|
AssessmentUncertainty:
|
|
type: object
|
|
description: >-
|
|
Ability estimate of an adaptive attempt and its uncertainty: the EAP
|
|
estimate on the specialization scale, its standard error, the 95%
|
|
interval, and the probability of reaching the target grade threshold.
|
|
The interval is reported but is not a separate stop condition.
|
|
additionalProperties: false
|
|
required:
|
|
- theta
|
|
- standard_error
|
|
- interval_95
|
|
- p_grade
|
|
properties:
|
|
theta:
|
|
type: number
|
|
format: double
|
|
standard_error:
|
|
type: number
|
|
format: double
|
|
minimum: 0
|
|
interval_95:
|
|
$ref: "#/schemas/AssessmentInterval"
|
|
p_grade:
|
|
type: number
|
|
format: double
|
|
minimum: 0
|
|
maximum: 1
|
|
description: Probability of reaching the threshold of the target grade.
|
|
BasicScore:
|
|
type: object
|
|
description: >-
|
|
Raw score of a demo_basic attempt and the pass mark of the recorded
|
|
basic grading policy. The pass mark comes from that policy version and
|
|
never from the handler.
|
|
additionalProperties: false
|
|
required:
|
|
- points
|
|
- max_points
|
|
- pass_points
|
|
properties:
|
|
points:
|
|
type: integer
|
|
format: int32
|
|
minimum: 0
|
|
max_points:
|
|
type: integer
|
|
format: int32
|
|
minimum: 1
|
|
pass_points:
|
|
type: integer
|
|
format: int32
|
|
minimum: 1
|
|
AssessmentGap:
|
|
type: object
|
|
description: Domain of the specialization where the evidence was weak.
|
|
additionalProperties: false
|
|
required:
|
|
- domain
|
|
- title
|
|
properties:
|
|
domain:
|
|
type: string
|
|
minLength: 1
|
|
maxLength: 64
|
|
pattern: "^[a-z0-9_]+$"
|
|
description: Stable domain code of the bank blueprint.
|
|
title:
|
|
type: string
|
|
minLength: 1
|
|
maxLength: 200
|
|
description: Display name in Russian. Plain text.
|
|
AssessmentDurations:
|
|
type: object
|
|
description: >-
|
|
Working time recorded by the server. It is a separate label: it never
|
|
enters the ability estimate or the grade decision.
|
|
additionalProperties: false
|
|
required:
|
|
- items_seconds
|
|
- practice_seconds
|
|
properties:
|
|
items_seconds:
|
|
type: integer
|
|
format: int32
|
|
minimum: 0
|
|
practice_seconds:
|
|
type:
|
|
- integer
|
|
- "null"
|
|
format: int32
|
|
minimum: 0
|
|
description: >-
|
|
Time on all practices with a verdict, or null when no practice has
|
|
one.
|
|
AssessmentPracticeResult:
|
|
type: object
|
|
description: Verdict of one practice of the attempt.
|
|
additionalProperties: false
|
|
required:
|
|
- kind
|
|
- verdict
|
|
properties:
|
|
kind:
|
|
$ref: "#/schemas/PracticeKind"
|
|
verdict:
|
|
$ref: "#/schemas/PracticeVerdict"
|
|
AssessmentNextAction:
|
|
type: string
|
|
description: |-
|
|
Step that the candidate may take next.
|
|
|
|
- retake_same_grade: test the same grade again from `available_at`.
|
|
- take_lower_grade: test the lower `grade`. After a failure, including the first test, it is allowed at once, outside the same-grade retry interval.
|
|
- accept_lower_grade: accept the lower `grade` on the evidence of this attempt, when the data are sufficient (the command is planned).
|
|
- take_higher_grade: test the higher `grade` from `available_at`. A first confirmation is not a promotion, so after it `available_at` is null; after a promotion the next one waits for the promotion interval of the policy.
|
|
enum:
|
|
- retake_same_grade
|
|
- take_lower_grade
|
|
- accept_lower_grade
|
|
- take_higher_grade
|
|
AssessmentNextStep:
|
|
type: object
|
|
description: Step that the server allows after this result, computed when it was decided.
|
|
additionalProperties: false
|
|
required:
|
|
- action
|
|
- grade
|
|
- available_at
|
|
properties:
|
|
action:
|
|
$ref: "#/schemas/AssessmentNextAction"
|
|
grade:
|
|
$ref: "./catalog_schemas.yml#/schemas/GradeCode"
|
|
available_at:
|
|
description: First time the step is allowed, or null when it is allowed now.
|
|
oneOf:
|
|
- $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 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
|
|
- not_determined_reason
|
|
- confirmed_grade
|
|
- previous_confirmed_grade
|
|
- strength
|
|
- calibration_status
|
|
- limitations
|
|
- uncertainty
|
|
- basic_score
|
|
- practices
|
|
- gaps
|
|
- durations
|
|
- next_steps
|
|
- decided_at
|
|
properties:
|
|
attempt_id:
|
|
type: string
|
|
format: uuid
|
|
specialization:
|
|
$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:
|
|
type: string
|
|
enum:
|
|
- demo_basic
|
|
- adaptive
|
|
versions:
|
|
$ref: "#/schemas/AssessmentVersions"
|
|
outcome:
|
|
$ref: "#/schemas/AssessmentOutcome"
|
|
not_determined_reason:
|
|
description: The reason when `outcome` is `not_determined`, otherwise null.
|
|
oneOf:
|
|
- $ref: "#/schemas/AssessmentNotDeterminedReason"
|
|
- type: "null"
|
|
confirmed_grade:
|
|
description: >-
|
|
Grade that this attempt confirmed, the target grade, or null when
|
|
it confirmed none. Together with the specialization it forms the
|
|
category.
|
|
oneOf:
|
|
- $ref: "./catalog_schemas.yml#/schemas/GradeCode"
|
|
- type: "null"
|
|
previous_confirmed_grade:
|
|
description: >-
|
|
Confirmed grade of the specialization before this attempt, or null.
|
|
When the attempt confirmed nothing, this grade stays in force.
|
|
oneOf:
|
|
- $ref: "./catalog_schemas.yml#/schemas/GradeCode"
|
|
- type: "null"
|
|
strength:
|
|
description: Strength of an adaptive confirmation, otherwise null.
|
|
oneOf:
|
|
- $ref: "#/schemas/AssessmentStrength"
|
|
- type: "null"
|
|
calibration_status:
|
|
$ref: "#/schemas/CalibrationStatus"
|
|
limitations:
|
|
type: array
|
|
maxItems: 10
|
|
uniqueItems: true
|
|
items:
|
|
$ref: "#/schemas/AssessmentLimitation"
|
|
uncertainty:
|
|
description: >-
|
|
Ability estimate and uncertainty of an adaptive attempt with a
|
|
decision; null for demo_basic, which computes none, and for an
|
|
attempt without a decision.
|
|
oneOf:
|
|
- $ref: "#/schemas/AssessmentUncertainty"
|
|
- type: "null"
|
|
basic_score:
|
|
description: Raw score of a demo_basic attempt with a decision, otherwise null.
|
|
oneOf:
|
|
- $ref: "#/schemas/BasicScore"
|
|
- type: "null"
|
|
practices:
|
|
type: array
|
|
maxItems: 5
|
|
description: Verdicts of the practices that have one, main first.
|
|
items:
|
|
$ref: "#/schemas/AssessmentPracticeResult"
|
|
gaps:
|
|
type: array
|
|
maxItems: 20
|
|
description: Domains with weak evidence; empty when none were found or the method finds none.
|
|
items:
|
|
$ref: "#/schemas/AssessmentGap"
|
|
durations:
|
|
$ref: "#/schemas/AssessmentDurations"
|
|
next_steps:
|
|
type: array
|
|
maxItems: 5
|
|
items:
|
|
$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: |-
|
|
Whether an attempt for the grade can start now.
|
|
|
|
- available: CreateMyAssessmentAttempt can start it.
|
|
- active_attempt: the specialization has an active attempt; resume it by `active_attempt_id`.
|
|
- cooldown: a retry or promotion interval or the attempt limit of the policy blocks it until `available_at`. Attempts that ended as `insufficient_bank` or `sandbox_unavailable` never cause it.
|
|
- insufficient_bank: no published bank of the category, or not enough unseen families to cover the blueprint for this candidate. The server never fills the gap by repeating families.
|
|
enum:
|
|
- available
|
|
- active_attempt
|
|
- cooldown
|
|
- insufficient_bank
|
|
AssessmentGradeAvailability:
|
|
type: object
|
|
description: >-
|
|
Availability of an attempt for one grade of a specialization, with the
|
|
limits that an attempt would have, so the client can show them before
|
|
the start. The limit fields are null when the status is
|
|
`insufficient_bank` or the policy defines no such limit.
|
|
additionalProperties: false
|
|
required:
|
|
- grade
|
|
- status
|
|
- mode
|
|
- available_at
|
|
- time_limit_seconds
|
|
- max_sessions
|
|
- max_items
|
|
- practice_required
|
|
properties:
|
|
grade:
|
|
$ref: "./catalog_schemas.yml#/schemas/GradeCode"
|
|
status:
|
|
$ref: "#/schemas/AssessmentGradeAvailabilityStatus"
|
|
mode:
|
|
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: "#/schemas/AssessmentRealMode"
|
|
- type: "null"
|
|
available_at:
|
|
description: When the status is `cooldown`, the first time the attempt can start; otherwise null.
|
|
oneOf:
|
|
- $ref: "./common_schemas.yml#/schemas/Timestamp"
|
|
- type: "null"
|
|
time_limit_seconds:
|
|
type:
|
|
- integer
|
|
- "null"
|
|
format: int32
|
|
minimum: 1
|
|
description: Time from the start to `expires_at`.
|
|
max_sessions:
|
|
type:
|
|
- integer
|
|
- "null"
|
|
format: int32
|
|
minimum: 1
|
|
maximum: 10
|
|
description: Session limit within the time limit.
|
|
max_items:
|
|
type:
|
|
- integer
|
|
- "null"
|
|
format: int32
|
|
minimum: 1
|
|
maximum: 100
|
|
description: Item limit, as in `AssessmentProgress.max_items`.
|
|
practice_required:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
description: Whether the attempt would include a main code practice.
|
|
AssessmentSpecializationAvailability:
|
|
type: object
|
|
description: >-
|
|
Assessment state of one questionnaire specialization. Specializations
|
|
are assessed independently, with independent retry intervals.
|
|
additionalProperties: false
|
|
required:
|
|
- specialization
|
|
- confirmed_grade
|
|
- active_attempt_id
|
|
- grades
|
|
properties:
|
|
specialization:
|
|
$ref: "./catalog_schemas.yml#/schemas/SpecializationCode"
|
|
confirmed_grade:
|
|
description: Currently confirmed grade of the specialization, or null.
|
|
oneOf:
|
|
- $ref: "./catalog_schemas.yml#/schemas/GradeCode"
|
|
- type: "null"
|
|
active_attempt_id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
format: uuid
|
|
description: Identifier of the active attempt of the specialization, or null.
|
|
grades:
|
|
type: array
|
|
maxItems: 10
|
|
description: Every grade of the scale in ascending order.
|
|
items:
|
|
$ref: "#/schemas/AssessmentGradeAvailability"
|
|
AssessmentAvailability:
|
|
type: object
|
|
description: >-
|
|
Assessment availability for the specializations of the current
|
|
candidate's questionnaire, derived at the time of the request.
|
|
additionalProperties: false
|
|
required:
|
|
- specializations
|
|
properties:
|
|
specializations:
|
|
type: array
|
|
maxItems: 2
|
|
description: Questionnaire specializations in questionnaire order.
|
|
items:
|
|
$ref: "#/schemas/AssessmentSpecializationAvailability"
|