export interface GradingQueueItem {
  id: number;
  student_name: string;
  student_id: number;
  exam_title: string;
  exam_id: number;
  skill: "writing" | "speaking";
  submitted_at: string;
  status: "pending" | "in_progress" | "graded";
}

export interface RubricCriteria {
  name: string;
  max_score: number;
  description: string;
  score?: number;
}

export interface AIGradeSuggestion {
  criteria_scores: { name: string; score: number; rationale: string }[];
  overall_band: number;
  confidence: number;
}

export interface GradeSubmission {
  attempt_id: number;
  skill: "writing" | "speaking";
  criteria_scores: { name: string; score: number }[];
  feedback?: string;
}

export interface StudentResponse {
  type: "writing" | "speaking";
  text?: string;
  audio_url?: string;
  prompt_text: string;
  task_type?: string;
}
