[curriculum-eval] curriculum_assessment.py: checkpoint_quality — regex misses `:white_check_mark:` so 100/101 pages score 0

Đang mở Phù hợp với người mới
#6,417 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
76/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ệ
github-actions, python
Lĩnh vực
testing, tooling

Hướng nghiên cứu

Đọc .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py và kiểm tra các biểu thức chính quy dành cho checkpoint và điều kiện tiên quyết. So sánh chúng với các tiêu đề được trích từ workshop/04-github-actions-intro.md; sau đó chạy tập lệnh đánh giá và xác nhận rằng tập lệnh phát hiện các checkpoint và phần điều kiện tiên quyết trong những tệp ví dụ được nêu tên. Hoàn tất khi các biểu thức chính quy nhận diện được cả tiêu đề có emoji lẫn tiêu đề có shortcode, vẫn giữ ## Prerequisites, và mọi bài kiểm tra hoặc tài liệu mô tả các quy tắc đó được cập nhật.

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: corpus mean 6.03 / 10.0 (all pages understated)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 (100 of 101 pages) ≥ 4 items → 10 -10.0
scaffolding 5.0 (100 of 101 pages) 10 when "Before You Start" present -5.0

Root Cause (≤ 2 sentences):
CHECKPOINT_RE = r"##\s+✅\s*Checkpoint" and the prereq regex ##\s+📋\s*Before You Start require literal emoji, while workshop files (per AGENTS.md conventions) use the GitHub shortcodes :white_check_mark: and :clipboard:. Pages with real checkpoints (for example 04-github-actions-intro.md, 5 items) are scored as having none.

Evidence (quoted from the file):

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

(workshop/04-github-actions-intro.md, reported as has_checkpoint: false, checkpoint_quality: 0.0.)

Learning Science Rationale:
Valid measurement precedes valid intervention. Formative-assessment research (Black & Wiliam) supports checkpoints as retrieval-practice points, and Bloom-aligned reviews depend on correct detection of them. A false "no checkpoint" signal on ~100 pages sends editors to fix things that are not broken and hides real quality differences (for example pages with fewer than 4 items).

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match "## :white_check_mark: Checkpoint" as well as "## ✅ Checkpoint", and update the has_prereq_section regex to match "## :clipboard: Before You Start" as well as "## 📋 Before You Start" (keep "## Prerequisites"). Use patterns like r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint" and r"##\s+(?:📋|:clipboard:)\s*Before You Start". Re-run the assessment script and confirm has_checkpoint is true for 04-github-actions-intro.md and side-quest-17-07-repo-poisoning.md, and that the corpus mean rises to roughly 7.5-8. Update any tests or docs describing these rules.

Expected Score After Fix: 7.8 / 10.0 corpus mean (checkpoint ≥4 items adds +2.0, prereq adds up to +0.75 per page)

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

  • expires on Dec 3, 2026, 5:06 AM UTC
Ngôn ngữ chính
JavaScript
Star
61
Fork
45
Merge trung bình
10 giờ 53 phút
Pull request đã merge (30 ngày)
14

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.