Commit Graph
190 Commits
Author SHA1 Message Date
xuyueandClaude Fable 5 90531720bb fix: build_display modify 模式补齐被 DROP 的表条目
标准答案 DROP 表后该表不在 sqlite_master 中,changed_tables 会静默
遗漏;用初始展示数据补齐并标记 dropped=True。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 01:10:04 -06:00
xuyueandClaude Fable 5 09501469e2 feat: SQL 题展示数据生成 build_display
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 01:01:32 -06:00
xuyueandClaude Fable 5 9f7f818d51 新增 SQL 题型:SQLite 内联判题(不依赖外部沙箱)
- SQL 作为语言接入现有提交流程,judge_task 按 language 分流到 SQLJudgeDispatcher
- judge/sql_runner.py:内存 SQLite 判题核心,查询题比结果集/增删改题比表状态,
  authorizer + progress_handler + max_page_count 三重防护
- dispatcher 提取 _process_judge_result/_push_status 供 SQL 判题复用(行为不变)
- 测试点通道支持 1.sql..N.sql 压缩包,出题只需数据脚本+标准答案
- Problem 增加 sql_config 字段;options 数据迁移注册 SQL 语言

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 17:23:13 -06:00
xuyue 180d75cb97 fix 2026-06-29 06:41:18 -06:00
xuyue 6ab2886f77 remove contest type 2026-05-26 23:10:27 -06:00
xuyue c6b368dc82 update 2026-05-25 22:24:53 -06:00
xuyueandClaude Sonnet 4.6 4d7eabd607 feat: integrate AST check into JudgeDispatcher with is_accepted() statistics
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 20:42:45 -06:00
xuyue e4e8b7759d update for django6 2026-05-09 05:57:30 -06:00
xuyue c466dfd3c6 change enum 2026-05-09 02:30:47 -06:00
xuyue 028ea6e5f9 fmt 2026-04-23 13:57:56 -06:00
xuyue 4168d41a16 删除无用代码并且新增流程图相关内容 2025-10-11 23:29:56 +08:00
xuyue 22d4a9057b add ws 2025-10-07 17:03:14 +08:00
Mikucat f347409789 feat: upgrade judge languages and remove python2 2024-01-31 16:01:43 +08:00
Mikucat 5307965efe chore: add more template 2024-01-31 16:01:43 +08:00
virusdefender 934edfc1bc 增加 javascript 支持 2021-09-28 15:43:38 +08:00
LiYang 99b145e37c fix go build 2021-09-14 09:51:19 +08:00
virusdefender 76c5aa4438 update compiler version 2021-08-07 16:34:33 +08:00
LiYang 6dda49592e Update languages.py 2020-07-11 19:23:17 +08:00
LiYang 267d704dae Update languages.py 2020-07-09 08:34:40 +08:00
LiYang f929e4bf56 Update languages.py 2020-07-08 09:46:08 +08:00
LiYang d53f6fd5ad 修复 Python3 代码中中文编码报错的问题 2020-05-06 14:34:53 +08:00
virusdefender c392cbd0d9 增大部分语言的编译时间 2019-09-22 14:55:17 +08:00
virusdefender eab80024a8 修复 JudgeServer task_number 并发更新的问题 2019-04-03 12:07:59 +08:00
virusdefender 36d8cc3e92 fix cpp lang seccomp rules 2019-03-28 10:48:55 +08:00
virusdefender 7e4132bed1 尝试修复 submission 中的竞争问题 2019-03-26 10:02:49 +08:00
virusdefender b963f2d5bc pass io mode to judge server 2019-03-13 17:57:59 +08:00
virusdefender 1adfd35615 解决 dispatcher 中部分数据库锁的问题 2019-03-12 14:58:14 +08:00
virusdefender a5f0c8eb31 remove celery and use dramatiq 2019-03-11 17:59:24 +08:00
virusdefender a52f383930 将编译选项修改为数据库存储 2019-01-05 14:12:17 +08:00
zema1 8ee1b514e3 Fixed problems in dispatcher, fixed testcase download error 2018-08-21 15:22:35 +08:00
virusdefender a3ee2ea212 忽略被封禁用户的提交 2018-05-20 08:20:17 +08:00
virusdefender 3c04216573 增大编译时间限制 2018-05-17 01:28:08 +08:00
virusdefender 2e50910931 add migration to correct database record; rejudge function now can work normally. 2018-03-27 16:22:25 +08:00
virusdefender a0da0b5fa6 修复了 submission_number 不变的问题 2018-03-27 13:32:43 +08:00
virusdefender e70c8db826 support memory_limit_check_only 2018-03-23 19:39:46 +08:00
virusdefender 108ad33977 update compiler 2018-03-18 11:24:49 +08:00
xudian 86f995d23c fix rejudge bug 2018-03-14 11:55:08 +08:00
virusdefender 03cf356bab add judge server is_disabled field 2017-12-24 14:49:23 +08:00
virusdefender 290be9f8bc service url now is required 2017-12-24 12:08:56 +08:00
zema1 29ecda476d 比赛管理员的提交不记入比赛rank和题目统计 2017-12-23 14:15:13 +08:00
sylxjtu 9ba4b969fa CE不计入罚时 2017-12-10 16:41:09 +08:00
virusdefender d15c4aa60c do not save user output 2017-12-09 22:51:52 +08:00
zema1 97da2d007d OI的公开题目AC后保持AC状态 #97 2017-12-06 14:16:44 +08:00
zema1 b550da5796 尝试使用Nginx X-Accel 2017-12-01 21:53:13 +08:00
zema1 7f413ca0a2 Add python3 support, add english readme 2017-11-29 21:44:05 +08:00
virusdefender 945ea5e4e0 parse problem code template 2017-11-26 14:04:38 +08:00
virusdefender 324535474e fix template mark 2017-11-26 13:30:07 +08:00
zema1 e8b06f0487 add generate user api 2017-11-18 08:26:41 +08:00
zema1 334b67488a 添加SPJ编译API 2017-11-16 22:12:17 +08:00
zema1 ffd5943492 修复sample空格被吃掉的问题;
修复test_id 不对应的问题
2017-11-13 21:29:27 +08:00