Commit Graph

5 Commits

Author SHA1 Message Date
7d7e503c8e feat(judge): add revalidation for problem page after submission 2025-04-13 11:16:26 +08:00
a81be5c0f9 feat(judge): implement full testcase support and result recording
- Add testcase handling with proper input/output validation
- Modify run function to process multiple testcases sequentially
- Implement testcase result recording in database
- Improve error handling and status updates
- Add related type definitions for testcases
2025-04-11 16:01:44 +08:00
d64f95b4e7 refactor(judge): rewrite judge service to use database submissions
- Change return type from JudgeResult to Submission
- Add database operations to persist submission records
- Improve error handling and container cleanup
- Update compile and run functions to work with submissions
- Add proper status updates throughout the process
2025-04-11 09:52:56 +08:00
895c3f779d refactor(judge): fetch timeLimit and memoryLimit from Problem instead of DockerConfig 2025-04-10 21:59:11 +08:00
30fd6fd386 refactor(actions): move actions from @/app/actions to @/actions 2025-04-04 10:04:38 +08:00