[curriculum-eval] curriculum_assessment.py: checkpoint_quality — regex misses `:white_check_mark:` headings (93 of 95 pages false-flagged)

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

Hướng nghiên cứu

Đọc .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py và kiểm tra CHECKPOINT_RE cùng logic đánh giá checkpoint. Cập nhật regex để nhận diện cả emoji thực tế lẫn tiêu đề có dạng :white_check_mark:. Sau đó chạy lại phần đánh giá và xác nhận workshop/04-github-actions-intro.md được phát hiện, đồng thời các mục checklist của tệp được tính.

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: corpus mean 6.06 / 10.0 (threshold 5.52)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 93/95 pages ≥ 4 items → 10 −10.0 (≈ −2.0 overall)

Root Cause (≤ 2 sentences):
CHECKPOINT_RE = re.compile(r"##\s+✅\s*Checkpoint") requires a literal emoji, but workshop pages follow the repo convention ## :white_check_mark: Checkpoint, so has_checkpoint is false and missing_checkpoint is flagged almost everywhere.

Evidence (quoted from the file):

## :white_check_mark: Checkpoint (e.g. workshop/04-github-actions-intro.md line 138, with 5 checklist items)

Learning Science Rationale:
Retrieval practice and formative feedback (Roediger & Karpicke) depend on learners seeing explicit self-checks. A metric that cannot see checkpoints hides real gaps and sends effort to pages that already comply. Fixing measurement validity should come before content edits.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, change CHECKPOINT_RE so it matches both "## ✅ Checkpoint" and "## :white_check_mark: Checkpoint" (case-insensitive), e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint". Re-run the assessment, confirm has_checkpoint is true for pages such as workshop/04-github-actions-intro.md, and check that checkpoint_quality scores now reflect checklist item counts. Do not edit workshop pages.

Expected Score After Fix: corpus mean ≈ 7.9 / 10.0 (most pages gain ~+2.0).

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

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

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.