[curriculum-eval] curriculum_assessment.py: checkpoint_quality — regex misses :white_check_mark: shortcode, 93/95 pages scored 0

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

Direzione di ricerca

Apri .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py e individua CHECKPOINT_RE insieme al rilevamento dello scaffolding / della sezione "Before You Start"; è lì che si trovano i pattern basati solo su emoji. Amplia entrambi per accettare le forme shortcode di GitHub (:white_check_mark:, :clipboard:), quindi aggiorna o aggiungi i test che le coprono. Il lavoro è completo quando, rieseguendo la valutazione su workshop/, workshop/04-github-actions-intro.md riporta has_checkpoint: true con un checkpoint_quality diverso da zero, e l'elenco dei risultati non segnala più missing_checkpoint sulle pagine che ne hanno uno.

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 (artificially depressed)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 93/95 pages ≥ 10 with ≥ 4 items -10
scaffolding 5.0 on most pages 10 when "Before You Start" present -5

Root Cause (≤ 2 sentences):
CHECKPOINT_RE is ##\s+✅\s*Checkpoint, but workshop pages (per AGENTS.md conventions) write ## :white_check_mark: Checkpoint; the same applies to :clipboard: Before You Start. As a result checkpoint_quality and scaffolding are mis-scored and missing_checkpoint is flagged on pages that have valid checkpoints.

Evidence (quoted from the file):

:white_check_mark: Checkpoint
  • You can identify on, jobs, and steps in a workflow file

(from workshop/04-github-actions-intro.md, which the rubric reports as has_checkpoint: false, checkpoint_quality: 0.0)

Learning Science Rationale:
Metrics only support instructional decisions if they measure what they claim to. Formative-assessment research (Black & Wiliam) values frequent check-for-understanding points, and this workshop has them; a false "missing checkpoint" signal sends effort toward non-problems and masks real weaknesses such as low activity density and long pages.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to also match the GitHub shortcode form, e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint", and update the scaffolding/"Before You Start" detection to accept both ":clipboard:" and "📋" prefixes. Add or update tests, re-run the assessment against workshop/, and confirm that pages such as 04-github-actions-intro.md now report has_checkpoint=true and checkpoint_quality>0. Then re-check the findings list for pages that were flagged only because of missing_checkpoint.

Expected Score After Fix: corpus mean about 7.3 / 10.0 (most pages gain ~+10 on checkpoint_quality ×2.0 weight and +5 on scaffolding ×1.5 weight, over total weight 10)

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

  • expires on Nov 23, 2026, 3:32 AM UTC
Lingua principale
JavaScript
Stelle
61
Fork
43
Merge medio
10h 38m
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.