The proctor runs on the server, so DevTools won't save you
A self-hosted exam platform covering the full loop — question bank to certificate — built on the premise that anti-cheat only counts if the server enforces it.

What it does
「砚考」 (YanKao, roughly “inkstone exam”) is an online exam system for students, teachers, and admins covering the whole lifecycle: authoring questions (nine types, single-choice through code and file upload), assembling papers, running timed exams with proctoring, scoring, statistics, certificates, and a mistake book for wrong answers. The repo holds two generations side by side: old-exam/, a feature-complete Spring Boot 2 monolith already running in production, and the active rewrite — exam-back/ + exam-front/, which splits the domain into ten independently deployable services (exam, question bank, paper, answering, marking, statistics, certificate, practice, proctoring, AI) on RuoYi-Cloud-Plus, Nacos, and Dubbo.
The interesting bit Anti-cheat is where the design earns its keep: 13 behavior classes — tab switches, copy/paste, right-clicks, dev tools, fullscreen exits — are logged and counted, with periodic camera snapshots for evidence. When a limit is hit, the server forces submission; the client reports behavior but doesn’t get a vote, and examinees see the rules plus their own running counts — a fairness touch most proctoring tools skip.
Key highlights
- Rule-based paper assembly: draw by bank, type, difficulty, and score; rules are reusable and it warns when candidates run short.
- Objective questions auto-score in three states (correct / partial / wrong); subjective marking drills exam → answer sheet → question, with an audit trail on every score change.
- Deep statistics: score bands, per-question difficulty and discrimination, option distributions, knowledge-point weakness — precomputed, with a 10-minute recalculation fallback.
- Answer resilience: per-question autosave, resumable sessions, idempotent resubmission, and auto-submit backed by both a frontend push and a backend timer.
- Passing exams auto-issue templated certificates; wrong and half-right answers flow into a re-practicable mistake book.
Caveats
- The microservices version is explicitly under construction; the finished, deployed system is the old monolith in
old-exam/. - AI is half-wired: the Python agent (
ruoyi-exam-agent) claims four capabilities, but AI marking currently returns “not connected.” - The license section is a copy-paste casualty — an MIT badge sitting over an Apache 2.0 footer crediting an unrelated project.
Verdict A solid reference if you’re building internal exams or certification on a Java stack, especially for the server-side proctoring pattern. If you want the AI features or a turnkey microservices product today, wait — or use the monolith.
Frequently asked
- What is Alanosy/exam-platform?
- A self-hosted exam platform covering the full loop — question bank to certificate — built on the premise that anti-cheat only counts if the server enforces it.
- Is exam-platform open source?
- Yes — Alanosy/exam-platform is open source, released under the MIT license.
- What language is exam-platform written in?
- Alanosy/exam-platform is primarily written in Java.
- How popular is exam-platform?
- Alanosy/exam-platform has 889 stars on GitHub.
- Where can I find exam-platform?
- Alanosy/exam-platform is on GitHub at https://github.com/Alanosy/exam-platform.