lct-35: преподаватель подтверждает, снимает и добавляет отметки D1–D6 с пересчётом балла

This commit is contained in:
Ivan Gerasimov 2026-09-27 16:13:21 +03:00
commit 4489152c95
21 changed files with 923 additions and 21 deletions

View file

@ -267,6 +267,22 @@ export interface Finding {
competency?: Competency | null;
transcript_ref?: string | null;
at?: string | null;
metric_key?: string | null;
card?: number | null;
service?: string | null;
author?: string | null;
review?: FindingReview | null;
}
/** Решение преподавателя по отметке на разборе. */
export type FindingDecision = "confirmed" | "dismissed";
/** Кто, когда и почему подтвердил или снял отметку. Сама отметка остаётся. */
export interface FindingReview {
decision: FindingDecision;
reason: string;
author: string;
at: string;
}
/** Источник объяснимой отметки; `judge` оставлен для старых отчётов. */
@ -407,6 +423,10 @@ export interface Metric {
passed: boolean;
weight?: number;
credit?: number | null;
card?: number | null;
service?: string | null;
passed_auto?: boolean | null;
credit_auto?: number | null;
}
export interface ModeSet {
@ -608,6 +628,7 @@ export interface SessionReport {
self_assessment_diff?: SelfAssessmentDiff | null;
notes?: Array<InstructorNoteShown>;
score_auto: number;
score_reviewed?: number | null;
score_final: number;
overridden_by?: string | null;
override_comment?: string | null;