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

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

从 .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py 开始,检查 CHECKPOINT_RE 和 has_prereq_section 正则表达式;然后查看该 skill 的测试和文档。在 workshop 的 Markdown 文件上运行评估,并检查带有 shortcode 标题的页面是否获得 checkpoint 分数,同时没有 checkpoint 的页面是否仍被标记。

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

描述

curriculum documentation quality

File: .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py (affects all workshop/*.md)
Overall Score: corpus mean 6.03 / 10.0 (artificially depressed ~2.5 pts)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 100 of 101 learning pages ≥ 4 items → 10 −10.0
scaffolding 5.0 on 101 of 101 learning pages 10 if Before You Start present −5.0

Root Cause (≤ 2 sentences):
The detectors only match literal emoji headings, while workshop files use GitHub shortcodes (:white_check_mark:, :clipboard:) per AGENTS.md conventions. Every page is therefore flagged missing_checkpoint regardless of content.

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)

Workshop pages contain e.g. ## :white_check_mark: Checkpoint (05-agentic-workflows-intro.md, 6 checklist items) and ## :clipboard: Before You Start.

Learning Science Rationale:
Valid measurement is a precondition for acting on Cognitive Load Theory and retrieval-practice guidance (Roediger & Karpicke): checkpoints are a retrieval-practice mechanism, and a rubric that cannot see them gives learning designers misleading priorities. Fixing the detector will surface genuine checkpoint deficits (e.g. fewer than 4 items) instead of 100 false positives.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match "## ✅ Checkpoint" OR "## :white_check_mark: Checkpoint", and update the has_prereq_section regex to match "## 📋 Before You Start" OR "## :clipboard: Before You Start" OR "## Prerequisites". Count checklist items only inside the checkpoint section if feasible. Re-run the assessment, confirm checkpoint_quality > 0 for pages with checkpoints (e.g. 05-agentic-workflows-intro.md), and confirm only files truly lacking a checkpoint (00-welcome, 01-prerequisites, 06-install-gh-aw, side-quest-13-01-pr-labeler-pattern) remain flagged. Update any tests/docs for the skill.

Expected Score After Fix: corpus mean ~8.0 / 10.0 (+~2.0 from checkpoint, +~0.7 from scaffolding)

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

  • expires on Dec 5, 2026, 5:04 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 摘要。