CASE← DuanYuan中文

Online assessment: random papers and auto-marking

Server-side timing · shuffled items · tab-switch logging

Problem

Training and capability tests need item banks, random papers, time limits, marking, result analysis, and resistance to refreshing the page or opening extra windows.

Approach

Items are tagged by topic and difficulty; papers draw by ratio with both items and options shuffled. Timing trusts only the server timestamp - the countdown is display only. Answers autosave per item, and tab switches or focus loss are written to an event table.

Details

Marking rules are configurable (single, multiple with all-or-nothing, true/false). The submit endpoint validates start time and duration and rejects late payloads; dashboards compute average score, pass rate, time used and item difficulty.

Plain PHP + SQLite, deployable in-house; reconnects lose no answers; every cheat path at submit is closed.

Open the demo →

Download source ↓ (free with an account)

Compliance note: demo data is fictional. Real deployments involve candidate personal data, require prior notice and consent; tab-switch logs serve exam fairness only and are kept for a limited period.

RELATED
← All cases
DuanYuan · Notes & Experiments
冀ICP备2026047080号-1·冀公网安备13020702000398号
Join free · Contact