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

Đang mở Phù hợp với người mới
#6,233 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
82/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

Bắt đầu tại .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, ở mẫu CHECKPOINT_RE và regex scaffolding cho "📋 Before You Start". Xác nhận lỗi bằng cách kiểm tra dòng 138 trong workshop/04-github-actions-intro.md có bị gắn cờ missing_checkpoint hay không, sau đó mở rộng các mẫu để chấp nhận shortcode :white_check_mark: và :clipboard:. Hoàn thành khi unit test có một fixture tiêu đề dùng shortcode và vượt qua, đồng thời các trang bị ảnh hưởng không còn báo cờ đó nữa.

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 (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
Ngôn ngữ chính
JavaScript
Star
61
Fork
45
Merge trung bình
11 giờ 50 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.