[curriculum-eval] curriculum_assessment.py: checkpoint_quality and scaffolding — regex misses :white_check_mark: / :clipboard: shortcodes
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py 开始,重点查看 CHECKPOINT_RE、has_prereq_section 以及第 157 行附近的 Bloom 证据正则表达式。阅读现有的单元测试(如果有),并检查评估过程如何处理 workshop/04-github-actions-intro.md。当 shortcode 标题和 ## Prerequisites 均能被识别,且该页面获得非零的 checkpoint_quality 分数时,即为完成。
由索引模型根据 Issue 内容生成。
描述
File: .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py
Overall Score: n/a (tooling; affects all 96 pages, corpus mean 6.06)
Flagged Dimensions:
| Dimension | Score | Benchmark | Delta |
|---|---|---|---|
| checkpoint_quality | 0.0 on 94/96 pages | ≥ 7.5 (≥ 3–4 items) | −7.5 or more |
| scaffolding | 5.0 on 96/96 pages | 10 | −5.0 |
Root Cause (≤ 2 sentences):
CHECKPOINT_RE matches only the literal ## ✅ Checkpoint and has_prereq_section only ## 📋 Before You Start, but the workshop writes ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start. Only two pages that use the raw emoji (side-quest-13-01/02) are detected, which is why they score 8.4–8.6 while the rest cluster near 6.
Evidence (quoted from the file):
CHECKPOINT_RE = re.compile(r"##\s+✅\s*Checkpoint", re.IGNORECASE)
and from workshop/04-github-actions-intro.md: ## :white_check_mark: Checkpoint followed by 5 checklist items.
Learning Science Rationale:
Measurement validity: a rubric that penalises content for a formatting representation rather than a pedagogical property produces noisy rankings. Retrieval-practice checkpoints (Roediger & Karpicke) are the intended construct, and they exist; the score should reflect them so genuine weaknesses (length, activity density) are not hidden.
Improvement Prompt (for an agent):
In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match "## ✅ Checkpoint" and "## :white_check_mark: Checkpoint" (e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint"), and update the has_prereq_section regex to accept "## 📋 Before You Start" and "## :clipboard: Before You Start" as well as "## Prerequisites". Also check the bloom evidence regex at ~line 157 uses the same pattern. Add or update unit tests if present, re-run the assessment, and confirm the corpus mean rises and that checkpoint_quality > 0 for pages like 04-github-actions-intro.md.
Expected Score After Fix: corpus mean ≈ 8.0 / 10.0 (from 6.06)
Generated by 🔬 Curriculum Quality Evaluator · copilot · auto · ~48 AIC · ⌖ ~1 AIC · ⊞ 5K · ◷
- expires on Dec 2, 2026, 3:43 AM UTC
- 主要语言
- JavaScript
- 星标
- 61
- 派生
- 45
- 平均合并
- 11 小时 50 分钟
- 30 天内合并 PR
- 12
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
githubnext/gh-aw-workshop 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
githubnext/gh-aw-workshop#6379 ·
维护者通常 1 天内回复
-
feedback simulation workshop
难度 2/5 1-3 小时 新手友好度 76/100
githubnext/gh-aw-workshop#6376 ·
维护者通常 1 天内回复
-
dedup documentation
难度 2/5 1-3 小时 新手友好度 72/100
githubnext/gh-aw-workshop#6368 ·
维护者通常 1 天内回复
-
curriculum documentation quality
难度 2/5 1-3 小时 新手友好度 68/100
githubnext/gh-aw-workshop#6362 ·
维护者通常 1 天内回复
-
curriculum documentation quality
难度 2/5 1-3 小时 新手友好度 78/100
githubnext/gh-aw-workshop#6357 ·
维护者通常 1 天内回复
查看 githubnext/gh-aw-workshop 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
salesforce/sa11y#1022 ·
-
check:passed logos:edit
难度 1/5 1 小时以内 新手友好度 66/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
trezor/trezor-user-env#421 ·
-
难度 2/5 1-3 小时 新手友好度 67/100
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 65/100
ManageIQ/manageiq-ui-service#2259 ·
维护者通常 1 天内回复