feat(ch07): 完善图算法代码题、测试点与教学规范 - #190
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
这次更新解决什么
按维护者提供的 Ch7 三十题清单补全图算法代码练习,使每题都有可独立完成的题面、可编译的学生起始代码、参考实现和可复现的评分测试。新增 20 题;保留已有题目的永久 ID,并将清单外两题作为补充,全章共 32 题。
改动内容
验证记录
pnpm test:内容、类型、lint、工具与文档测试、Ch7 校验、自动发现、构建和产物检查通过;一个既有符号链接测试因 Windows 环境限制跳过。lab:verify通过,共 640 个测试点;参考实现满分、starter 可编译且非满分、期望输出稳定。python scripts/check-ch07-exercises.py --write --solutions --mutations:20 题独立答案与参考实现一致,20 个典型错误均被检出;之后以只读模式再次核对全部期望。/DSA-Mastery/构建及check:site通过,test:pages完整 62/62 通过,含 390px 窄屏检查。make run CASE=001-sample得到预期 starter WA 和重试提示。node --test tests/ch07-exercises.test.mjs与git -c core.whitespace=-blank-at-eof diff --cached --check,均通过。07E21 的两个无活动用例按题面保留第三行空行;提交不含缓存、二进制和构建日志。详细记录见
.trellis/tasks/09-14-ch07-program-exercises/review.md。跨系统验证以本 PR 的 CI 结果为准。内容完成标准
AI 使用与人工复核
AI 用于题目适配、代码与测试实现、独立答案核验、错误变体测试和规范维护。自动化检查已完成,不将其等同于人工知识审阅。
Reviewer 重点关注