[curriculum-eval] curriculum_assessment.py: checkpoint_quality — regex misses :white_check_mark: shortcode, deflating scores corpus-wide

Đang mở Phù hợp với người mới
#5,972 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
tooling

Hướng nghiên cứu

Mở .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py và tìm hai pattern ở cấp module CHECKPOINT_RE và regex prerequisites; cả hai hiện chỉ khớp với dạng emoji. Mở rộng từng pattern để cũng chấp nhận văn bản shortcode :white_check_mark: và :clipboard: như trong prompt cải tiến, sau đó chạy lại đánh giá trên workshop/. Hoàn tất khi workshop/04-github-actions-intro.md báo has_checkpoint=true, side-quest-01-02-environment-reference.md báo has_prereq_section=true, và các phát hiện missing_checkpoint còn lại chỉ là những trang thực sự thiếu checkpoint.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

curriculum documentation quality

File: .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py
Overall Score: 6.06 / 10.0 corpus mean (lowest page: 4.79)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 93/95 learning pages present, ≥ 4 items (10.0) −10.0
scaffolding 5.0 on pages using :clipboard: Before You Start 10.0 −5.0

Root Cause (≤ 2 sentences):
CHECKPOINT_RE is ##\s+✅\s*Checkpoint and the scaffolding regex is ##\s+📋\s*Before You Start, but workshop pages (per repo conventions) write ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start. Result: has_checkpoint=false and has_prereq_section=false for nearly every page, so weights 2.0 + 1.5 are scored as failures and all missing_checkpoint findings are false positives.

Evidence (quoted from the file):

CHECKPOINT_RE = re.compile(r"##\s+✅\s*Checkpoint", re.IGNORECASE) versus workshop/04-github-actions-intro.md line 138: ## :white_check_mark: Checkpoint (followed by 5 checklist items), and side-quest-01-02-environment-reference.md line 9: ## :clipboard: Before You Start.

Learning Science Rationale:
Valid measurement is a precondition for acting on Bloom's/Cognitive Load findings: a rubric that scores retrieval-practice checkpoints (Roediger & Karpicke's testing effect) as absent when they exist misdirects improvement effort and hides the real differentiators (word count, concept load, activity density). Fixing the instrument restores the signal so remaining findings reflect genuine content gaps.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match both "## ✅ Checkpoint" and "## :white_check_mark: Checkpoint" (e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint"), and update the has_prereq_section regex so "## :clipboard: Before You Start" matches as well as "## 📋 Before You Start" and "## Prerequisites". Re-run the assessment on workshop/ and confirm that pages like 04-github-actions-intro.md now report has_checkpoint=true and has_prereq_section=true, that the corpus mean rises, and that "missing_checkpoint" flags drop to only pages genuinely lacking a checkpoint. Do not edit workshop content.

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

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

  • expires on Nov 22, 2026, 7:05 AM UTC
Ngôn ngữ chính
JavaScript
Star
61
Fork
43
Merge trung bình
10 giờ 38 phút
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của githubnext/gh-aw-workshop

Tất cả issue của githubnext/gh-aw-workshop

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.