[curriculum-eval] curriculum_assessment.py: checkpoint_quality — regex misses `:white_check_mark:` headings, 94/96 pages scored 0

Aperta Adatta ai principianti
#6,233 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
82/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 dal pattern CHECKPOINT_RE e dall'espressione regolare di scaffolding per "📋 Before You Start". Conferma il bug verificando che la riga 138 di workshop/04-github-actions-intro.md sia segnalata come missing_checkpoint, quindi amplia i pattern per accettare gli shortcode :white_check_mark: e :clipboard:. È completato quando i test unitari includono una fixture di intestazione con shortcode che passa e le pagine interessate non segnalano più il flag.

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 every workshop/*.md)
Overall Score: 6.06 / 10.0 corpus mean. Every page is under-scored by the same defect.

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 94/96 pages ≥ 4 items → 10.0 −10.0
scaffolding (suspected) 5.0 on side-quest-01-02-environment-reference.md despite a "Before You Start" section 10.0 −5.0

Root Cause (≤ 2 sentences):
CHECKPOINT_RE = re.compile(r"##\s+✅\s*Checkpoint", re.IGNORECASE) only matches the literal ✅ character. The workshop uses the GitHub shortcode ## :white_check_mark: Checkpoint (AGENTS.md convention), so has_checkpoint is false and checkpoint_quality is 0 almost everywhere.

Evidence (quoted from the file):

## :white_check_mark: Checkpoint — present in workshop/04-github-actions-intro.md:138, workshop/05-agentic-workflows-intro.md:122, workshop/side-quest-01-02-environment-reference.md:196 and workshop/side-quest-17-07-repo-poisoning.md:191. All four are flagged missing_checkpoint.

All five worst-scoring "findings" have missing_checkpoint as a flag, and all have real checkpoints. Only side-quest-13-01 and side-quest-13-02 are detected, and those are the only pages scoring above 8.

Learning Science Rationale:
Valid measurement is a precondition for evidence-based curriculum improvement. A rubric that reports 0 on a dimension where the content actually satisfies the standard misdirects effort toward writing checkpoints that already exist. It also compresses variance across pages, because the same 2.0-weight dimension is zeroed everywhere. Formative-assessment research (Black & Wiliam) supports checkpoints as a strong practice, so the tool should detect them accurately and then judge item quality.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE so it matches both the emoji and the GitHub shortcode heading, e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint". Also audit the scaffolding detection (the ":clipboard: Before You Start" / "Prerequisites" regex) so it matches the `:clipboard:` shortcode form used in workshop/*.md (e.g. workshop/side-quest-01-02-environment-reference.md has "## :clipboard: Before You Start" but scores 5.0). Make sure checklist-item counting still scopes to the checkpoint section. Add or update unit tests with a fixture using the shortcode heading, rerun the assessment, and report the new corpus mean and the pages that remain below threshold.

Expected Score After Fix: corpus mean about 7.5–8.0 / 10.0 (checkpoint weight 2.0 on pages with ≥ 4 items).

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

  • expires on Nov 29, 2026, 4:04 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.