[curriculum-eval] curriculum_assessment.py: checkpoint_quality/scaffolding — regexes miss :shortcode: headings, under-scoring 92/94 pages

Aperta Adatta ai principianti
#5,258 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
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, markdown, python
Ambito
tooling

Direzione di ricerca

Inizia dalle regex CHECKPOINT_RE e has_prereq_section in .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py e confrontale con l'intestazione ## :white_check_mark: Checkpoint in workshop/04-github-actions-intro.md. Estendi entrambi i pattern in modo che accettino le forme shortcode oltre a quelle con emoji, poi riesegui la valutazione. Il lavoro è completo quando le pagine di apprendimento riportano has_checkpoint=true (92 o più invece di 2) e i test o i fixture che presuppongono i vecchi conteggi sono aggiornati.

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

Descrizione

curriculum documentation quality

File: .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py
Overall Score: n/a (affects whole corpus; corpus mean 6.06)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 92/94 pages ≥ 10 with ≥ 4 items −10
scaffolding 5.0 on 94/94 pages 10 −5

Root Cause (≤ 2 sentences):
CHECKPOINT_RE matches ##\s+✅\s*Checkpoint and has_prereq_section matches ##\s+📋\s*Before You Start, but workshop files use ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start. Only 2 pages (side-quest-13-01, 13-02) match, so the rubric systematically under-scores nearly every page by ~2.75 points.

Evidence (quoted from the file):

CHECKPOINT_RE = re.compile(r"##\s+✅\s*Checkpoint", re.IGNORECASE)
and in workshop/04-github-actions-intro.md: ## :white_check_mark: Checkpoint (5 checklist items, scored 0.0)

Learning Science Rationale:
Valid measurement is a precondition for evidence-based improvement. Formative-assessment research (Black & Wiliam) values checkpoints for learner feedback, yet the rubric reports them absent, so improvement prompts on "missing checkpoint" would drive pointless edits and mask real issues (length, concept overload, low activity density).

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match both the emoji and shortcode forms, e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint", and update the has_prereq_section regexes to accept (?:📋|:clipboard:) before "Before You Start". Re-run the assessment, confirm 92+ learning pages now have has_checkpoint=true, and update any tests/fixtures that assume the old counts.

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

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

  • expires on Nov 3, 2026, 4:04 AM UTC
Lingua principale
JavaScript
Stelle
56
Fork
40
Merge medio
2g 14h
PR unite (30g)
13

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.