[curriculum-eval] curriculum_assessment.py: checkpoint_quality — regexes miss :white_check_mark: and :clipboard: shortcodes, penalising 92/94 page

クローズ 初心者向け
#5,295 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown, python
領域
devtools

調査の方向性

.github/skills/curriculum-quantitative-assessment/curriculum_assessment.py の CHECKPOINT_RE と正規表現 has_prereq_section から始め、次に workshop/04-github-actions-intro.md の見出しの形式 :white_check_mark: と :clipboard: を確認してください。両方のパターンを広げて絵文字形式とショートコード形式を受け入れるようにし、形式ごとに1つのサンプルを使った単体テストを追加してください。has_checkpoint がワークショップのファイル約88件で true になり、重みが変わっていなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

curriculum documentation quality

File: .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py
Overall Score: corpus mean 6.06 / 10.0 (artificially depressed ~1.5–2 points)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 92/94 pages ≥ 7.5 (≥ 3 items) −7.5 or more
scaffolding 5.0 on 94/94 pages 10 −5.0

Root Cause (≤ 2 sentences):
CHECKPOINT_RE matches ##\s+✅\s*Checkpoint and has_prereq_section matches ##\s+📋\s*Before You Start, but the workshop writes these headings as ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start. Result: has_checkpoint is false for 92 of 94 files and has_prereq_section for all 94, even though ~88 pages have a checkpoint with 5+ items.

Evidence (quoted from the file):

CHECKPOINT_RE = re.compile(r"##\s+✅\s*Checkpoint", re.IGNORECASE)

and, in workshop/04-github-actions-intro.md: ## :white_check_mark: Checkpoint followed by five - [ ] items, which the scorer rates checkpoint_quality: 0.0.

Learning Science Rationale:
A measurement instrument must be valid before its output can drive curriculum decisions (construct validity). Here the checkpoint dimension is meant to capture retrieval practice and formative assessment (Roediger & Karpicke's testing effect), but a regex mismatch removes ~3.0 weighted points (checkpoint weight 2.0 × 7.5 + scaffolding 1.5 × 5 ≈ 22.5 of 130 weighted points → ~1.7 overall) from every page, so rankings, thresholds, flagged findings and trend deltas are dominated by noise rather than pedagogy.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE and the has_prereq_section regexes so they match both the Unicode emoji and the GitHub shortcode forms: "## ✅ Checkpoint" or "## :white_check_mark: Checkpoint"; "## 📋 Before You Start" or "## :clipboard: Before You Start" (and keep "## Prerequisites"). Use patterns such as r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint". Also handle checklist items under a duplicated Checkpoint heading by counting only the first one. Add unit tests with one sample per form, regenerate /tmp/gh-aw/data/rubric-results.json, and confirm has_checkpoint is true for ~88 workshop files and has_prereq_section is true for pages containing "Before You Start". Do not change the weights.

Expected Score After Fix: 7.5 / 10.0 corpus mean (+~1.4)

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

  • expires on Nov 4, 2026, 3:32 AM UTC
主要言語
JavaScript
スター
58
フォーク
40
平均マージ
4日 4時間
マージ済み PR(30日)
8

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

githubnext/gh-aw-workshop のほかの issue

githubnext/gh-aw-workshop の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。