/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { GradeResultMentor } from './GradeResultMentor'; import type { GradeResultPlatform } from './GradeResultPlatform'; import type { GradeResultStudent } from './GradeResultStudent'; import type { NullEnum } from './NullEnum'; import type { OverrideStatusEnum } from './OverrideStatusEnum'; import type { Status869Enum } from './Status869Enum'; /** * Full representation, including the override and publish record. * * ``publish_error`` / ``override_publish_error`` are deliberately absent: * they hold raw exception text meant for operators, so the API exposes only * the status that says a publish failed. */ export type GradeResultDetail = { readonly id: string; readonly mentor: GradeResultMentor; readonly student: GradeResultStudent; readonly platform: GradeResultPlatform; /** * Normalized percentage score between 0 and 1. */ readonly score: number; /** * Normalized percentage score between 0 and 1. */ readonly override_score: number | null; readonly effective_score: number; /** * Whether the AI score reached the LMS. * * * `pending` - Pending * * `published` - Published * * `failed` - Failed */ readonly status: Status869Enum; /** * Whether the most recent override reached the LMS, including one that cleared the override — 'published' with a null override_score means the reset back to the AI score is what reached the LMS. * * * `pending` - Pending * * `published` - Published * * `failed` - Failed */ readonly override_status: (OverrideStatusEnum | NullEnum) | null; readonly graded_at: string; readonly overridden_at: string | null; readonly session_id: string; readonly feedback: string; /** * Snapshot of the rubric used at grading time. */ readonly rubric_snapshot: any; /** * Additional metadata from the evaluation (e.g. per-criterion scores). */ readonly evaluation_metadata: any; readonly total_points: number; /** * LMS identifiers: type, course_id, usage_id, etc. */ readonly lms_context: any; readonly published_at: string | null; /** * The override expressed the way the rubric author wrote it. */ readonly override_points: number | null; readonly override_feedback: string; /** * edX username */ readonly overridden_by: string | null; };