Skip to content

[workshop-sim] Repair: Fix checkpoint_quality detection regex to match ✅ shortcode #3133

Description

@github-actions

Problem statement

The shared curriculum-quantitative-assessment rubric's checkpoint_quality dimension scores 0.0 for all 30 workshop steps, including every step's ## :white_check_mark: Checkpoint section that contains a full checklist. The detector in .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py is:

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

This regex requires a literal unicode ✅ emoji character immediately after the heading marker, but every workshop file uses the GitHub Markdown shortcode :white_check_mark: instead (e.g., ## :white_check_mark: Checkpoint). As a result, has_checkpoint is False everywhere, score_checkpoint_quality() always returns 0.0, and the Learning KPI index ((2.0 × active_learning + 2.0 × checkpoint_quality + 1.5 × scaffolding) / 5.5) is understated for every step in the corpus — this is a measurement bug, not an actual content gap.

Proposed change

Update CHECKPOINT_RE to also match the :white_check_mark: shortcode form, e.g.:

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

Re-run the rubric against all 30 workshop files to confirm has_checkpoint=True and non-zero checkpoint_quality scores wherever a real checklist exists.

Failure mode classification

Access barrier — this is a tooling/instrumentation defect in the assessment script itself, not a workshop content or learner-facing defect.

Quantitative guardrail

  • Current cohort-wide checkpoint_quality: 0.0/10 (every one of 30 steps)
  • Current cohort-wide Learning KPI index: 2.88/10 (active_learning 4.18, checkpoint_quality 0.0, scaffolding 5.0)
  • Current mean_overall_score: 6.38/10
  • Because checkpoint_quality carries a 2.0 weight in the KPI formula, correctly scoring existing checklists (most steps have 5+ checklist items, which the formula scores as min(10, checklist_items × 2.5)) should raise both overall_score and the Learning KPI index for nearly every step — this change cannot lower any score, since it only corrects false negatives.

Acceptance criteria

  • The shared curriculum quantitative assessment overall_score for affected steps stays flat or improves after the regex fix (expected: improves for the ~30 steps with real checkpoints)
  • The Learning KPI index ((2.0 × active_learning + 2.0 × checkpoint_quality + 1.5 × scaffolding) / 5.5) stays flat or improves cohort-wide (expected: improves from 2.88/10 toward the true value)
  • Hands-on practice, checkpoints, and scaffolding content in the workshop files themselves are left untouched — this is a scoring-tool fix only, no workshop markdown changes
  • CHECKPOINT_RE matches both the unicode ✅ form and the :white_check_mark: shortcode form, verified against a sample of workshop files

Suggested owner profile

copilot coding agent
Related to #3132

Generated by 🔬 Workshop Student Simulator · copilot · auto · 219.4 AIC · ⌖ 10.3 AIC · ⊞ 15.2K ·

  • expires on Sep 10, 2026, 5:51 PM UTC

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions