feat(api): add candidate assessment attempt contract

This commit is contained in:
shira committed 2026-10-06 03:28:44 +03:00
1 parent 6c86c4e559
commit 565ef8d4f5
100 files changed
+30314 -74

No files matched your search

+916
View File
@@ -425,3 +425,919 @@ QuestionnaireRepeatedSpecialization:
pointer: /specializations/1/specialization
code: invalid
message: The value does not match the contract.
AssessmentAvailability:
summary: Backend open in demo_basic, Network Engineer blocked
description: >-
Illustrative values. Backend junior and middle can start in the
demo_basic mode, with their limits shown before the start; intern and
senior have no sufficient bank. Network Engineer junior waits for its
same-grade retry interval after an unconfirmed attempt.
value:
specializations:
- specialization: backend
confirmed_grade: null
active_attempt_id: null
grades:
- grade: intern
status: insufficient_bank
mode: null
available_at: null
time_limit_seconds: null
max_sessions: null
max_items: null
practice_required: null
- grade: junior
status: available
mode: demo_basic
available_at: null
time_limit_seconds: 259200
max_sessions: 2
max_items: 12
practice_required: false
- grade: middle
status: available
mode: demo_basic
available_at: null
time_limit_seconds: 259200
max_sessions: 2
max_items: 12
practice_required: false
- grade: senior
status: insufficient_bank
mode: null
available_at: null
time_limit_seconds: null
max_sessions: null
max_items: null
practice_required: null
- specialization: network_engineer
confirmed_grade: null
active_attempt_id: null
grades:
- grade: intern
status: insufficient_bank
mode: null
available_at: null
time_limit_seconds: null
max_sessions: null
max_items: null
practice_required: null
- grade: junior
status: cooldown
mode: demo_basic
available_at: "2026-11-12T00:00:00Z"
time_limit_seconds: 259200
max_sessions: 2
max_items: 10
practice_required: false
- grade: middle
status: available
mode: demo_basic
available_at: null
time_limit_seconds: 259200
max_sessions: 2
max_items: 10
practice_required: false
- grade: senior
status: insufficient_bank
mode: null
available_at: null
time_limit_seconds: null
max_sessions: null
max_items: null
practice_required: null
AssessmentAttemptCreateBackendJunior:
summary: Start Backend junior with Go tasks
value:
specialization: backend
target_grade: junior
task_language: go
AssessmentAttemptCreated:
summary: New demo_basic attempt with its first item
description: >-
The server chose demo_basic from the published bank and fixed the policy,
bank, and algorithm versions; creation started session 1. A retry of
this create with the same Idempotency-Key and body within 24 hours
replays exactly this 201 response and creates nothing; read the attempt
for its current state. The attempt has no practice, because code
practice stays disabled until the sandbox isolation is verified.
value:
id: 01928f7a-3c4d-7e5f-8a9b-0c1d2e3f4a5b
version: 1
specialization: backend
target_grade: junior
task_language: go
mode: demo_basic
state: in_progress
versions:
policy_version: 1
bank_version: backend-demo.2026-10.1
algorithm_version: basic-raw-score.1
started_at: "2026-10-08T10:00:00Z"
expires_at: "2026-10-11T10:00:00Z"
sessions:
used: 1
max: 2
idle_timeout_seconds: 1800
finished_at: null
progress:
answered_items: 0
max_items: 12
current_item:
id: 01928f7a-4a10-7b2c-9d3e-5f6a7b8c9d01
sequence: 1
prompt: "Какой HTTP-статус вернуть, если запрос валиден, но ресурс находится в состоянии, не допускающем операцию?"
content:
format: choice
multiple: false
options:
- id: k7
text: "400"
- id: p2
text: "404"
- id: x9
text: "409"
- id: c4
text: "500"
practices: []
AssessmentAnswerAccepted:
summary: Answer to item 1 stored; item 2 follows
description: >-
The answer of AssessmentChoiceAnswer was stored and the version advanced
from 1 to 2. The response does not say whether the answer was correct.
A retry with the same Idempotency-Key replays exactly this response.
Sending the same answer to item 1 again, even with a new key or the
older expected_version 1, stores nothing and returns 200 with the
current attempt. AssessmentOrderAnswer answers item 2 next.
value:
id: 01928f7a-3c4d-7e5f-8a9b-0c1d2e3f4a5b
version: 2
specialization: backend
target_grade: junior
task_language: go
mode: demo_basic
state: in_progress
versions:
policy_version: 1
bank_version: backend-demo.2026-10.1
algorithm_version: basic-raw-score.1
started_at: "2026-10-08T10:00:00Z"
expires_at: "2026-10-11T10:00:00Z"
sessions:
used: 1
max: 2
idle_timeout_seconds: 1800
finished_at: null
progress:
answered_items: 1
max_items: 12
current_item:
id: 01928f7a-4a10-7b2c-9d3e-5f6a7b8c9d02
sequence: 2
prompt: "Упорядочите шаги обработки запроса в обработчике HTTP."
content:
format: order
elements:
- id: d3
text: Записать ответ
- id: a7
text: Проверить сессию
- id: c2
text: Выполнить операцию
- id: b1
text: Разобрать и проверить тело
practices: []
AssessmentAttemptCompleted:
summary: demo_basic attempt finalized; read the result next
value:
id: 01928f7a-3c4d-7e5f-8a9b-0c1d2e3f4a5b
version: 14
specialization: backend
target_grade: junior
task_language: go
mode: demo_basic
state: completed
versions:
policy_version: 1
bank_version: backend-demo.2026-10.1
algorithm_version: basic-raw-score.1
started_at: "2026-10-08T10:00:00Z"
expires_at: "2026-10-11T10:00:00Z"
sessions:
used: 1
max: 2
idle_timeout_seconds: 1800
finished_at: "2026-10-08T10:24:00Z"
progress:
answered_items: 12
max_items: 12
current_item: null
practices: []
AssessmentAttemptResumed:
summary: Adaptive attempt resumed on its sixth item in session 2
description: >-
A reload or a new session returns the same item instance with the same
lines; nothing tells whether the five earlier answers were correct, and
seed items look like scored ones. The retest started from the previous
ability estimate of the specialization.
value:
id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
version: 7
specialization: backend
target_grade: middle
task_language: python
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-20T09:00:00Z"
expires_at: "2026-11-23T09:00:00Z"
sessions:
used: 2
max: 2
idle_timeout_seconds: 1800
finished_at: null
progress:
answered_items: 5
max_items: 25
current_item:
id: 01928f7b-2222-7a2b-8c3d-4e5f6a7b8c06
sequence: 6
prompt: "Найдите строку, из-за которой соединения с базой данных не возвращаются в пул."
content:
format: find_error
syntax: python
max_selections: 1
lines:
- number: 1
text: "def load_user(pool, user_id):"
- number: 2
text: " conn = pool.acquire()"
- number: 3
text: " row = conn.fetchrow(QUERY, user_id)"
- number: 4
text: " if row is None:"
- number: 5
text: " raise NotFound(user_id)"
- number: 6
text: " pool.release(conn)"
- number: 7
text: " return row"
practices:
- kind: main
item_id: 01928f7b-2222-7a2b-8c3d-4e5f6a7b8c99
status: not_started
submitted_at: null
verdict: null
failure_reason: null
AssessmentAttemptPracticePending:
summary: Item part finished, main practice not submitted
description: >-
The adaptive stop rule ended the item part after 14 items, but no grade
is decided until the main practice has a finished verdict. The current
item is the practice; hidden checks and seeds are not part of it.
value:
id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
version: 16
specialization: backend
target_grade: middle
task_language: python
mode: adaptive
state: practice_pending
versions:
policy_version: 2
bank_version: backend.2026-11.3
algorithm_version: irt-1pl-eap.1
started_at: "2026-11-20T09:00:00Z"
expires_at: "2026-11-23T09:00:00Z"
sessions:
used: 2
max: 2
idle_timeout_seconds: 1800
finished_at: null
progress:
answered_items: 14
max_items: 25
current_item:
id: 01928f7b-2222-7a2b-8c3d-4e5f6a7b8c99
sequence: 15
prompt: "Реализуйте функцию merge_intervals: на вход список пар [start, end], на выход объединенные пересекающиеся интервалы, отсортированные по началу."
content:
format: practice
languages: [python]
max_source_length: 20000
public_examples:
- input: "[[1,3],[2,6],[8,10]]"
expected_output: "[[1,6],[8,10]]"
practices:
- kind: main
item_id: 01928f7b-2222-7a2b-8c3d-4e5f6a7b8c99
status: not_started
submitted_at: null
verdict: null
failure_reason: null
AssessmentAttemptPracticeVerdictPending:
summary: Practice submitted, verdict pending in the sandbox
value:
id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
version: 17
specialization: backend
target_grade: middle
task_language: python
mode: adaptive
state: practice_pending
versions:
policy_version: 2
bank_version: backend.2026-11.3
algorithm_version: irt-1pl-eap.1
started_at: "2026-11-20T09:00:00Z"
expires_at: "2026-11-23T09:00:00Z"
sessions:
used: 2
max: 2
idle_timeout_seconds: 1800
finished_at: null
progress:
answered_items: 14
max_items: 25
current_item: null
practices:
- kind: main
item_id: 01928f7b-2222-7a2b-8c3d-4e5f6a7b8c99
status: pending
submitted_at: "2026-11-20T10:05:00Z"
verdict: null
failure_reason: null
AssessmentAttemptSandboxFailed:
summary: Sandbox queue was full; the practice can be submitted again
description: >-
The failure does not depend on the solution and consumes nothing. The
practice item is current again; a resubmission, with the same or a
different solution, queues it again and advances the version.
value:
id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
version: 18
specialization: backend
target_grade: middle
task_language: python
mode: adaptive
state: practice_pending
versions:
policy_version: 2
bank_version: backend.2026-11.3
algorithm_version: irt-1pl-eap.1
started_at: "2026-11-20T09:00:00Z"
expires_at: "2026-11-23T09:00:00Z"
sessions:
used: 2
max: 2
idle_timeout_seconds: 1800
finished_at: null
progress:
answered_items: 14
max_items: 25
current_item:
id: 01928f7b-2222-7a2b-8c3d-4e5f6a7b8c99
sequence: 15
prompt: "Реализуйте функцию merge_intervals: на вход список пар [start, end], на выход объединенные пересекающиеся интервалы, отсортированные по началу."
content:
format: practice
languages: [python]
max_source_length: 20000
public_examples:
- input: "[[1,3],[2,6],[8,10]]"
expected_output: "[[1,6],[8,10]]"
practices:
- kind: main
item_id: 01928f7b-2222-7a2b-8c3d-4e5f6a7b8c99
status: failed
submitted_at: "2026-11-20T10:05:00Z"
verdict: null
failure_reason: sandbox_busy
AssessmentAttemptReadyToFinalize:
summary: Main practice verdict finished, ready to finalize
value:
id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
version: 20
specialization: backend
target_grade: middle
task_language: python
mode: adaptive
state: ready_to_finalize
versions:
policy_version: 2
bank_version: backend.2026-11.3
algorithm_version: irt-1pl-eap.1
started_at: "2026-11-20T09:00:00Z"
expires_at: "2026-11-23T09:00:00Z"
sessions:
used: 2
max: 2
idle_timeout_seconds: 1800
finished_at: null
progress:
answered_items: 14
max_items: 25
current_item: null
practices:
- kind: main
item_id: 01928f7b-2222-7a2b-8c3d-4e5f6a7b8c99
status: finished
submitted_at: "2026-11-20T10:09:00Z"
verdict:
score: 2
max_score: 3
groups:
- group: 1
passed: true
- group: 2
passed: true
- group: 3
passed: false
failure_reason: null
AssessmentAttemptAdditionalPracticePending:
summary: Finalize offered an additional practice in the same attempt
description: >-
The probability of reaching middle was in the band below confirmation,
so finalize decided nothing yet: it appended an additional practice and
returned the attempt instead of a result. The attempt keeps its time and
session limits and spends no new attempt. Submitting the additional
practice leads back to ready_to_finalize; finalizing now declines it
and gives not_confirmed. A retry of that finalize with a new key and
the old expected_version 20 answers 412 and cannot decline by accident.
value:
id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
version: 21
specialization: backend
target_grade: middle
task_language: python
mode: adaptive
state: additional_practice_pending
versions:
policy_version: 2
bank_version: backend.2026-11.3
algorithm_version: irt-1pl-eap.1
started_at: "2026-11-20T09:00:00Z"
expires_at: "2026-11-23T09:00:00Z"
sessions:
used: 2
max: 2
idle_timeout_seconds: 1800
finished_at: null
progress:
answered_items: 14
max_items: 25
current_item:
id: 01928f7b-2222-7a2b-8c3d-4e5f6a7b8ca0
sequence: 16
prompt: "Реализуйте LRU-кеш с операциями get и put за O(1)."
content:
format: practice
languages: [python]
max_source_length: 20000
public_examples:
- input: "put(1,1); put(2,2); get(1); put(3,3); get(2)"
expected_output: "1, -1"
practices:
- kind: main
item_id: 01928f7b-2222-7a2b-8c3d-4e5f6a7b8c99
status: finished
submitted_at: "2026-11-20T10:09:00Z"
verdict:
score: 2
max_score: 3
groups:
- group: 1
passed: true
- group: 2
passed: true
- group: 3
passed: false
failure_reason: null
- kind: additional
item_id: 01928f7b-2222-7a2b-8c3d-4e5f6a7b8ca0
status: not_started
submitted_at: null
verdict: null
failure_reason: null
AssessmentAttemptInsufficientBank:
summary: Attempt ended because the bank could not cover the blueprint
description: >-
The bank ran out of unseen families for a required domain within the
item limit. The attempt ended without a confirmed grade instead of
repeating a family; its result has outcome not_determined, and it does
not count against the retry rules.
value:
id: 01928f7c-5555-7a2b-8c3d-4e5f6a7b8c9d
version: 10
specialization: network_engineer
target_grade: middle
task_language: null
mode: adaptive
state: insufficient_bank
versions:
policy_version: 2
bank_version: network.2026-11.1
algorithm_version: irt-1pl-eap.1
started_at: "2026-11-21T12:00:00Z"
expires_at: "2026-11-24T12:00:00Z"
sessions:
used: 1
max: 2
idle_timeout_seconds: 1800
finished_at: "2026-11-21T12:31:00Z"
progress:
answered_items: 8
max_items: 25
current_item: null
practices:
- kind: main
item_id: 01928f7c-6666-7a2b-8c3d-4e5f6a7b8c99
status: not_started
submitted_at: null
verdict: null
failure_reason: null
AssessmentChoiceAnswer:
summary: Answer item 1 of version 1
value:
expected_version: 1
item_id: 01928f7a-4a10-7b2c-9d3e-5f6a7b8c9d01
answer:
format: choice
option_ids: [x9]
AssessmentOrderAnswer:
summary: Answer item 2 with every element once
value:
expected_version: 2
item_id: 01928f7a-4a10-7b2c-9d3e-5f6a7b8c9d02
answer:
format: order
element_ids: [a7, b1, c2, d3]
AssessmentNumberAnswer:
summary: Number answer
value:
expected_version: 3
item_id: 01928f7a-4a10-7b2c-9d3e-5f6a7b8c9d03
answer:
format: number
number: 254
AssessmentStringAnswer:
summary: String answer
value:
expected_version: 4
item_id: 01928f7a-4a10-7b2c-9d3e-5f6a7b8c9d04
answer:
format: string
text: Retry-After
AssessmentFindErrorAnswer:
summary: Find-error answer for the resumed item
value:
expected_version: 7
item_id: 01928f7b-2222-7a2b-8c3d-4e5f6a7b8c06
answer:
format: find_error
line_numbers: [5]
AssessmentConfigurationAnswer:
summary: Configuration answer
value:
expected_version: 7
item_id: 01928f7c-6666-7a2b-8c3d-4e5f6a7b8c07
answer:
format: configuration
config: |-
interface GigabitEthernet0/1
ip access-group BLOCK_TELNET in
AssessmentPracticeAnswer:
summary: Main practice solution
description: >-
Sent with expected_version 16 for the first submission. After a failed
verdict the client sends it again with the current version, such as 18
in AssessmentAttemptSandboxFailed; the same source then queues again.
value:
expected_version: 16
item_id: 01928f7b-2222-7a2b-8c3d-4e5f6a7b8c99
answer:
format: practice
language: python
source_code: |-
def merge_intervals(intervals):
result = []
for start, end in sorted(intervals):
if result and start <= result[-1][1]:
result[-1][1] = max(result[-1][1], end)
else:
result.append([start, end])
return result
AssessmentFinalization:
summary: Finalize version 20
value:
expected_version: 20
AssessmentDemoBasicResult:
summary: demo_basic result with a confirmed grade and no uncertainty
description: >-
demo_basic computes no ability estimate, so `uncertainty` and `strength`
are null rather than zero, and no percentile is shown. The pass mark
comes from basic grading policy version 1, and the limitations name the
uncalibrated thresholds, the demo bank, and the missing practice. A
first confirmation is not a promotion, so the higher grade can be
tested at once. The result never changes; a repeated finalize returns
the completed attempt, and this read returns the same result.
value:
attempt_id: 01928f7a-3c4d-7e5f-8a9b-0c1d2e3f4a5b
specialization: backend
target_grade: junior
task_language: go
mode: demo_basic
versions:
policy_version: 1
bank_version: backend-demo.2026-10.1
algorithm_version: basic-raw-score.1
outcome: confirmed
not_determined_reason: null
confirmed_grade: junior
previous_confirmed_grade: null
strength: null
calibration_status: uncalibrated
limitations:
[uncalibrated_thresholds, demo_bank, practice_not_included, unproctored]
uncertainty: null
basic_score:
points: 9
max_points: 12
pass_points: 8
practices: []
gaps: []
durations:
items_seconds: 1260
practice_seconds: null
next_steps:
- action: take_higher_grade
grade: middle
available_at: null
decided_at: "2026-10-08T10:24:00Z"
AssessmentAdaptiveResult:
summary: Adaptive promotion confirmed with medium strength
description: >-
Illustrative values, continuing AssessmentAttemptAdditionalPracticePending.
The additional practice raised P_G to 0.84, in the medium band of the
policy version, so the grade is confirmed with medium strength. The
candidate already had junior, so this is a
promotion, and the next one waits for the promotion interval. The
thresholds are uncalibrated until the pilot.
value:
attempt_id: 01928f7b-1111-7a2b-8c3d-4e5f6a7b8c9d
specialization: backend
target_grade: middle
task_language: python
mode: adaptive
versions:
policy_version: 2
bank_version: backend.2026-11.3
algorithm_version: irt-1pl-eap.1
outcome: confirmed
not_determined_reason: null
confirmed_grade: middle
previous_confirmed_grade: junior
strength: medium
calibration_status: uncalibrated
limitations: [uncalibrated_thresholds, unproctored]
uncertainty:
theta: 0.62
standard_error: 0.24
interval_95:
low: 0.15
high: 1.09
p_grade: 0.84
basic_score: null
practices:
- kind: main
verdict:
score: 2
max_score: 3
groups:
- group: 1
passed: true
- group: 2
passed: true
- group: 3
passed: false
- kind: additional
verdict:
score: 3
max_score: 3
groups:
- group: 1
passed: true
- group: 2
passed: true
- group: 3
passed: true
gaps:
- domain: concurrency
title: Конкурентность
durations:
items_seconds: 1980
practice_seconds: 1500
next_steps:
- action: take_higher_grade
grade: senior
available_at: "2027-02-18T10:30:00Z"
decided_at: "2026-11-20T10:30:00Z"
AssessmentNotConfirmedResult:
summary: Adaptive attempt not confirmed after the additional practice
description: >-
P_G stayed below 0.80 after the additional practice, so middle is not
confirmed, and the candidate keeps no confirmed grade. After a failure,
including the first test, junior can be tested at once; accepting junior
on the evidence of this attempt is offered; middle opens again after the
same-grade retry interval.
value:
attempt_id: 01928f7d-7777-7a2b-8c3d-4e5f6a7b8c9d
specialization: backend
target_grade: middle
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: null
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:
- kind: main
verdict:
score: 1
max_score: 3
groups:
- group: 1
passed: true
- group: 2
passed: false
- group: 3
passed: false
- kind: additional
verdict:
score: 1
max_score: 3
groups:
- group: 1
passed: true
- group: 2
passed: false
- group: 3
passed: false
gaps:
- domain: databases
title: Базы данных
durations:
items_seconds: 2100
practice_seconds: 1800
next_steps:
- action: take_lower_grade
grade: junior
available_at: null
- action: accept_lower_grade
grade: junior
available_at: null
- action: retake_same_grade
grade: middle
available_at: "2026-12-22T11:00:00Z"
decided_at: "2026-11-22T11:00:00Z"
AssessmentInsufficientBankResult:
summary: Attempt without a decision because the bank was insufficient
value:
attempt_id: 01928f7c-5555-7a2b-8c3d-4e5f6a7b8c9d
specialization: network_engineer
target_grade: middle
task_language: null
mode: adaptive
versions:
policy_version: 2
bank_version: network.2026-11.1
algorithm_version: irt-1pl-eap.1
outcome: not_determined
not_determined_reason: insufficient_bank
confirmed_grade: null
previous_confirmed_grade: junior
strength: null
calibration_status: uncalibrated
limitations: [uncalibrated_thresholds, unproctored]
uncertainty: null
basic_score: null
practices: []
gaps: []
durations:
items_seconds: 1860
practice_seconds: null
next_steps: []
decided_at: "2026-11-21T12:31:00Z"
AssessmentSpecializationNotInQuestionnaire:
summary: The specialization is not in the questionnaire
value:
type: urn:lincodex:problem:validation_failed
title: Request validation failed
status: 400
code: validation_failed
detail: One or more request fields are invalid.
trace_id: 9f0a1b2c-3d4e-4f5a-8b6c-7d8e9f0a1b2c
errors:
- in: body
pointer: /specialization
code: invalid
message: The value does not match the contract.
AssessmentAnswerUnknownOption:
summary: The selected option does not belong to the item
value:
type: urn:lincodex:problem:validation_failed
title: Request validation failed
status: 400
code: validation_failed
detail: One or more request fields are invalid.
trace_id: 0a1b2c3d-4e5f-4a6b-9c7d-8e9f0a1b2c3d
errors:
- in: body
pointer: /answer/option_ids/0
code: invalid
message: The value does not match the contract.
AssessmentAnswerUnknownField:
summary: The client sent its own score
value:
type: urn:lincodex:problem:validation_failed
title: Request validation failed
status: 400
code: validation_failed
detail: One or more request fields are invalid.
trace_id: 1b2c3d4e-5f6a-4b7c-8d8e-9f0a1b2c3d4e
errors:
- in: body
pointer: ""
code: invalid
message: The value does not match the contract.
AssessmentItemNotCurrent:
summary: The answered item is not the current item, or it already has another answer
value:
type: urn:lincodex:problem:state_conflict
title: Resource state conflict
status: 409
code: state_conflict
detail: The resource is in a state that does not allow this operation.
trace_id: 2c3d4e5f-6a7b-4c8d-9e9f-0a1b2c3d4e5f
AssessmentFinalizeNotReady:
summary: Premature finalize; the problem does not list the unfinished parts
description: >-
Problem has no extension fields. The client reads what remains from the
attempt: `state`, `progress`, `current_item`, and `practices`.
value:
type: urn:lincodex:problem:state_conflict
title: Resource state conflict
status: 409
code: state_conflict
detail: The resource is in a state that does not allow this operation.
trace_id: 6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9e
AssessmentAttemptNotAvailable:
summary: No attempt can start for the category now
value:
type: urn:lincodex:problem:state_conflict
title: Resource state conflict
status: 409
code: state_conflict
detail: The resource is in a state that does not allow this operation.
trace_id: 3d4e5f6a-7b8c-4d9e-8f0a-1b2c3d4e5f6a
AssessmentResultNotReady:
summary: The attempt has no result yet
value:
type: urn:lincodex:problem:state_conflict
title: Resource state conflict
status: 409
code: state_conflict
detail: The resource is in a state that does not allow this operation.
trace_id: 4e5f6a7b-8c9d-4e0f-9a1b-2c3d4e5f6a7b
AssessmentStaleVersion:
summary: The command carried a stale expected_version
description: >-
Another tab or device changed the attempt after the client read version
1. Nothing was stored; the client reads the attempt again and continues
from its current item. The repository answers a stale version with 412,
not 409.
value:
type: urn:lincodex:problem:version_conflict
title: Resource version conflict
status: 412
code: version_conflict
detail: The resource changed after it was read. Read it again before retrying.
trace_id: 5f6a7b8c-9d0e-4f1a-8b2c-3d4e5f6a7b8c