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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user