e9c7793714a3c1898ad4433f8d918de537f714d0
新增 mid_ac_count / hard_ac_count,去重统计中等和困难难度的 AC 题数。 在此之前所有成就对水题和难题一视同仁,这是最缺的一个维度。 增量走 build_ctx 新增的 problem_difficulty,它只在首次 AC 时才查库—— 绝大多数提交都不是首次 AC,无条件预查等于给每次判题白加一条 SQL。 删除 min_ac_code_chars:线上实测 1314 个用户的分布,最小值 8、p5=10, 有道题 8 个字符就能通过,这个指标测的是"谁做过那道水题"而不是 "谁写得简洁",配不出有意义的成就。 自检里写死 min_ac_code_chars 的两处改成按 lte 成就自动发现: _check_registry 不再要求某个具体指标存在,_check_min_metric_absent 改为遍历所有上架的 lte 成就检查其指标。没有 lte 成就时 SKIP, 将来配了自动开始检查。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
OnlineJudge 2.0
An onlinejudge system based on Python and Vue. Demo
Overview
- Based on Docker; One-click deployment
- Separated backend and frontend; Modular programming; Micro service
- ACM/OI rule support; realtime/non-realtime rank support
- Amazing charting and visualization
- Template-problem support
- More reasonable permission control
- Multi-language support:
C,C++,Java,Python2,Python3 - Markdown & MathJax support
- Contest participants IP limit(CIDR)
Main modules are available below:
- Backend(Django): https://github.com/QingdaoU/OnlineJudge
- Frontend(Vue): https://github.com/QingdaoU/OnlineJudgeFE
- Judger Sandbox(Seccomp): https://github.com/QingdaoU/Judger
- JudgeServer(A wrapper for Judger): https://github.com/QingdaoU/JudgeServer
Installation
Follow me: https://github.com/QingdaoU/OnlineJudgeDeploy/tree/2.0
Documents
Screenshots
Frontend:
You can control the menu and chart status in rankings.
Admin:
Browser Support
Modern browsers(chrome, firefox) and Internet Explorer 10+.
Thanks
- I'd appreciate a star if you find this helpful.
- Thanks to everyone that contributes to this project.
- Special thanks to heb1c, who has given us a lot of suggestions.
License
Description












