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

Aperta Adatta ai principianti
#6,197 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, python
Ambito
testing, tooling

Direzione di ricerca

Inizia da .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py ed esamina CHECKPOINT_RE, il matcher dei titoli dei prerequisiti e il modo in cui vengono conteggiati gli elementi delle checklist dei checkpoint. Confronta questi controlli con i titoli shortcode in workshop/05-agentic-workflows-intro.md; aggiungi o modifica un test unitario per le forme con emoji e shortcode. Il lavoro è completato quando la valutazione riconosce entrambi gli stili di titolo e segnala correttamente la presenza di checkpoint e prerequisiti.

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.06 / 10.0

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 94/96 learning pages ≥ 4 items → 10 −10
scaffolding 5.0 on 96/96 learning pages 10 if section present −5

Root Cause (≤ 2 sentences):
CHECKPOINT_RE = r"##\s+✅\s*Checkpoint" and the "Before You Start" check match the literal emoji. Workshop pages use the GitHub shortcodes ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start, so detection always fails.

Evidence (quoted from the file):

workshop/05-agentic-workflows-intro.md:122: ## :white_check_mark: Checkpoint (followed by 6 checklist items), yet has_checkpoint: false and checkpoint_quality: 0.0 in rubric-results.json.

Learning Science Rationale:
A metric must measure the construct it claims to. Checkpoints are retrieval-practice and formative-assessment points, and the data currently says the workshop has none. This misdirects remediation effort to adding checkpoints that already exist, and it hides real differences in checkpoint quality (item count and specificity). Fixing the measurement restores the rubric's ability to discriminate.

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 form: r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint" (case-insensitive). Update the has_prereq_section regex so "## 📋 Before You Start" also matches "## :clipboard: Before You Start". Also update any scoring that counts checklist items under the checkpoint heading. Re-run the assessment and confirm that pages such as workshop/05-agentic-workflows-intro.md report has_checkpoint=true and has_prereq_section reflects reality. Add or adjust a unit test covering both heading forms.

Expected Score After Fix: corpus mean about 7.5–8.5 / 10.0 (checkpoint and scaffolding dimensions recover for most pages).

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

  • expires on Nov 28, 2026, 3:34 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.