[curriculum-eval] curriculum_assessment.py: checkpoint_quality — regex misses :white_check_mark: shortcode, deflating scores corpus-wide

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

打开 .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py,找到两个模块级模式 CHECKPOINT_RE 和 prerequisites 正则;它们目前都只匹配 emoji 形式。按照改进提示中所示,放宽每个模式,使其也接受 shortcode 文本 :white_check_mark: 和 :clipboard:,然后对 workshop/ 重新运行评估。完成条件是:workshop/04-github-actions-intro.md 报告 has_checkpoint=true,side-quest-01-02-environment-reference.md 报告 has_prereq_section=true,并且剩余的 missing_checkpoint 发现仅为确实缺少 checkpoint 的页面。

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

描述

curriculum documentation quality

File: .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py
Overall Score: 6.06 / 10.0 corpus mean (lowest page: 4.79)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 93/95 learning pages present, ≥ 4 items (10.0) −10.0
scaffolding 5.0 on pages using :clipboard: Before You Start 10.0 −5.0

Root Cause (≤ 2 sentences):
CHECKPOINT_RE is ##\s+✅\s*Checkpoint and the scaffolding regex is ##\s+📋\s*Before You Start, but workshop pages (per repo conventions) write ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start. Result: has_checkpoint=false and has_prereq_section=false for nearly every page, so weights 2.0 + 1.5 are scored as failures and all missing_checkpoint findings are false positives.

Evidence (quoted from the file):

CHECKPOINT_RE = re.compile(r"##\s+✅\s*Checkpoint", re.IGNORECASE) versus workshop/04-github-actions-intro.md line 138: ## :white_check_mark: Checkpoint (followed by 5 checklist items), and side-quest-01-02-environment-reference.md line 9: ## :clipboard: Before You Start.

Learning Science Rationale:
Valid measurement is a precondition for acting on Bloom's/Cognitive Load findings: a rubric that scores retrieval-practice checkpoints (Roediger & Karpicke's testing effect) as absent when they exist misdirects improvement effort and hides the real differentiators (word count, concept load, activity density). Fixing the instrument restores the signal so remaining findings reflect genuine content gaps.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match both "## ✅ Checkpoint" and "## :white_check_mark: Checkpoint" (e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint"), and update the has_prereq_section regex so "## :clipboard: Before You Start" matches as well as "## 📋 Before You Start" and "## Prerequisites". Re-run the assessment on workshop/ and confirm that pages like 04-github-actions-intro.md now report has_checkpoint=true and has_prereq_section=true, that the corpus mean rises, and that "missing_checkpoint" flags drop to only pages genuinely lacking a checkpoint. Do not edit workshop content.

Expected Score After Fix: ~7.5 / 10.0 corpus mean (checkpoint and scaffolding dimensions recover for most pages)

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

  • expires on Nov 22, 2026, 7:05 AM UTC
主要语言
JavaScript
星标
61
派生
43
平均合并
10 小时 38 分钟
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 摘要。