[curriculum-eval] curriculum_assessment.py: checkpoint_quality & scaffolding — regex misses :white_check_mark: / :clipboard: shortcodes

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

Hướng nghiên cứu

Bắt đầu với .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, tập trung vào CHECKPOINT_RE và các bước kiểm tra has_prereq_section. Tiếp theo, kiểm tra cách sử dụng bằng chứng về checkpoint quanh dòng 157 và các bài kiểm thử liên quan. Cập nhật các mẫu để nhận diện tiêu đề có cả emoji lẫn shortcode, đồng thời giữ lại phương án “Prerequisites”; chạy quá trình đánh giá và xác nhận chỉ những trang không có checkpoint bị gắn cờ.

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 (94 of 96 pages affected)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 94 pages ≥ 10 with ≥ 4 items −10
scaffolding 5.0 on all pages (has_prereq_section is false for all 96) 10 −5

Root Cause (≤ 2 sentences):
CHECKPOINT_RE requires the literal ✅ and the scaffolding check requires the literal 📋, but workshop files write ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start. Every page is therefore penalised ≈ 2.5–3 overall points, which hides real quality differences and produces false missing_checkpoint flags.

Evidence (quoted from the file):

CHECKPOINT_RE = re.compile(r"##\s+✅\s*Checkpoint", re.IGNORECASE) and re.search(r"##\s+📋\s*Before You Start", raw, re.IGNORECASE)

Workshop evidence: workshop/05-agentic-workflows-intro.md has ## :white_check_mark: Checkpoint with 6 checklist items but is reported has_checkpoint: false.

Learning Science Rationale:
Valid measurement is a precondition for acting on rubric feedback. Formative-assessment research (Black & Wiliam) depends on accurate signals. A rubric that scores nearly every page as lacking checkpoints cannot discriminate and sends authors to fix non-problems, so the ranking is driven by noise.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match both the emoji and the shortcode forms of the heading, e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint", and update the has_prereq_section regexes to accept "📋" or ":clipboard:" before "Before You Start" (keep the "Prerequisites" alternative). Also check the checkpoint-evidence use around line 157 and any tests. Re-run the assessment and confirm that only pages truly lacking a checkpoint (00-welcome, 01-prerequisites, 06-install-gh-aw, and any others) are flagged missing_checkpoint. Do not edit workshop content.

Expected Score After Fix: corpus mean ≈ 8.5 / 10.0 (from 6.06)

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

  • expires on Dec 1, 2026, 4:03 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.