[curriculum-eval] curriculum_assessment.py: checkpoint_quality & scaffolding — regexes miss :white_check_mark: / :clipboard: headings

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

从 .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py 开始,查看 CHECKPOINT_RE 和前置条件 regex(has_prereq_section)。通过对 workshop/04-github-actions-intro.md 运行评估来确认这次漏判,该文件使用了 ## :white_check_mark: Checkpoint。当该页面的 has_checkpoint 为 true、shortcode 形式与 emoji 形式一起被匹配,且语料库均值上升时,即完成。更新同一 skill 目录中的任何测试或文档。

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

描述

curriculum documentation quality

File: .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py
Overall Score: 6.1 / 10.0 (corpus mean: 6.06) — affects 93 of 95 pages

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 (on 93 pages) ≥ 4 items → 10 -10.0
scaffolding 5.0 (on ~88 pages) section present → 10 -5.0

Root Cause (≤ 2 sentences):
CHECKPOINT_RE matches the literal ✅ glyph and the prerequisite regex matches 📋, but the workshop headings use the GitHub shortcodes :white_check_mark: and :clipboard:. Every page is therefore scored has_checkpoint: false and without scaffolding, so the dashboards report false missing_checkpoint flags and understate scores by ~2–3.5 points.

Evidence (quoted from the file):

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

versus workshop/04-github-actions-intro.md: ## :white_check_mark: Checkpoint (it has 5 checklist items, yet scored checkpoint_quality: 0.0).

Learning Science Rationale:
Valid measurement is a precondition for acting on rubric output. Checkpoints support retrieval practice and formative feedback (Roediger & Karpicke's testing effect), and scaffolding supports Vygotsky-style guided progression. When the tool reports these as absent everywhere, genuine gaps cannot be separated from artefacts, and improvement agents waste effort adding duplicate checkpoints.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match both the emoji and shortcode forms, e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint", and update the prerequisite/scaffolding regex (has_prereq_section) to r"##\s+(?:📋|:clipboard:)\s*(?:Before You Start|Prerequisites)". Also check any other emoji-based regexes in the file (e.g. :pencil2:, :dart:) for the same mismatch. Then re-run the assessment over workshop/*.md and confirm has_checkpoint is true for pages containing "## :white_check_mark: Checkpoint" and that corpus mean_score rises. Update any tests or docs under .github/skills/curriculum-quantitative-assessment/ accordingly.

Expected Score After Fix: 8.3 / 10.0 (estimated corpus mean once checkpoint and scaffolding are detected)

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

  • expires on Nov 22, 2026, 3:31 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 摘要。