35aed9209c
refactor(actions): 更新 Prisma客户端导入方式
...
-将 Prisma 客户端的导入方式改为从 '@prisma/client' 导入
- 实例化一个新的 PrismaClient 对象
2025-05-16 03:20:50 +08:00
e1b5231f90
feat(ai): 添加 AI 代码优化功能
...
- 实现了 AI代码优化的功能,包括语法错误修复、性能提升、代码可读性增强等
- 新增 AIProblemEditor 组件,用于展示和编辑优化后的代码
- 在问题页面集成 AI 优化功能,用户可以切换普通编辑器和 AI 优化编辑器
- 添加了优化代码的输入输出类型定义和验证
2025-05-16 02:40:07 +08:00
1d0b74136f
refactor(i18n): replace hardcoded texts with i18n message keys for auth
2025-04-16 00:40:36 +08:00
5465450143
feat(auth): update sign-in and sign-up flow with redirect support
Build & Push Judge4c Docker Image / build-and-push-judge4c-docker-image (., Dockerfile, judge4c) (push) Failing after 0s
2025-04-14 21:27:06 +08:00
b18dedcc23
feat(judge): create testcaseResult for TLE and update relation field
2025-04-14 15:33:18 +08:00
9b82088110
feat(judge): add language-specific compilation commands for C and C++
2025-04-14 10:28:39 +08:00
db620ceae3
feat(judge): add memory usage tracking for accepted solutions
2025-04-13 17:28:13 +08:00
03c47f76d2
feat(judge): set executionTime as max testcase runtime on AC
2025-04-13 13:39:36 +08:00
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