[curriculum-eval] side-quest-17-07-repo-poisoning.md: cognitive_load — 23 concepts and 1234 words in one side quest

未关闭 适合新手
#5,547 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
github-actions, markdown

调研方向

从 workshop/side-quest-17-07-repo-poisoning.md 开始,重点关注 “The Attack”、“Why This Matters”、前两项防御措施和练习。精简指定章节的合并正文,将 “identify the dangerous field” 练习移到前两项防御措施各自之后,并删除重复的文档链接,同时保留 “Checkpoint” 和 “Before You Start”。完成标准是文件不超过 900 个单词且包含 18 个新概念;issue 还建议运行 markdownlint。

由索引模型根据 Issue 内容生成。

描述

curriculum documentation quality

File: workshop/side-quest-17-07-repo-poisoning.md
Overall Score: 4.95 / 10.0 (corpus mean: 6.1)

Flagged Dimensions:

Dimension Score Benchmark Delta
cognitive_load 5.8 ≥ 8 −2.2 (1234 words, 23 concepts)
active_learning 2.7 ≥ 7 −4.3

Root Cause (≤ 2 sentences):
The page introduces the attack plus four defences (read-only permissions, PR-routed writes, protected paths, network allow-lists) and two exercises in a single sitting, with many inline doc links. Concept count (23) is well above the 15 ideal and the prose-to-activity ratio is high. (The "missing checkpoint" flag is a scorer false positive.)

Evidence (quoted from the file):

Section headings: "Declare read-only permissions", "Route writes through a pull request", "Restrict which paths can change", "Limit network destinations" — each with its own explanation and code sample before the first exercise at line 125.

Learning Science Rationale:
Sweller's Cognitive Load Theory and the worked-example effect suggest interleaving each new defence with a short practice step rather than delivering all four before the first exercise; learners otherwise exceed working-memory capacity and retain less.

Improvement Prompt (for an agent):

Edit workshop/side-quest-17-07-repo-poisoning.md. Trim prose in "The Attack" and "Why This Matters" to ≤ 150 words combined. Move one small exercise ("identify the dangerous field") directly after each of the first two defences instead of leaving both exercises at the end. Remove redundant inline doc links (link each doc once). Target ≤ 900 words and ≤ 18 new concepts, keep the Checkpoint and "Before You Start" sections, and run `npx --yes markdownlint-cli2 "**/*.md"`.

Expected Score After Fix: 5.6 / 10.0 with current rubric (≈ 8 after checkpoint regex fix)

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

  • expires on Nov 11, 2026, 3:31 AM UTC
主要语言
JavaScript
星标
58
派生
40
平均合并
1 天 22 小时
30 天内合并 PR
7

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

githubnext/gh-aw-workshop 的其他 Issue

查看 githubnext/gh-aw-workshop 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。