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

Đang mở Phù hợp với người mới
#6,452 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ệ
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, việc phát hiện các phần điều kiện tiên quyết, đếm các mục trong danh sách kiểm tra và dấu hiệu activity:checkpoint. So sánh các mẫu này với những tiêu đề shortcode được nêu trong issue, sau đó chạy đánh giá và kiểm tra các trang workshop được chỉ định. Công việc hoàn tất khi các tiêu đề shortcode được nhận diện, các trang không có những checkpoint đó không bị gắn cờ, và các bài kiểm tra hoặc tài liệu rubric liên quan đượ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
Overall Score: n/a (tooling defect affecting all pages; corpus mean 6.03)

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 on 100/101 pages ≥ 7.5 (≥ 3 items) ≈ −7.5
scaffolding 5.0 on 101/101 pages 10 −5.0

Root Cause (≤ 2 sentences):
CHECKPOINT_RE = r"##\s+✅\s*Checkpoint" and the prerequisite check r"##\s+📋\s*Before You Start" match literal emoji, but the workshop (per AGENTS.md) writes ## :white_check_mark: Checkpoint and ## :clipboard: Before You Start. Every page therefore reports no checkpoint and no scaffolding, depressing scores by roughly 2.5 points and generating false missing_checkpoint findings.

Evidence (quoted from the file):

## :white_check_mark: Checkpoint (e.g. workshop/side-quest-17-07-repo-poisoning.md line 191, followed by 6 checklist items) — yet the metrics report has_checkpoint: false.

Learning Science Rationale:
Valid measurement is a precondition for acting on formative feedback; a rubric that mis-scores retrieval-practice elements (checkpoints) and advance-organiser elements (Before You Start) misdirects improvement effort. Mayer's signalling and Sweller's guidance-fading principles both rely on these structures being correctly recognised, and the current compressed score spread (σ=0.47) hides real differences.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match "## ✅ Checkpoint" OR "## :white_check_mark: Checkpoint" (case-insensitive, optional whitespace), and update the has_prereq_section detection to match "## 📋 Before You Start" OR "## :clipboard: Before You Start" OR "## Prerequisites". Also check the checklist-item counting and the bloom "activity:checkpoint" cue use the same pattern. Re-run the assessment and confirm that most pages now report has_checkpoint=true, then spot-check workshop/00-welcome.md, 01-prerequisites.md, 06-install-gh-aw.md and side-quest-13-01-pr-labeler-pattern.md, which genuinely lack a shortcode checkpoint. Update any tests or docs for the rubric.

Expected Score After Fix: ~8.0 / 10.0 corpus mean (checkpoint_quality and scaffolding rise for nearly all pages).

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

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

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.