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

Open Beginner friendly
#6,498 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
74/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, python
Domain
testing, tooling

Research direction

Start with .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py and inspect CHECKPOINT_RE and the has_prereq_section regex; then review the skill's tests and docs. Run the assessment on the workshop Markdown files and check that pages with the shortcode headings receive checkpoint credit while pages without checkpoints remain flagged.

Written by the indexing model from the issue text.

Description

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
Dominant language
JavaScript
Stars
63
Forks
53
Avg merge
6h 45m
Merged PRs (30d)
23

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.