[curriculum-eval] curriculum_assessment.py: checkpoint_quality — CHECKPOINT_RE misses `:white_check_mark:` headings (100/101 pages scored 0)

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

先阅读 .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py 中的 CHECKPOINT_RE,以及统计 checkpoint 部分中检查清单项目数量的代码。比较评估器如何处理带 emoji 的标题,以及 workshop/side-quest-17-07-repo-poisoning.md 中展示的 :white_check_mark: 标题。两种标题形式都能被识别,且测试分别覆盖每种形式时,即为完成。

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

描述

curriculum documentation quality

File: .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py (affects all workshop/*.md)
Overall Score: 6.03 / 10.0 corpus mean; every page is penalised

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 100/101 pages ≥ 4 items → 10.0 −10.0

Root Cause (≤ 2 sentences):
CHECKPOINT_RE = re.compile(r"##\s+✅\s*Checkpoint", re.IGNORECASE) requires the literal emoji, but workshop pages use the GitHub shortcode ## :white_check_mark: Checkpoint (as required by AGENTS.md). Result: has_checkpoint is false for 100/101 pages, checkpoint_quality = 0 (weight 2.0), and missing_checkpoint is raised falsely, suppressing every score by ~1.5–2.0 points.

Evidence (quoted from the file):

:white_check_mark: Checkpoint
  • I can describe the repository poisoning attack in one sentence

(from workshop/side-quest-17-07-repo-poisoning.md, which has 6 checklist items yet reports has_checkpoint: false; the same holds for 05-agentic-workflows-intro.md and 07-your-first-workflow.md.)

Learning Science Rationale:
Retrieval practice and formative self-assessment (Roediger & Karpicke, testing effect) are valuable only if the metric measuring them is valid. A rubric that reports "no checkpoints" for a corpus where every step ends with one produces unactionable noise and misdirects author effort away from real gaps such as cognitive load.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, change CHECKPOINT_RE so it matches both the emoji and the shortcode forms, e.g. re.compile(r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint", re.IGNORECASE). Check any other code that counts checklist items inside the checkpoint section so it also handles the shortcode. Re-run the assessment (corpus-metrics / rubric-results generation) and confirm has_checkpoint is true for all pages that have a "## :white_check_mark: Checkpoint" heading, that "missing_checkpoint" flags disappear for them, and that overall scores rise. Add a unit test covering both heading forms.

Expected Score After Fix: 7.5–8.0 / 10.0 corpus mean (up from 6.03)

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

  • expires on Dec 4, 2026, 6:06 AM UTC
主要语言
JavaScript
星标
63
派生
53
平均合并
6 小时 45 分钟
30 天内合并 PR
23

环境准备

在 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 摘要。