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

Open Beginner friendly
#6,363 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, python
Domain
tooling

Research direction

Start with .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, focusing on CHECKPOINT_RE, has_prereq_section, and the bloom evidence regex near line 157. Read the existing unit tests, if present, and check how the assessment processes workshop/04-github-actions-intro.md. Done means the shortcode headings and ## Prerequisites are recognized and that page receives a nonzero checkpoint_quality score.

Written by the indexing model from the issue text.

Description

curriculum documentation quality

File: .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py
Overall Score: n/a (tooling; affects all 96 pages, corpus mean 6.06)

Flagged Dimensions:

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

Root Cause (≤ 2 sentences):
CHECKPOINT_RE matches only the literal ## ✅ Checkpoint and has_prereq_section only ## 📋 Before You Start, but the workshop writes ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start. Only two pages that use the raw emoji (side-quest-13-01/02) are detected, which is why they score 8.4–8.6 while the rest cluster near 6.

Evidence (quoted from the file):

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

and from workshop/04-github-actions-intro.md: ## :white_check_mark: Checkpoint followed by 5 checklist items.

Learning Science Rationale:
Measurement validity: a rubric that penalises content for a formatting representation rather than a pedagogical property produces noisy rankings. Retrieval-practice checkpoints (Roediger & Karpicke) are the intended construct, and they exist; the score should reflect them so genuine weaknesses (length, activity density) are not hidden.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match "## ✅ Checkpoint" and "## :white_check_mark: Checkpoint" (e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint"), and update the has_prereq_section regex to accept "## 📋 Before You Start" and "## :clipboard: Before You Start" as well as "## Prerequisites". Also check the bloom evidence regex at ~line 157 uses the same pattern. Add or update unit tests if present, re-run the assessment, and confirm the corpus mean rises and that checkpoint_quality > 0 for pages like 04-github-actions-intro.md.

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

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

  • expires on Dec 2, 2026, 3:43 AM UTC
Dominant language
JavaScript
Stars
61
Forks
45
Avg merge
11h 50m
Merged PRs (30d)
12

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from githubnext/gh-aw-workshop

All issues in githubnext/gh-aw-workshop

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.