[curriculum-eval] curriculum_assessment.py: checkpoint_quality — regex misses `:white_check_mark:` shortcode, 0 scores on 92 pages

Aperta Adatta ai principianti
#6,275 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
88/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
markdown, python
Ambito
testing, tooling

Direzione di ricerca

Inizia da .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py e individua CHECKPOINT_RE, la regex della sezione dei prerequisiti e altri modelli basati su emoji. Aggiungi il supporto per i corrispondenti shortcode GitHub e test unitari che coprano sia le forme con emoji sia quelle con shortcode. Fatto significa che la valutazione riconosce i checkpoint in circa 94 file e che le pagine dei workshop interessate non producono più falsi positivi relativi ai checkpoint mancanti.

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: n/a (corpus mean: 6.06)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 92 learning pages ≥ 10 with ≥ 4 items −10.0
scaffolding 5.0 on 94 pages 10 when section present −5.0

Root Cause (≤ 2 sentences):
CHECKPOINT_RE is ##\s+✅\s*Checkpoint and the prerequisite regex expects ##\s+📋\s*Before You Start, but the workshop writes GitHub shortcodes (## :white_check_mark: Checkpoint, ## :clipboard: Before You Start). Result: has_checkpoint is true for only 2 of 96 pages and has_prereq_section for 0, although 94 and 89 pages respectively have them.

Evidence (quoted from the file):

## :white_check_mark: Checkpoint (e.g. workshop/05-agentic-workflows-intro.md line 122, 6 checklist items) is scored has_checkpoint: false, checkpoint_quality: 0.0.

Learning Science Rationale:
Valid measurement is a precondition for acting on Bloom/CLT-based findings. Retrieval-practice checkpoints (Roediger & Karpicke's testing effect) are present in nearly every page, but the rubric reports them absent, so flagged "missing_checkpoint" issues are false positives and real gaps (00-welcome, 01-prerequisites, 06-install-gh-aw, side-quest-13-01, side-quest-13-02) are hidden in the noise.

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", re.IGNORECASE) and update the has_prereq_section regex to accept r"##\s+(?:📋|:clipboard:)\s*Before You Start" as well as "## Prerequisites". Also check any other emoji-based regexes (e.g. 🎯/:dart:, ✏️/:pencil2:) for the same problem. Re-run the assessment, confirm has_checkpoint is true for ~94 files, and add a unit test with both forms.

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

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

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