[curriculum-eval] curriculum_assessment.py: checkpoint_quality — regex misses `:white_check_mark:` headings, 94/96 pages scored 0

未关闭 适合新手
#6,233 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
82/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
tooling

调研方向

从 .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py 中的 CHECKPOINT_RE 模式以及用于 "📋 Before You Start" 的脚手架正则表达式开始。通过检查 workshop/04-github-actions-intro.md 第 138 行是否被标记为 missing_checkpoint 来确认问题,然后扩展模式以接受 :white_check_mark: 和 :clipboard: 短代码。当单元测试包含一个通过的短代码标题测试用例,并且受影响的页面不再报告该标记时,即完成。

由索引模型根据 Issue 内容生成。

描述

curriculum documentation quality

File: .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py (affects every workshop/*.md)
Overall Score: 6.06 / 10.0 corpus mean. Every page is under-scored by the same defect.

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 94/96 pages ≥ 4 items → 10.0 −10.0
scaffolding (suspected) 5.0 on side-quest-01-02-environment-reference.md despite a "Before You Start" section 10.0 −5.0

Root Cause (≤ 2 sentences):
CHECKPOINT_RE = re.compile(r"##\s+✅\s*Checkpoint", re.IGNORECASE) only matches the literal ✅ character. The workshop uses the GitHub shortcode ## :white_check_mark: Checkpoint (AGENTS.md convention), so has_checkpoint is false and checkpoint_quality is 0 almost everywhere.

Evidence (quoted from the file):

## :white_check_mark: Checkpoint — present in workshop/04-github-actions-intro.md:138, workshop/05-agentic-workflows-intro.md:122, workshop/side-quest-01-02-environment-reference.md:196 and workshop/side-quest-17-07-repo-poisoning.md:191. All four are flagged missing_checkpoint.

All five worst-scoring "findings" have missing_checkpoint as a flag, and all have real checkpoints. Only side-quest-13-01 and side-quest-13-02 are detected, and those are the only pages scoring above 8.

Learning Science Rationale:
Valid measurement is a precondition for evidence-based curriculum improvement. A rubric that reports 0 on a dimension where the content actually satisfies the standard misdirects effort toward writing checkpoints that already exist. It also compresses variance across pages, because the same 2.0-weight dimension is zeroed everywhere. Formative-assessment research (Black & Wiliam) supports checkpoints as a strong practice, so the tool should detect them accurately and then judge item quality.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE so it matches both the emoji and the GitHub shortcode heading, e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint". Also audit the scaffolding detection (the ":clipboard: Before You Start" / "Prerequisites" regex) so it matches the `:clipboard:` shortcode form used in workshop/*.md (e.g. workshop/side-quest-01-02-environment-reference.md has "## :clipboard: Before You Start" but scores 5.0). Make sure checklist-item counting still scopes to the checkpoint section. Add or update unit tests with a fixture using the shortcode heading, rerun the assessment, and report the new corpus mean and the pages that remain below threshold.

Expected Score After Fix: corpus mean about 7.5–8.0 / 10.0 (checkpoint weight 2.0 on pages with ≥ 4 items).

Generated by 🔬 Curriculum Quality Evaluator · copilot · auto · ~51 AIC · ⌖ ~1 AIC · ⊞ 5K · ◷

  • expires on Nov 29, 2026, 4:04 AM UTC
主要语言
JavaScript
星标
61
派生
45
平均合并
11 小时 50 分钟
30 天内合并 PR
12

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

githubnext/gh-aw-workshop 的其他 Issue

查看 githubnext/gh-aw-workshop 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。