[curriculum-eval] curriculum_assessment.py: checkpoint_quality — regex misses :white_check_mark: shortcode, scoring 93/95 pages as missing checkpo

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

Direzione di ricerca

Inizia da .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py: CHECKPOINT_RE alla riga 10 e l'espressione regolare di scaffolding vicino alla riga 204. Estendi ciascun pattern in modo che accetti gli shortcode :white_check_mark: e :clipboard: oltre all'emoji, e controlla le altre espressioni regolari per le emoji nel file. Aggiungi test unitari per entrambe le forme, poi riesegui la valutazione su workshop/ e conferma che has_checkpoint è true per workshop/04-github-actions-intro.md.

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

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 93/95 learning pages present, ≥ 4 items → 10 −10
scaffolding 5.0 on most pages "Before You Start" present → 10 −5

Root Cause (≤ 2 sentences):
CHECKPOINT_RE (line 10) matches the literal ✅ character and the scaffolding check (line 204) matches the literal 📋. Workshop pages write ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start, so both checks fail on nearly every page.

Evidence (quoted from the file):

CHECKPOINT_RE = re.compile(r"##\s+✅\s*Checkpoint", re.IGNORECASE)

Pages such as workshop/04-github-actions-intro.md (line 138) contain ## :white_check_mark: Checkpoint with 5 checklist items, yet the rubric reports has_checkpoint: false and checkpoint_quality: 0.0. workshop/side-quest-01-02-environment-reference.md has both a Checkpoint and a :clipboard: Before You Start section, but is reported as missing both. The lowest-ranked pages in the scorecard are therefore mostly ranked by this false negative.

Learning Science Rationale:
Valid measurement is a precondition for acting on rubric results. Cognitive Load Theory and formative-assessment research both favour checkpoints, so a rubric that scores them as absent sends authors toward redundant "fixes" and masks real weaknesses such as concept overload. A score driven mostly by a regex mismatch cannot be used to prioritise curriculum work.

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". Update the scaffolding regex near line 204 to match both "📋" and ":clipboard:" before "Before You Start", and also check other emoji-based regexes in the file (e.g. :dart:, :pencil2:) for the same problem. Add unit tests covering both forms. Re-run the assessment against workshop/ and confirm that has_checkpoint is true for pages with a checkpoint section, then record the new corpus mean.

Expected Score After Fix: corpus mean ≈ 7.5+ / 10.0, with real findings (long, concept-heavy pages) surfacing.

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

  • expires on Nov 15, 2026, 7:04 AM UTC
Lingua principale
JavaScript
Stelle
62
Fork
43
Merge medio
12h 23m
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.