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

Đang mở Phù hợp với người mới
#6,363 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
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, has_prereq_section và biểu thức chính quy cho bằng chứng Bloom gần dòng 157. Đọc các bài kiểm thử đơn vị hiện có, nếu có, và kiểm tra cách bước đánh giá xử lý workshop/04-github-actions-intro.md. Công việc hoàn tất khi các tiêu đề shortcode và ## Prerequisites được nhận diện, đồng thời trang đó nhận điểm checkpoint_quality khác không.

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: n/a (tooling; affects all 96 pages, corpus mean 6.06)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 94/96 pages ≥ 7.5 (≥ 3–4 items) −7.5 or more
scaffolding 5.0 on 96/96 pages 10 −5.0

Root Cause (≤ 2 sentences):
CHECKPOINT_RE matches only the literal ## ✅ Checkpoint and has_prereq_section only ## 📋 Before You Start, but the workshop writes ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start. Only two pages that use the raw emoji (side-quest-13-01/02) are detected, which is why they score 8.4–8.6 while the rest cluster near 6.

Evidence (quoted from the file):

CHECKPOINT_RE = re.compile(r"##\s+✅\s*Checkpoint", re.IGNORECASE)

and from workshop/04-github-actions-intro.md: ## :white_check_mark: Checkpoint followed by 5 checklist items.

Learning Science Rationale:
Measurement validity: a rubric that penalises content for a formatting representation rather than a pedagogical property produces noisy rankings. Retrieval-practice checkpoints (Roediger & Karpicke) are the intended construct, and they exist; the score should reflect them so genuine weaknesses (length, activity density) are not hidden.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match "## ✅ Checkpoint" and "## :white_check_mark: Checkpoint" (e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint"), and update the has_prereq_section regex to accept "## 📋 Before You Start" and "## :clipboard: Before You Start" as well as "## Prerequisites". Also check the bloom evidence regex at ~line 157 uses the same pattern. Add or update unit tests if present, re-run the assessment, and confirm the corpus mean rises and that checkpoint_quality > 0 for pages like 04-github-actions-intro.md.

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

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

  • expires on Dec 2, 2026, 3:43 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.