Week 16 教材 - 0611 排序效能實驗室(五階段)+ AI 協作協議 - #1078
Merged
Merged
Conversation
- 依 OpenSSF Secure-Coding-Guide-for-Python 審查程式碼 - 修補 3 類安全問題(CWE-176 編碼, CWE-476 None 值, CWE-843 型別混淆) - 補上 AI_LOG.md 含提示詞逐字紀錄與加速百分比 - 補上 TEST_LOG.md 含完整測試結果
- Deleted test_timing.py and timing.py as part of the cleanup process. - Removed associated AI_LOG.md and TEST_LOG.md files. - Cleaned up benchmark, plot, and sorting files along with their respective test files. - Ensured all related assets and results.json are also removed.
- 主教案總覽表/學習目標/TDD 循環(十次)/時程(90 分鐘塞五關)/配分全面同步五階段 - Stage 5 安全自掃:OpenSSF 四章對照、紅綠燈編成 test_security.py、不適用條目要說明、bandit 加分 - 配分加 Stage 5(10),style/報告各降 5,維持總分 100 - 五階段全部課堂內完成,下課前 PR 收齊,無課後補交(移除先前 8 折規則) - starter README 修正 Stage 3/4 標題錯位、補 Stage 5、十個 commit、檔案說明 - week-16 README 與 in_class README 描述同步 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates Week 16’s 6/11 in-class “sorting performance lab” materials from a 4-stage workflow to a 5-stage workflow by adding a security self-audit stage and codifying AI-collaboration instructions, while removing the unused “solo drill” handout.
Changes:
- Expand 6/11 lab from 4 stages → 5 stages (adds Stage 5 security self-audit requirements and rubric updates).
- Update course/week readmes and starter instructions to match the new 5-stage timeline and deliverables.
- Add repository-wide agent instructions (
AGENTS.md) and remove the unused 6/11 solo drill handout.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| weeks/week-16/in_class/README.md | Updates the 6/11 session description and removes the backup/unused handout link. |
| weeks/week-16/in_class/0611-sort-starter/README.md | Updates starter instructions to a 5-stage loop; adds AI-collaboration protocol text. |
| weeks/week-16/in_class/0611-sort-lab.md | Expands lab spec to 5 stages and adds Stage 5 security-audit section, schedule, rubric updates. |
| weeks/week-16/in_class/0611-solo-drill.md | Deletes the unused solo drill handout. |
| weeks/week-16/README.md | Updates week-level summary to reflect 5-stage lab completion requirements. |
| weeks/week-15/in_class/exam-sop-checklist-lite.md | Minor checklist formatting change. |
| AGENTS.md | Adds repository-wide instructions for coding agents, including the AI collaboration protocol. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| [ ] 0. Fork + clone 自己的 fork(第一次才要做) | ||
| [ ] 1. 從 main 開 feature 分支 | ||
| [ ] 2. 跟 AI 拆 ≥3 個 test case(含 ≥1 個 edge case) | ||
| [ ] 2. 跟 AI 拆 ≥3 個 test case(含 ≥1 個 edge case) |
|
|
||
| - 6/10 (三):[限時演練](./0610-timed-drill.md) — 60 分鐘完賽,只准看精簡版檢查表 | ||
| - 6/11 (四):[排序效能實驗室・分階段專題](./0611-sort-lab.md) — 不發檢查表;全程 AI 協作,四階段課堂內完成,下課前 PR 收齊 | ||
| - 6/11 (四):[排序效能實驗室・分階段專題](./0611-sort-lab.md) — 不發檢查表;全程 AI 協作,五階段(timeit/排序/加速/畫圖/安全自掃)**全部課堂內完成,下課前 PR 收齊,無課後補交** |
Comment on lines
+12
to
+13
| **Read spec → Dev for red(`test:` commit)→ Dev for green(`feat:` commit)→ push**, | ||
| 五個階段重複同一循環,push 完才進下一階段。 |
Comment on lines
+76
to
+80
| <!-- 以下為 AI 協作協議,供學生與 AI 助理共同參考 --> | ||
|
|
||
| > **AI 協作協議** — 以下規則對學生與 AI 助理雙方均有約束力。 | ||
|
|
||
| 當你(學生)請 AI 協助本專題時,AI 必須以「開發訪談助教」角色運作,遵循: |
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.
內容
6/11 課堂專題「排序效能實驗室」完整版,五階段全部課堂內完成:
@timeit計時裝飾器(TDD)規則
test:(紅)→feat:(綠),五階段共十個 commit其他
AGENTS.md:Codex/agents 版 AI 協作協議(對應 CLAUDE.md)0611-solo-drill.md🤖 Generated with Claude Code