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

Aperta Adatta ai principianti
#6,498 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
74/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, python
Ambito
testing, tooling

Direzione di ricerca

Inizia da .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py ed esamina CHECKPOINT_RE e l’espressione regolare has_prereq_section; poi consulta i test e la documentazione della skill. Esegui la valutazione sui file Markdown dei workshop e verifica che le pagine con intestazioni shortcode ricevano credito per i checkpoint, mentre le pagine senza checkpoint rimangano segnalate.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
JavaScript
Stelle
63
Fork
53
Merge medio
6h 45m
PR unite (30g)
23

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di githubnext/gh-aw-workshop

Tutte le issue di githubnext/gh-aw-workshop

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.