[curriculum-eval] curriculum_assessment.py: checkpoint_quality & scaffolding — regex misses :white_check_mark: / :clipboard: shortcodes

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

从 .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py 开始,重点查看 CHECKPOINT_RE 和 has_prereq_section 检查。然后检查第 157 行附近 checkpoint 证据的使用方式,以及相关测试。更新模式,使其能识别包含 emoji 和 shortcode 的标题,同时保留“Prerequisites”这一选项;运行评估,并确认只有不含 checkpoint 的页面会被标记。

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

描述

curriculum documentation quality

File: .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py
Overall Score: corpus mean 6.06 / 10.0 (94 of 96 pages affected)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 94 pages ≥ 10 with ≥ 4 items −10
scaffolding 5.0 on all pages (has_prereq_section is false for all 96) 10 −5

Root Cause (≤ 2 sentences):
CHECKPOINT_RE requires the literal ✅ and the scaffolding check requires the literal 📋, but workshop files write ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start. Every page is therefore penalised ≈ 2.5–3 overall points, which hides real quality differences and produces false missing_checkpoint flags.

Evidence (quoted from the file):

CHECKPOINT_RE = re.compile(r"##\s+✅\s*Checkpoint", re.IGNORECASE) and re.search(r"##\s+📋\s*Before You Start", raw, re.IGNORECASE)

Workshop evidence: workshop/05-agentic-workflows-intro.md has ## :white_check_mark: Checkpoint with 6 checklist items but is reported has_checkpoint: false.

Learning Science Rationale:
Valid measurement is a precondition for acting on rubric feedback. Formative-assessment research (Black & Wiliam) depends on accurate signals. A rubric that scores nearly every page as lacking checkpoints cannot discriminate and sends authors to fix non-problems, so the ranking is driven by noise.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match both the emoji and the shortcode forms of the heading, e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint", and update the has_prereq_section regexes to accept "📋" or ":clipboard:" before "Before You Start" (keep the "Prerequisites" alternative). Also check the checkpoint-evidence use around line 157 and any tests. Re-run the assessment and confirm that only pages truly lacking a checkpoint (00-welcome, 01-prerequisites, 06-install-gh-aw, and any others) are flagged missing_checkpoint. Do not edit workshop content.

Expected Score After Fix: corpus mean ≈ 8.5 / 10.0 (from 6.06)

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

  • expires on Dec 1, 2026, 4:03 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 摘要。