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

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

从 .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py 开始,重点关注 CHECKPOINT_RE、先决条件部分的检测、清单项计数以及 activity:checkpoint 提示。将这些模式与 issue 中提到的 shortcode 标题进行比较,然后运行评估并检查指定的 workshop 页面。完成标准是:能够识别 shortcode 标题,没有这些 checkpoint 的页面不会被标记,并且相关测试或评分细则文档已更新。

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

描述

curriculum documentation quality

File: .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py
Overall Score: n/a (tooling defect affecting all pages; corpus mean 6.03)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 100/101 pages ≥ 7.5 (≥ 3 items) ≈ −7.5
scaffolding 5.0 on 101/101 pages 10 −5.0

Root Cause (≤ 2 sentences):
CHECKPOINT_RE = r"##\s+✅\s*Checkpoint" and the prerequisite check r"##\s+📋\s*Before You Start" match literal emoji, but the workshop (per AGENTS.md) writes ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start. Every page therefore reports no checkpoint and no scaffolding, depressing scores by roughly 2.5 points and generating false missing_checkpoint findings.

Evidence (quoted from the file):

## :white_check_mark: Checkpoint (e.g. workshop/side-quest-17-07-repo-poisoning.md line 191, followed by 6 checklist items) — yet the metrics report has_checkpoint: false.

Learning Science Rationale:
Valid measurement is a precondition for acting on formative feedback; a rubric that mis-scores retrieval-practice elements (checkpoints) and advance-organiser elements (Before You Start) misdirects improvement effort. Mayer's signalling and Sweller's guidance-fading principles both rely on these structures being correctly recognised, and the current compressed score spread (σ=0.47) hides real differences.

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" (case-insensitive, optional whitespace), and update the has_prereq_section detection to match "## 📋 Before You Start" OR "## :clipboard: Before You Start" OR "## Prerequisites". Also check the checklist-item counting and the bloom "activity:checkpoint" cue use the same pattern. Re-run the assessment and confirm that most pages now report has_checkpoint=true, then spot-check workshop/00-welcome.md, 01-prerequisites.md, 06-install-gh-aw.md and side-quest-13-01-pr-labeler-pattern.md, which genuinely lack a shortcode checkpoint. Update any tests or docs for the rubric.

Expected Score After Fix: ~8.0 / 10.0 corpus mean (checkpoint_quality and scaffolding rise for nearly all pages).

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

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