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

Aperta Adatta ai principianti
#5,966 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 in .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py e guarda CHECKPOINT_RE e la regex dei prerequisiti (has_prereq_section). Conferma l'omissione eseguendo la valutazione su workshop/04-github-actions-intro.md, che usa ## :white_check_mark: Checkpoint. Fatto quando has_checkpoint è true per quella pagina, le forme shortcode vengono abbinate insieme a quelle emoji e la media del corpus aumenta. Aggiorna eventuali test o doc nella stessa directory della skill.

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: 6.1 / 10.0 (corpus mean: 6.06) — affects 93 of 95 pages

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 (on 93 pages) ≥ 4 items → 10 -10.0
scaffolding 5.0 (on ~88 pages) section present → 10 -5.0

Root Cause (≤ 2 sentences):
CHECKPOINT_RE matches the literal ✅ glyph and the prerequisite regex matches 📋, but the workshop headings use the GitHub shortcodes :white_check_mark: and :clipboard:. Every page is therefore scored has_checkpoint: false and without scaffolding, so the dashboards report false missing_checkpoint flags and understate scores by ~2–3.5 points.

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)

versus workshop/04-github-actions-intro.md: ## :white_check_mark: Checkpoint (it has 5 checklist items, yet scored checkpoint_quality: 0.0).

Learning Science Rationale:
Valid measurement is a precondition for acting on rubric output. Checkpoints support retrieval practice and formative feedback (Roediger & Karpicke's testing effect), and scaffolding supports Vygotsky-style guided progression. When the tool reports these as absent everywhere, genuine gaps cannot be separated from artefacts, and improvement agents waste effort adding duplicate checkpoints.

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 prerequisite/scaffolding regex (has_prereq_section) to r"##\s+(?:📋|:clipboard:)\s*(?:Before You Start|Prerequisites)". Also check any other emoji-based regexes in the file (e.g. :pencil2:, :dart:) for the same mismatch. Then re-run the assessment over workshop/*.md and confirm has_checkpoint is true for pages containing "## :white_check_mark: Checkpoint" and that corpus mean_score rises. Update any tests or docs under .github/skills/curriculum-quantitative-assessment/ accordingly.

Expected Score After Fix: 8.3 / 10.0 (estimated corpus mean once checkpoint and scaffolding are detected)

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

  • expires on Nov 22, 2026, 3:31 AM UTC
Lingua principale
JavaScript
Stelle
61
Fork
43
Merge medio
10h 38m
PR unite (30g)
12

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.