lct-16 и половина lct-19: разбор, отчёт, внешний монитор, эталон
Эталонный диалог собирается кодом из фактов и чек-листа: написанный руками, он разошёлся бы с фактами при первой же правке сценария, и курсанта оштрафовали бы за правильный ответ. Отчёт: метрики фактом против норматива со ссылкой, отметка E1 на каждый недобытый факт с эталонным вопросом, расхождение самооценки — что курсант заметил сам, чего не заметил, что отметил зря. Не заметил — самое ценное для разбора. Внешний монитор — не отдельное приложение, а другой режим отрисовки тех же событий: крупный таймер опроса, ход разговора, карточка, после оценки разбор на весь экран. Коррекция преподавателем сохраняет автооценку рядом: видно, что скорректировано и кем. Найдено: все метрики весили одинаково, и курсант, не задавший ни одного вопроса, но заполнивший карточку руками, получал 87 из 100. Предварительные веса (полнота опроса — 4) дают 74; окончательные утверждает методист, вопрос записан в DEBRIEF.md.
This commit is contained in:
parent
25143645d3
commit
fadfa3e479
20 changed files with 781 additions and 9 deletions
|
|
@ -13,8 +13,9 @@ from sqlalchemy.ext.asyncio import AsyncSession
|
|||
|
||||
from app.db import repo
|
||||
from app.db.base import get_session
|
||||
from app.domain.events import SessionMode
|
||||
from app.domain.events import SessionMode, SessionReport
|
||||
from app.scenarios import store
|
||||
from app.scoring.report import build as build_report
|
||||
from app.session.hub import hub
|
||||
|
||||
router = APIRouter(prefix="/api/sessions", tags=["sessions"])
|
||||
|
|
@ -103,6 +104,53 @@ async def checklist(session_id: UUID) -> list[ChecklistItemOut]:
|
|||
]
|
||||
|
||||
|
||||
class ScoreOverride(BaseModel):
|
||||
"""Коррекция оценки преподавателем. Автооценка сохраняется рядом."""
|
||||
|
||||
score_final: float
|
||||
comment: str = ""
|
||||
author: str = "преподаватель"
|
||||
|
||||
|
||||
def _live(session_id: UUID):
|
||||
state = hub.get(session_id)
|
||||
if state is None:
|
||||
raise HTTPException(status_code=404, detail="session_not_found")
|
||||
scenario = store.get(state.scenario_id)
|
||||
if scenario is None:
|
||||
raise HTTPException(status_code=404, detail="scenario_not_found")
|
||||
return state, scenario
|
||||
|
||||
|
||||
@router.get("/{session_id}/report", response_model=SessionReport)
|
||||
async def report(session_id: UUID) -> SessionReport:
|
||||
"""Разбор сессии: метрики, отметки, эталонные вопросы, самооценка, пометки.
|
||||
|
||||
Оценка курсанту открывается событием `score.ready` после самооценки; здесь
|
||||
прав нет — в прототипе нет входа, и точка доступна всем, у кого есть номер
|
||||
занятия (docs/arch/CONTRACT.md).
|
||||
"""
|
||||
state, scenario = _live(session_id)
|
||||
if state.score is None:
|
||||
raise HTTPException(status_code=409, detail="score_not_ready")
|
||||
return build_report(session_id, state, scenario)
|
||||
|
||||
|
||||
@router.patch("/{session_id}/report", response_model=SessionReport)
|
||||
async def override(session_id: UUID, body: ScoreOverride) -> SessionReport:
|
||||
"""Тренажёр готовит материал, преподаватель имеет последнее слово."""
|
||||
state, scenario = _live(session_id)
|
||||
if state.score is None:
|
||||
raise HTTPException(status_code=409, detail="score_not_ready")
|
||||
state.score = {
|
||||
**state.score,
|
||||
"score_final": body.score_final,
|
||||
"overridden_by": body.author,
|
||||
"override_comment": body.comment,
|
||||
}
|
||||
return build_report(session_id, state, scenario)
|
||||
|
||||
|
||||
@router.get("", response_model=list[SessionOut])
|
||||
async def listing(
|
||||
trainee: UUID | None = None,
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@ async def _handle(session_id: UUID, state, event) -> None:
|
|||
return
|
||||
checklist_id, question = nxt
|
||||
state.hints_shown.append(checklist_id)
|
||||
state.hints_log.append((checklist_id, now_utc()))
|
||||
shown = HintShown(checklist_id=checklist_id, question=question)
|
||||
hub.broadcast(session_id, shown)
|
||||
if hub.journal:
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ from pydantic import TypeAdapter, ValidationError
|
|||
|
||||
from app.domain.events import (
|
||||
CallEndReason,
|
||||
ScoreReady,
|
||||
CallIncoming,
|
||||
ErrorEvent,
|
||||
ErrorKind,
|
||||
|
|
@ -131,6 +132,14 @@ async def control(ws: WebSocket, session_id: UUID) -> None:
|
|||
case "session.stop":
|
||||
await _stop(session_id)
|
||||
case "instructor_note.add":
|
||||
state = hub.get(session_id)
|
||||
if state is not None:
|
||||
state.notes.append({
|
||||
"type": "instructor_note.shown",
|
||||
"transcript_ref": event.transcript_ref,
|
||||
"text": event.text,
|
||||
"author": "преподаватель",
|
||||
})
|
||||
hub.to_observers(
|
||||
session_id,
|
||||
InstructorNoteShown(
|
||||
|
|
@ -147,6 +156,17 @@ async def control(ws: WebSocket, session_id: UUID) -> None:
|
|||
state = hub.get(session_id)
|
||||
if state is not None:
|
||||
hub.to_observers(session_id, ReferenceStarted(scenario_id=state.scenario_id))
|
||||
case "score.override":
|
||||
state = hub.get(session_id)
|
||||
if state is not None and state.score is not None:
|
||||
# Автооценка остаётся рядом: видно, что скорректировано и кем.
|
||||
state.score = {
|
||||
**state.score,
|
||||
"score_final": float(event.verdict) if event.verdict.replace(".", "", 1).isdigit() else state.score["score_auto"],
|
||||
"overridden_by": "преподаватель",
|
||||
"override_comment": event.comment,
|
||||
}
|
||||
hub.to_observers(session_id, ScoreReady(session_id=session_id))
|
||||
case "director.inject":
|
||||
# Поведение звонящего — карточка lct-07, пульт — lct-22.
|
||||
# До них директива копится в состоянии и видна в разборе.
|
||||
|
|
|
|||
|
|
@ -511,6 +511,21 @@ class SelfAssessment(BaseModel):
|
|||
submitted_at: datetime
|
||||
|
||||
|
||||
class SelfAssessmentDiff(BaseModel):
|
||||
"""Расхождение самооценки с автооценкой — отдельный материал для преподавателя.
|
||||
|
||||
Курсант, не заметивший, что пропустил вопрос о пострадавших, — более важный
|
||||
случай, чем сама ошибка (docs/product/DEBRIEF.md).
|
||||
"""
|
||||
|
||||
#: Пропустил и сам это заметил.
|
||||
noticed: list[str] = []
|
||||
#: Пропустил и не заметил — самое ценное для разбора.
|
||||
unnoticed: list[str] = []
|
||||
#: Отметил как пропущенное, хотя на деле спросил.
|
||||
overcautious: list[str] = []
|
||||
|
||||
|
||||
class SessionReport(BaseModel):
|
||||
"""Единица истории: из отчётов складываются профиль, дельта попыток, аналитика."""
|
||||
|
||||
|
|
@ -526,6 +541,8 @@ class SessionReport(BaseModel):
|
|||
missed_checklist: list[str]
|
||||
hints_used: list[HintUsage]
|
||||
self_assessment: SelfAssessment | None = None
|
||||
self_assessment_diff: SelfAssessmentDiff | None = None
|
||||
notes: list[InstructorNoteShown] = []
|
||||
score_auto: float
|
||||
score_final: float
|
||||
overridden_by: str | None = None
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ from app.domain.kio import KIO, missing_fields
|
|||
from app.domain.taxonomy import ERRORS, Competency, Finding, FindingSource
|
||||
from app.domain.timers import GOST_REF, NORMATIVES, TimerCode
|
||||
from app.scenarios.schema import Scenario
|
||||
from app.scoring.taxonomy import METRIC_MAP
|
||||
from app.scoring.taxonomy import METRIC_MAP, METRIC_WEIGHTS
|
||||
from app.session.timers import SessionTimers
|
||||
|
||||
SOURCE_BY_CODE = {
|
||||
|
|
@ -64,7 +64,8 @@ class _Builder:
|
|||
def add(self, key: str, title: str, fact: str, norm: str, passed: bool, ref: str | None = None,
|
||||
finding: str | None = None) -> None:
|
||||
self.result.metrics.append(
|
||||
Metric(key=key, title=title, fact=fact, norm=norm, ref=ref, passed=passed)
|
||||
Metric(key=key, title=title, fact=fact, norm=norm, ref=ref, passed=passed,
|
||||
weight=METRIC_WEIGHTS.get(key, 1.0))
|
||||
)
|
||||
if passed:
|
||||
return
|
||||
|
|
@ -156,6 +157,7 @@ def evaluate(
|
|||
norm="все обязательные факты",
|
||||
ref="чек-лист сценария",
|
||||
passed=len(got) == len(required),
|
||||
weight=METRIC_WEIGHTS["checklist_completeness"],
|
||||
)
|
||||
)
|
||||
# По отметке на каждый недобытый факт: в разборе нужен конкретный
|
||||
|
|
|
|||
70
backend/app/scoring/reference.py
Normal file
70
backend/app/scoring/reference.py
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
"""Эталонный диалог: как должен был пройти опрос.
|
||||
|
||||
Собирается **кодом** из чек-листа и фактов сценария. Писать его руками нельзя:
|
||||
методист поправит факт и забудет эталон, и курсант получит штраф за правильный
|
||||
ответ (docs/spec/SCENARIO-FORMAT.md).
|
||||
|
||||
Работает в двух местах: в разборе — «вот какой вопрос стоял на этом шаге»
|
||||
(docs/product/DEBRIEF.md), и в эталон-плеере на внешнем мониторе, когда
|
||||
появится предгенерация озвучки (lct-19, требует ключа LLM).
|
||||
"""
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
from app.dialog.caller import REVEAL
|
||||
from app.dialog.persona import BASE_MOOD
|
||||
from app.domain.events import Mood
|
||||
from app.scenarios.schema import Scenario
|
||||
|
||||
|
||||
class ReferenceStep(BaseModel):
|
||||
"""Шаг эталонного опроса: вопрос оператора и ответ звонящего на него."""
|
||||
|
||||
checklist_id: str
|
||||
question: str
|
||||
fact_id: str | None = None
|
||||
answer: str | None = None
|
||||
required: bool = False
|
||||
hidden: bool = False
|
||||
|
||||
|
||||
class ReferenceDialog(BaseModel):
|
||||
scenario_id: str
|
||||
first_line: str
|
||||
steps: list[ReferenceStep]
|
||||
|
||||
|
||||
def build(scenario: Scenario) -> ReferenceDialog:
|
||||
facts = {fact.id: fact for fact in scenario.facts}
|
||||
required = set(scenario.ground_truth.required_facts)
|
||||
mood = BASE_MOOD.get(scenario.persona.base, Mood.CALM)
|
||||
|
||||
steps: list[ReferenceStep] = []
|
||||
for item in scenario.checklist:
|
||||
if not item.question:
|
||||
continue
|
||||
fact = facts.get(item.fact) if item.fact else None
|
||||
steps.append(
|
||||
ReferenceStep(
|
||||
checklist_id=item.id,
|
||||
question=item.question,
|
||||
fact_id=fact.id if fact else None,
|
||||
# Ответ звонящего — тем же шаблоном, каким он отвечает в живом
|
||||
# звонке: эталон должен звучать так же, а не литературно.
|
||||
answer=REVEAL[mood].format(fact=fact.value) if fact else None,
|
||||
required=bool(fact and fact.id in required),
|
||||
hidden=bool(fact and fact.hidden),
|
||||
)
|
||||
)
|
||||
return ReferenceDialog(scenario_id=scenario.id, first_line=scenario.first_line, steps=steps)
|
||||
|
||||
|
||||
def missed_steps(scenario: Scenario, revealed: list[str] | None) -> list[ReferenceStep]:
|
||||
"""Шаги, которые курсант не отработал. `None` — слот-автомата не было."""
|
||||
if revealed is None:
|
||||
return []
|
||||
return [
|
||||
step
|
||||
for step in build(scenario).steps
|
||||
if step.fact_id and step.fact_id not in revealed and step.required
|
||||
]
|
||||
93
backend/app/scoring/report.py
Normal file
93
backend/app/scoring/report.py
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
"""Сборка отчёта сессии — единицы истории.
|
||||
|
||||
Из отчётов складываются профиль курсанта, дельта попыток и аналитика группы.
|
||||
Ни одной отметки без обоснования: у каждой есть код, факт и норматив
|
||||
(docs/product/DEBRIEF.md).
|
||||
"""
|
||||
|
||||
from uuid import UUID
|
||||
|
||||
from app.domain.events import (
|
||||
CompetencyScore,
|
||||
HintShown,
|
||||
HintUsage,
|
||||
InstructorNoteShown,
|
||||
Metric,
|
||||
SelfAssessment,
|
||||
SelfAssessmentDiff,
|
||||
SessionReport,
|
||||
)
|
||||
from app.domain.taxonomy import Finding
|
||||
from app.scenarios.schema import Scenario
|
||||
from app.scoring.reference import build as build_reference
|
||||
|
||||
|
||||
def assess_difference(
|
||||
scenario: Scenario, revealed: list[str] | None, missed_claimed: list[str]
|
||||
) -> SelfAssessmentDiff:
|
||||
"""Сверить, что курсант считает пропущенным, с тем, что он пропустил на деле."""
|
||||
reference = build_reference(scenario)
|
||||
required = {step.checklist_id: step.fact_id for step in reference.steps if step.required}
|
||||
really_missed = {
|
||||
checklist_id
|
||||
for checklist_id, fact_id in required.items()
|
||||
if revealed is not None and fact_id not in revealed
|
||||
}
|
||||
claimed = set(missed_claimed)
|
||||
return SelfAssessmentDiff(
|
||||
noticed=sorted(claimed & really_missed),
|
||||
unnoticed=sorted(really_missed - claimed),
|
||||
overcautious=sorted(claimed - really_missed),
|
||||
)
|
||||
|
||||
|
||||
def build(session_id: UUID, state, scenario: Scenario) -> SessionReport:
|
||||
score = state.score or {}
|
||||
revealed = [fact.id for fact in state.slots.revealed_facts()] if state.slots else None
|
||||
reference = build_reference(scenario)
|
||||
|
||||
self_assessment = None
|
||||
difference = None
|
||||
if state.self_assessment is not None:
|
||||
self_assessment = SelfAssessment(
|
||||
missed=state.self_assessment["missed"],
|
||||
comment=state.self_assessment.get("comment", ""),
|
||||
submitted_at=state.ended_at or state.transcript[-1].at,
|
||||
)
|
||||
difference = assess_difference(scenario, revealed, self_assessment.missed)
|
||||
|
||||
questions = {step.checklist_id: step.question for step in reference.steps}
|
||||
missed_checklist = [
|
||||
step.checklist_id
|
||||
for step in reference.steps
|
||||
if step.required and revealed is not None and step.fact_id not in revealed
|
||||
]
|
||||
|
||||
return SessionReport(
|
||||
session_id=session_id,
|
||||
scenario_id=scenario.id,
|
||||
mode=state.mode,
|
||||
attempt=state.attempt,
|
||||
transcript=list(state.transcript),
|
||||
findings=[Finding.model_validate(item) for item in score.get("findings", [])],
|
||||
metrics=[Metric.model_validate(item) for item in score.get("metrics", [])],
|
||||
competencies=[CompetencyScore.model_validate(item) for item in score.get("competencies", [])],
|
||||
# Эталонные вопросы по шагам: по каждому пропущенному пункту видно,
|
||||
# какой вопрос был правильным.
|
||||
reference_questions=[
|
||||
HintShown(checklist_id=step.checklist_id, question=step.question)
|
||||
for step in reference.steps
|
||||
],
|
||||
missed_checklist=missed_checklist,
|
||||
hints_used=[
|
||||
HintUsage(checklist_id=checklist_id, question=questions.get(checklist_id, ""), at=at)
|
||||
for checklist_id, at in state.hints_log
|
||||
],
|
||||
self_assessment=self_assessment,
|
||||
self_assessment_diff=difference,
|
||||
notes=[InstructorNoteShown.model_validate(note) for note in state.notes],
|
||||
score_auto=score.get("score_auto", 0.0),
|
||||
score_final=score.get("score_final", score.get("score_auto", 0.0)),
|
||||
overridden_by=score.get("overridden_by"),
|
||||
override_comment=score.get("override_comment"),
|
||||
)
|
||||
|
|
@ -19,6 +19,25 @@ METRIC_MAP: dict[str, tuple[ErrorCode, Competency]] = {
|
|||
"required_fields": (ErrorCode.E5, Competency.CARD),
|
||||
}
|
||||
|
||||
#: Вес метрики в детерминированной оценке.
|
||||
#:
|
||||
#: **Предварительные значения, требуют утверждения методистом.** Без весов все
|
||||
#: метрики равны, и курсант, не задавший ни одного вопроса, но заполнивший
|
||||
#: карточку руками, получает 87 из 100: «ответ за секунду» стоит столько же,
|
||||
#: сколько «добыл все обязательные факты». Опрос — то, ради чего существует
|
||||
#: тренажёр, поэтому он весит больше всего.
|
||||
METRIC_WEIGHTS: dict[str, float] = {
|
||||
"checklist_completeness": 4.0,
|
||||
"incident_type": 2.0,
|
||||
"dds_choice": 2.0,
|
||||
"address": 2.0,
|
||||
"required_fields": 2.0,
|
||||
"interview_time": 1.5,
|
||||
"victims_count": 1.0,
|
||||
"answer_time": 1.0,
|
||||
"callback": 1.0,
|
||||
}
|
||||
|
||||
#: Вес детерминированного слоя в итоговой оценке. Остальное — LLM-судья
|
||||
#: на мягкие критерии (E4), и не больше (docs/arch/BACKEND.md).
|
||||
DETERMINISTIC_WEIGHT = 0.6
|
||||
|
|
|
|||
|
|
@ -45,6 +45,9 @@ class SessionState:
|
|||
transcript: list[TranscriptEntry] = field(default_factory=list)
|
||||
timers: SessionTimers = field(default_factory=SessionTimers)
|
||||
hints_shown: list[str] = field(default_factory=list)
|
||||
#: Когда именно подсказывали — в разборе видно, какой пункт и на какой минуте.
|
||||
hints_log: list[tuple[str, datetime]] = field(default_factory=list)
|
||||
notes: list[dict] = field(default_factory=list)
|
||||
directives: list[str] = field(default_factory=list)
|
||||
|
||||
# Звонящий. Автомата нет, если не скачана модель эмбеддингов:
|
||||
|
|
|
|||
48
backend/tests/test_reference.py
Normal file
48
backend/tests/test_reference.py
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
"""Эталонный диалог собирается из фактов, а не пишется руками."""
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
from app.scenarios.loader import load_file
|
||||
from app.scoring.reference import build, missed_steps
|
||||
|
||||
LIBRARY = Path(__file__).resolve().parents[2] / "scenarios"
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def scenario():
|
||||
return load_file(LIBRARY / "fire-apartment-l2.yaml", LIBRARY)
|
||||
|
||||
|
||||
def test_every_checklist_question_becomes_a_step(scenario):
|
||||
reference = build(scenario)
|
||||
assert [step.checklist_id for step in reference.steps] == [
|
||||
item.id for item in scenario.checklist if item.question
|
||||
]
|
||||
assert reference.first_line == scenario.first_line
|
||||
|
||||
|
||||
def test_answers_come_from_facts_not_from_prose(scenario):
|
||||
"""Эталон не может разойтись с фактами: ответы взяты из них же."""
|
||||
reference = build(scenario)
|
||||
address = next(step for step in reference.steps if step.fact_id == "f_address")
|
||||
fact = next(fact for fact in scenario.facts if fact.id == "f_address")
|
||||
assert fact.value in address.answer
|
||||
|
||||
|
||||
def test_step_without_a_fact_has_no_answer(scenario):
|
||||
"""«Представьтесь» факта не добывает — и ответа в эталоне у него нет."""
|
||||
caller = next(step for step in build(scenario).steps if step.checklist_id == "q_caller")
|
||||
assert caller.fact_id is None and caller.answer is None
|
||||
assert not caller.required
|
||||
|
||||
|
||||
def test_missed_steps_are_only_the_required_ones(scenario):
|
||||
missed = missed_steps(scenario, revealed=["f_address"])
|
||||
assert [step.fact_id for step in missed] == ["f_what_burns", "f_people", "f_smoke", "f_gas"]
|
||||
assert all(step.question for step in missed), "в разборе нужен текст эталонного вопроса"
|
||||
|
||||
|
||||
def test_without_slot_machine_nothing_is_declared_missed(scenario):
|
||||
assert missed_steps(scenario, revealed=None) == []
|
||||
|
|
@ -258,3 +258,52 @@ def test_checklist_is_closed_until_the_call_is_over(client):
|
|||
after = client.get(f"/api/sessions/{session_id}/checklist")
|
||||
assert after.status_code == 200
|
||||
assert all(item["question"] for item in after.json())
|
||||
|
||||
|
||||
def test_report_shows_missed_questions_and_self_assessment_gap(client):
|
||||
"""Главное в разборе: по пропущенному пункту виден эталонный вопрос,
|
||||
а расхождение самооценки — отдельным блоком."""
|
||||
with lesson(client) as (session_id, _):
|
||||
with client.websocket_connect(f"/ws/call/{session_id}") as trainee:
|
||||
trainee.send_json({"type": "call.answer"})
|
||||
trainee.send_json({"type": "hint.request"})
|
||||
trainee.send_json({"type": "kio.patch", "fields": {"address": "улица Ленина, 14", "dds": "01"}})
|
||||
trainee.send_json({"type": "call.hangup"})
|
||||
wait_for(lambda: hub.get(session_id).score is not None)
|
||||
# Курсант считает, что пропустил только адрес — а не добыл он всё.
|
||||
trainee.send_json({"type": "self_assessment.submit", "missed": ["q_address"], "comment": "торопился"})
|
||||
wait_for(lambda: hub.get(session_id).self_assessed)
|
||||
|
||||
response = client.get(f"/api/sessions/{session_id}/report")
|
||||
assert response.status_code == 200, response.text
|
||||
report = response.json()
|
||||
|
||||
assert report["missed_checklist"], "не добытые пункты должны быть перечислены"
|
||||
questions = {item["checklist_id"]: item["question"] for item in report["reference_questions"]}
|
||||
assert all(questions.get(item) for item in report["missed_checklist"]), "у пропущенного нет эталонного вопроса"
|
||||
|
||||
for finding in report["findings"]:
|
||||
assert finding["code"] and finding["fact"], "отметка без обоснования"
|
||||
|
||||
diff = report["self_assessment_diff"]
|
||||
assert "q_address" in diff["overcautious"] or "q_address" in diff["noticed"]
|
||||
assert diff["unnoticed"], "курсант не заметил часть пропущенного — это и есть материал разбора"
|
||||
assert report["hints_used"], "использованные подсказки попадают в разбор"
|
||||
|
||||
|
||||
def test_instructor_correction_keeps_the_automatic_score(client):
|
||||
with lesson(client) as (session_id, _):
|
||||
with client.websocket_connect(f"/ws/call/{session_id}") as trainee:
|
||||
trainee.send_json({"type": "call.answer"})
|
||||
trainee.send_json({"type": "call.hangup"})
|
||||
wait_for(lambda: hub.get(session_id).score is not None)
|
||||
|
||||
auto = client.get(f"/api/sessions/{session_id}/report").json()["score_auto"]
|
||||
corrected = client.patch(
|
||||
f"/api/sessions/{session_id}/report",
|
||||
json={"score_final": 80.0, "comment": "связь рвалась не по вине курсанта"},
|
||||
).json()
|
||||
|
||||
assert corrected["score_final"] == 80.0
|
||||
assert corrected["score_auto"] == auto, "автооценка должна сохраниться рядом"
|
||||
assert corrected["overridden_by"] == "преподаватель"
|
||||
|
|
|
|||
Loading…
Reference in a new issue