Enhance test submission feature by adding optional hiddenInstructions field for temporary instructions during LLM checks; update API, UI components, and types to support this functionality, improving task evaluation for teachers and challenge authors.

This commit is contained in:
2025-12-10 14:50:17 +03:00
parent fb25422df1
commit 7b9cb044fa
4 changed files with 18 additions and 12 deletions

View File

@@ -136,6 +136,7 @@ export const TaskFormPage: React.FC = () => {
taskId: task.id,
result: testAnswer.trim(),
isTest: true,
hiddenInstructions: hiddenInstructions.trim() || undefined,
}).unwrap()
setTestStatus(result.status)