[curriculum-eval] curriculum_assessment.py: checkpoint_quality & scaffolding — regex misses :white_check_mark: / :clipboard: shortcodes

Aperta Adatta ai principianti
#6,320 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
76/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, python

Direzione di ricerca

Inizia da .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, concentrandoti su CHECKPOINT_RE e sui controlli di has_prereq_section. Poi esamina l’uso delle evidenze dei checkpoint intorno alla riga 157 e gli eventuali test correlati. Aggiorna i pattern in modo che riconoscano sia i titoli con emoji sia quelli con shortcode, mantenendo l’alternativa “Prerequisites”; esegui la valutazione e conferma che vengano segnalate solo le pagine senza checkpoint.

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: corpus mean 6.06 / 10.0 (94 of 96 pages affected)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 94 pages ≥ 10 with ≥ 4 items −10
scaffolding 5.0 on all pages (has_prereq_section is false for all 96) 10 −5

Root Cause (≤ 2 sentences):
CHECKPOINT_RE requires the literal ✅ and the scaffolding check requires the literal 📋, but workshop files write ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start. Every page is therefore penalised ≈ 2.5–3 overall points, which hides real quality differences and produces false missing_checkpoint flags.

Evidence (quoted from the file):

CHECKPOINT_RE = re.compile(r"##\s+✅\s*Checkpoint", re.IGNORECASE) and re.search(r"##\s+📋\s*Before You Start", raw, re.IGNORECASE)

Workshop evidence: workshop/05-agentic-workflows-intro.md has ## :white_check_mark: Checkpoint with 6 checklist items but is reported has_checkpoint: false.

Learning Science Rationale:
Valid measurement is a precondition for acting on rubric feedback. Formative-assessment research (Black & Wiliam) depends on accurate signals. A rubric that scores nearly every page as lacking checkpoints cannot discriminate and sends authors to fix non-problems, so the ranking is driven by noise.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match both the emoji and the shortcode forms of the heading, e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint", and update the has_prereq_section regexes to accept "📋" or ":clipboard:" before "Before You Start" (keep the "Prerequisites" alternative). Also check the checkpoint-evidence use around line 157 and any tests. Re-run the assessment and confirm that only pages truly lacking a checkpoint (00-welcome, 01-prerequisites, 06-install-gh-aw, and any others) are flagged missing_checkpoint. Do not edit workshop content.

Expected Score After Fix: corpus mean ≈ 8.5 / 10.0 (from 6.06)

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

  • expires on Dec 1, 2026, 4:03 AM UTC
Lingua principale
JavaScript
Stelle
61
Fork
45
Merge medio
11h 50m
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.