Add test submission feature for LLM checks without creating submissions; update API and UI components to support new functionality, enhancing task evaluation for teachers and challenge authors. Update localization for test check messages in English and Russian.

This commit is contained in:
2025-12-10 12:41:03 +03:00
parent 173954f685
commit ec79dd58aa
6 changed files with 408 additions and 0 deletions

View File

@@ -226,3 +226,19 @@ export interface SystemStatsV2 {
chainsDetailed: ChainDetailed[]
}
// ========== Submissions / Checking ==========
export interface SubmitRequest {
userId: string
taskId: string
result: string
// Флаг тестового режима: проверка без создания Submission и очереди
isTest?: boolean
}
export interface TestSubmissionResult {
isTest: true
status: Exclude<SubmissionStatus, 'pending' | 'in_progress'>
feedback?: string
}