[curriculum-eval] curriculum_assessment.py: checkpoint_quality and scaffolding — regexes require emoji but workshop uses :shortcodes:

Closed Beginner friendly
#5,224 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
markdown, python
Domain
devtools

Research direction

Start in .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py at the CHECKPOINT_RE definition and the has_prereq_section regex, which only match the emoji headings. Compare them with ## :white_check_mark: Checkpoint in workshop/side-quest-01-02-environment-reference.md. Done when both headings match, other emoji-literal regexes are checked, and the assessment re-run scores the shortcode pages as they should.

Written by the indexing model from the issue text.

Description

curriculum documentation quality

File: .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py
Overall Score: corpus mean 6.06 / 10.0 (tool-deflated)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 92/94 files ≥ 10 when ≥ 4 items −10
scaffolding 5.0 on 94/94 files 10 when section present −5

Root Cause (≤ 2 sentences):
CHECKPOINT_RE matches ##\s+✅\s*Checkpoint and the prereq check matches ##\s+📋\s*Before You Start, but the workshop (per AGENTS.md conventions) writes ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start. Only side-quest-13-01 and side-quest-13-02 use the emoji form, so they score 8.4–8.6 while all other pages are capped at about 6.

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)

and in workshop/side-quest-01-02-environment-reference.md: ## :white_check_mark: Checkpoint (7 checklist items)

Learning Science Rationale:
Scores only guide curriculum improvement if they measure the construct. A systematic false negative on two weight-2.0/1.5 dimensions flattens the score distribution, so real outliers (long or concept-dense pages) are hidden. It also produces misleading "missing checkpoint" issues, and Kirkpatrick-style feedback loops only help when the measurement is valid. Retrieval-practice checkpoints (Roediger & Karpicke) are present in the content but go uncounted.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match both "## ✅ Checkpoint" and "## :white_check_mark: Checkpoint" (e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint"), and update the has_prereq_section regex to match both "## 📋 Before You Start" and "## :clipboard: Before You Start". Also check any other emoji-literal regexes in the file. Re-run the assessment, confirm side-quest-11-09 and side-quest-12-01 no longer swing by 2.00 between commits, and confirm no file with a "## :white_check_mark: Checkpoint" heading is reported has_checkpoint=false.

Expected Score After Fix: corpus mean about 8.0 / 10.0

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

  • expires on Nov 2, 2026, 5:04 AM UTC
Dominant language
JavaScript
Stars
56
Forks
40
Avg merge
2d 14h
Merged PRs (30d)
13

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.