[curriculum-eval] curriculum_assessment.py: checkpoint_quality & scaffolding — regexes miss :white_check_mark: / :clipboard: headings

Đang mở Phù hợp với người mới
#5,966 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
72/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, markdown, python
Lĩnh vực
tooling

Hướng nghiên cứu

Bắt đầu trong .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py và xem CHECKPOINT_RE cùng regex điều kiện tiên quyết (has_prereq_section). Xác nhận lần bỏ sót bằng cách chạy đánh giá trên workshop/04-github-actions-intro.md, tệp dùng ## :white_check_mark: Checkpoint. Hoàn tất khi has_checkpoint là true cho trang đó, các dạng shortcode được khớp cùng với các dạng emoji và giá trị trung bình của corpus tăng lên. Cập nhật mọi test hoặc tài liệu trong cùng thư mục skill.

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: 6.1 / 10.0 (corpus mean: 6.06) — affects 93 of 95 pages

Flagged Dimensions:

Dimension Score Benchmark Delta
checkpoint_quality 0.0 (on 93 pages) ≥ 4 items → 10 -10.0
scaffolding 5.0 (on ~88 pages) section present → 10 -5.0

Root Cause (≤ 2 sentences):
CHECKPOINT_RE matches the literal ✅ glyph and the prerequisite regex matches 📋, but the workshop headings use the GitHub shortcodes :white_check_mark: and :clipboard:. Every page is therefore scored has_checkpoint: false and without scaffolding, so the dashboards report false missing_checkpoint flags and understate scores by ~2–3.5 points.

Evidence (quoted from the file):

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

versus workshop/04-github-actions-intro.md: ## :white_check_mark: Checkpoint (it has 5 checklist items, yet scored checkpoint_quality: 0.0).

Learning Science Rationale:
Valid measurement is a precondition for acting on rubric output. Checkpoints support retrieval practice and formative feedback (Roediger & Karpicke's testing effect), and scaffolding supports Vygotsky-style guided progression. When the tool reports these as absent everywhere, genuine gaps cannot be separated from artefacts, and improvement agents waste effort adding duplicate checkpoints.

Improvement Prompt (for an agent):

In .github/skills/curriculum-quantitative-assessment/curriculum_assessment.py, update CHECKPOINT_RE to match both the emoji and shortcode forms, e.g. r"##\s+(?:✅|:white_check_mark:)\s*Checkpoint", and update the prerequisite/scaffolding regex (has_prereq_section) to r"##\s+(?:📋|:clipboard:)\s*(?:Before You Start|Prerequisites)". Also check any other emoji-based regexes in the file (e.g. :pencil2:, :dart:) for the same mismatch. Then re-run the assessment over workshop/*.md and confirm has_checkpoint is true for pages containing "## :white_check_mark: Checkpoint" and that corpus mean_score rises. Update any tests or docs under .github/skills/curriculum-quantitative-assessment/ accordingly.

Expected Score After Fix: 8.3 / 10.0 (estimated corpus mean once checkpoint and scaffolding are detected)

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

  • expires on Nov 22, 2026, 3:31 AM UTC
Ngôn ngữ chính
JavaScript
Star
61
Fork
43
Merge trung bình
10 giờ 38 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.