mobile-scoring-system
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "mobile-scoring-system" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-daf5e71478020ac94de289f7932b17afae1ef4ae56a38220627be3fee0348b3a. Verify the upstream source and version against https://skillhub.cn/skills/user_a23a867c/lzq15617993679 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A general generator for mobile scoring / on-site scoring / judge-scoring systems: for contests, defenses, elections, speeches, and project reviews. Supports judges scoring via QR scan, real-time aggregation on a computer, and returning results to phones; generates a complete runnable system from a single JSON configuration, implemented using only the Python standard library with data stored locally and no external code. Example trigger words: scoring system, rating system, judge scoring, on-site scoring, contest scoring, scan-to-score, anonymous review, score sheet.
Introduction source: third_party · user_a23a867c · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: mobile-scoring-system
display_name: 手机打分系统
description: >-
通用「手机打分 / 现场评分 / 评委打分」系统生成器。当用户需要为比赛、答辩、竞选、演讲、
项目评审、方案评选等场景搭建「评委手机扫码打分 + 电脑端实时汇总排名 + 结果回传手机」
的局域网评分系统时使用。用户只需填写一份 JSON 配置表即可一键生成完整可运行系统:
纯 Python 标准库、零第三方依赖、数据只存本机、无任何外联代码。
触发词:打分系统、评分系统、评委打分、现场评分、比赛计分、扫码打分、匿名评审、评分表。
description_zh: >-
一款配置表驱动的现场评分系统生成器:评委手机扫码打分,电脑端实时汇总排名并回传结果,
纯 Python 标准库、可断网运行、数据只存本机,适用于比赛 / 答辩 / 评选等场景。
description_en: >-
A config-driven on-site scoring system generator. Judges scan a QR code to score on
their phones; the PC console aggregates rankings in real time and pushes results back.
Pure Python stdlib, offline-capable, local-only data.
category: office
version: 1.0.0
author: 刘子琦手机打分系统(配置表驱动)
把「现场评委打分」这件重复劳动固化成:填一张配置表 → 生成一套系统 → 双击即用。 同一套程序换任何比赛、任何评分维度都能复用,不需要改代码。
它解决什么
- 评委手机扫码 → 手输姓名+单位登记 → 逐项打分 → 提交锁定(提交后不可改)
- 电脑端
/admin控制台(左侧导航 + 四视图,导航整体左移、内容区加宽):「📲 评委扫码入场」(首屏默认)= 二维码(动态指向手机可达的局域网地址) + 电脑端IP地址 + 手机端访问地址列表(每个检测到的局域网IP均给出评委/管理员链接)+ 热点选择提示;「👤 评委管理」= 评委登记进度卡片 + 按人「重置身份 / 清除某队打分」+ 清空全部;「🏆 实时排名」= 一队一行整行卡片 + 逐队公布 / 一键公布 / 一键推送最终结果;「📋 打分明细」= 队伍×评委矩阵 + 导出 Excel/CSV;「投影模式」隐藏导航和操作按钮、压缩行高字号,确保每屏至少显示 8 队(1280×720 下实测 9 队) - 手机端管理员
/adm(密码保护):工作人员在场地内移动操作 - 数据只在本机
data.json,没有任何联网上报代码(可断网运行,只是手机连不进来)
快速开始(3 步)
第 1 步:复制配置表模板,填好
# 模板(空白,带字段说明)
skills/手机打分系统/config.blank.json
# 示例(中性示例:6 队 / 4 维度 / 满分100 / 前2晋级,可直接改字复用)
skills/手机打分系统/config.example.json
第 2 步:生成系统
python scripts/build.py --config 我的比赛.json --out "D:\比赛打分系统"
可选参数:--port 8082(换端口)、--python <路径>(换机器时指定解释器)、
--force(目录非空仍覆盖)、--reset-data(重置数据,旧数据自动备份)。
第 3 步:启动
双击输出目录里的 启动打分系统.bat,浏览器会自动打开电脑控制台。
配置表字段
| 字段 | 必填 | 说明 |
|---|---|---|
meta.title |
✅ | 比赛全名;ui.full_name 未填时用它兜底 |
meta.date / place / signin |
选填 | 比赛时间、地点、签到说明 |
ui.org |
选填 | 单位/主办前缀,如"某某集团",用于 Excel 标题与横幅 |
ui.full_name |
✅ | 比赛全名,用于登录页大标题、控制台标题 |
ui.short_name |
选填 | 简称,用于浏览器标签标题(4 个页面 title) |
ui.pass_label |
选填 | 晋级标签文字,默认"晋级" |
ui.next_stage |
选填 | 晋级到的下一阶段,默认"决赛"(拼成"前 N 名晋级决赛") |
ui.export_name |
选填 | 导出文件名,默认"得分汇总" |
ui.excel_title / ui.banner |
选填 | Excel 表标题 / 启动横幅,留空自动生成 |
judges |
选填 | 评委名单。手输模式可留 [](评委现场自输姓名+单位);填了仅作参考与导出表头 |
teams |
✅ | 参赛队伍:name 名称、unit 单位、contact 联系人;顺序即出场顺序 |
items |
✅ | 评分维度:score=该项分值(权重)、detail=细化分类、block=板块、outline=大纲、point=评分点、rng=得分区间、tiers=快捷档位(留空自动生成"出色/优秀/较好/一般"四档) |
full |
选填 | 满分;与 items 分值之和不一致时,以分项之和为准并提示 |
quota |
✅ | 晋级名额(前 N 名进入下一阶段) |
admin_pin |
选填 | 手机端管理员 /adm 密码,默认 8888 |
port |
选填 | 服务端口,默认 8081;本机同时跑多场比赛用不同端口即可互不干扰 |
配置表里所有下划线开头的键都是说明文字,构建时自动忽略,可放心保留。
现场运行流程
- 启动:双击 bat → 自动打开
/admin控制台 → 窗口别关(关了=停服务) - 评委入场:手机连同一 WiFi 或电脑热点 → 用控制台「📲 评委扫码入场」页面投屏的二维码扫码(或从地址列表手动选与手机同网段的地址)→ 手机浏览器打开 → 输入姓名+单位 → 逐项打分 → 提交(提交即锁定)。若手机连的是电脑热点,二维码自动指向热点网段地址(通常是 192.168.137.x);列表里也可手动选。
- 过程控制:电脑端可「逐队公布给评委」(只公布队名+平均分);全部打完后「一键推送最终结果」(完整名次榜 + 前 N 名晋级标注同步到所有评委手机)
- 收尾:控制台导出 Excel/CSV 存档;关掉启动窗口即停服务,数据留在
data.json
安全说明(用户问"数据会不会外泄"时照此回答)
- 程序只 import Python 标准库(外加可选
qrcode(二维码)与openpyxl(Excel 导出)),没有任何外部 URL、CDN、埋点或上报代码;唯一一次socket.connect(("8.8.8.8",80))是为读取本机局域网 IP 的 UDP 探测,不发送任何业务数据。二维码在服务端本地生成(/qr.png),不依赖任何外部服务。 - 数据只写本机
data.json,不上云、不进第三方;断网也能打分。 - 真实风险只有局域网可见:服务绑
0.0.0.0,同一 WiFi/内网的人能访问/admin(控制台本身无密码,/adm有密码)。现场建议用电脑开移动热点让评委手机连,把范围缩到现场设备。
二次开发入口(改模板时看这里)
- 服务端模板:
assets/server_template.py(单文件,含 4 个页面:PAGE_LOGIN/PAGE_JUDGE/PAGE_ADMIN/PAGE_ADMIN_M) - 前端通过
const C=__CFG__拿到整个config.json,因此结构性数据(队伍/维度/满分/名额)天然配置驱动 page()函数做占位符替换:__CSS__、__CFG__、__FULL__、__QUOTA__、__NT__、__SHORT__、__FULLNAME__、__PASS__、__NEXT__、__ORG__- 新增可变文案的标准做法:
config.json的ui段加字段 → 模板里用变量/占位符 →page()里补.replace()(变量在文件头# 界面/导出文案区块统一定义,均带默认值,保证老配置不填也能跑)
踩过的坑(别再犯)
- 启动 bat 必须 GBK 编码 + CRLF 行尾 + 无 BOM,否则中文乱码或双击闪退——
build.py的write_bat()已处理,不要改成 utf-8 写。 - data.json 是命根子:
build.py默认永不覆盖已有数据;--reset-data会先备份为data.json.bak_时间戳。 - 换电脑无需改配置:生成的 bat 默认写入「运行 build.py 的那个 python」;要指定别的解释器用
--python <路径>。 - 防火墙:bat 里用
netsh放行端口,首次运行若被拦截需点"允许访问"。
文件清单
手机打分系统/
├── SKILL.md 本文件
├── config.blank.json 空白配置表模板(从零填)
├── config.example.json 完整示例(中性示例数据,可直接跑)
├── scripts/build.py 构建器:配置表 → 生成整套系统
├── scripts/shot.js 截图自检工具(可选)
└── assets/server_template.py 通用服务端模板(参数化,一般不用改)Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决比赛、答辩、评审等场景下评委手机扫码打分的核心痛点
- 显著提升现场评分效率,具备明确实用价值
- 配置表驱动,一套程序可复用多种比赛场景
Highlights
- 触发词精准完整,覆盖打分系统、评分系统、评委打分、现场评分、比赛计分、扫码打分、匿名评审、评分表等多种变体
- 边界清晰,不易误触或漏触
Areas to improve
-
缺少 When to Use 章节 Reported severity: Minor
文档结构完整,但缺少明确的 When to Use 使用场景说明章节
Recommendation: 建议增加 When to Use 章节,明确说明适用场景和使用时机
Highlights
- 结构清晰,有快速开始三步流程、配置表字段说明、现场运行流程、安全说明等完整章节
- 含端到端示例,frontmatter完整
- 文档详细,覆盖配置、运行、安全、二次开发等各个方面
Areas to improve
-
缺少异常处理说明 Reported severity: Minor
文档未详细说明各种异常情况的处理方式
Recommendation: 建议增加异常处理说明,如网络异常、评委重复提交、数据损坏等情况的处理方案
Highlights
- 工具来源明确,纯Python标准库实现,零第三方依赖
- 数据仅存储于本机,无任何外联代码,安全可靠
- 覆盖主要异常处理,如数据备份、防火墙设置等
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.