Repository navigation
v1.1.0
新增
扫描端 · 人工修正(改机器读错的答案 / 改卷面考号)
- 阅卷工作台逐题复核里每题可直接改答案,机器原读标红显示;改完即落库,并穿透进判分、班级分布统计、CSV 导出与成绩单。
- 原机器读数(
machine)始终保留,供误判率统计使用。 - 卷面考号也能改(
/api/fix/sid)—— 机器读错考号等于整份卷子归错人,改完即时生效。 - 重传扫描件时人工修正按考号搬回(
save_students(keep_manual)),不会白改。
Scanner · manual correction: edit any question's answer in the gradebook review modal (the machine's original read is shown in red); the correction persists and propagates into scoring, class distribution stats, CSV export and the score sheet. The original machine reading is always retained for misjudgment-rate accounting. The scanned candidate ID is also editable.
扫描端 · 识别方案标识 + 按方案误判率
- 每题标注用的是哪套方案:结构特征规则(纯 OpenCV,零模型)还是 CNN(手写 A–D 交叉验证),一份卷子两套都用时显示「混合」。
- ④ 汇总统计新增「识别方案与误判率」面板,按方案统计「被老师亲手改掉的比例」,并原样展示有偏样本提醒(只有老师看过并动手改的题才进统计,不等于全量准确率)。
Scanner · scheme label + per-scheme misjudgment rate: every question is tagged rule / CNN / mixed; a new panel reports, per scheme, the share of questions the teacher manually corrected, with the biased-sample caveat shown verbatim.
- 新增离线测试
scanner/tests/test_fixes.py:覆盖修正规整 / 生效 / 落库 / 穿透统计导出 / 重传不丢 / 考号改名拒绝 / 只读权限 / 分桶口径。
变更
- 库结构升级
SCHEMA_VERSION = 3:新增fixes、fixedQnos与machine_*原读字段。
修复
- 无模板(或题号集为空)考试的工作台弹窗一题都渲染不出来(方案徽标 / 机读标红 / 改答案输入框全空)——由真实浏览器点按 E2E 抓出,
_qnos改为回退到库里已存的学生答案题号。
Windows 免安装版
CI 会自动构建并把两个 zip 挂到本 Release(稍后刷新即可看到):
- 答题卡制作器(制卡端)
- 答题卡扫描服务(扫描端,含可选手写 CNN)
解压后双击 exe 即用,不需要装 Python、也不需要 Docker;数据库与校对图落在 %LOCALAPPDATA%\asb-scanner\data。
Windows portable builds (attached by CI): the sheet builder and the scanner. Unzip and double-click the exe — no Python and no Docker required.
完整变更见 CHANGELOG.md。