第一題.0622-1114405019-洪翊滕 - #2
Closed
1114405019 wants to merge 89 commits into
Closed
1114405019 wants to merge 89 commits into
1114405019 wants to merge 89 commits into
Conversation
…PU/w7-0409 add homework
…PU/AugustChaoTW-patch-4 Update title of homework document
…PU/week-08 docs: update week 08 README with task instructions and submission sta…
Add evaluation guide, quickstart overview, framework README, and scorecard template for grading the 67 Week 02 student submissions (UVA 100, 118, 272, 299, 490 — sequence/dict/sorting/counting). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add WEEK08_EXERCISES.md with 5 exercises covering ch.5 (open/encoding, 'x' mode, StringIO, gzip, pickle) using 109–114 enrollment CSVs - Add stu-data/ with 6 years of NUP freshman CSVs - Update README.md to include in-class section with exercise table Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Added a note regarding assignment submission location and grading policy.
…PU/week-08 Add week 09 materials and update assignment submission guidelines
…cessing - Create HOMEWORK.md for Week 10 detailing tasks on data format conversion and visualization. - Update README.md to reflect new topics and in-class examples. - Add in-class examples for CSV reading/writing, JSON handling, XML parsing, encoding, and data statistics. - Implement a timeit decorator example for measuring function execution time.
…PU/wee10 Wee10
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…PU/week-08 docs: recommend ChillJudge as extra CPE practice resource
…akeup Week 11 was cancelled for the 115/06/12 Generative AI Forum. Week 12 now serves as a combined makeup session. - weeks/week-11/in-class/: R01–R05 + U01 covering classes, @Property, inheritance, special methods, @DataClass, and Die Game simulation - weeks/week-12/in-class/: R01–R04 + U01 covering GCD/divisibility, big-number string handling, binary/bit ops, and 2D matrix search - docs/COURSE_PLAN.md: annotate Week 11 cancellation and Week 12 makeup - weeks/week-11/README.md: add cancellation notice and in-class table - weeks/week-12/README.md: restructure as combined Week 11+12 session Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…PU/wee12 Add Week 11/12 in-class examples and makeup session plan
Interactive tkinter app: 4 colored lights blink at configurable intervals. Students observe which lights sync (= LCM) and reason about GCD. Features: progress rings, step mode, speed control, sync detection. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Students use this spec with Claude Code / Codex to build the GCD blink visualizer incrementally. Covers 6 stages, prompt engineering tips, grading rubric, and reflection questions on GCD/LCM concepts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
R01-gcd-divisibility.py → R01-divisibility.py - Focus on digit-sum divisibility by 9 (for 10922) - Focus on alternating-digit-sum divisibility by 11 (for 10929) - GCD demoted to a brief utility reference README: clarify week-12 theme is divisibility + binary + matrix, not GCD/LCM; add problem-to-example mapping table; note U02 is a conceptual warm-up activity, not tied to homework problems. SPEC: add positioning table clarifying U02 is bonus, not required. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds consistent ## AI 使用方式 and ## 今天任務 sections to all 18 week README files (weeks 01,02,06,08–18 were missing the section). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
- 依 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>
…NPU/wk16-update Week 16 教材 - 0611 排序效能實驗室(五階段)+ AI 協作協議
新增 Week 17 in_class 課堂教材,延續 wk16 的 TDD + AI 協作 + 安全程式設計脈絡: - 0617-search-eval.md(45 分預演):TDD 實作 timeit(含 repeat 取平均)+ 用它對 linear/binary 搜尋做粗略評估,體驗「量測 → 判斷」 - 0618-search-lab.md(90 分完整):搜尋效能五階段專題 (timeit → 三種搜尋 → 加速 + AI blocker 交叉點 → 雷達圖自由發揮 → OpenSSF 安全自掃) - 0617-starter / 0618-search-starter:空殼測試骨架(零實作、零提示詞範例) - in_class/CLAUDE.md + AGENTS.md:資料夾層級「開發訪談助教」協議, 讓 Claude Code / Codex 開教案時自動先反問規格、填滿檢查表才給 code - AI_LOG 新增「AI 反問我什麼 / 我怎麼回答」欄,稽核 AI 是否真的有訪談 設計原則:最少提示詞(提示詞由學生自己打)、先紅後綠、每階段 test→feat 交替。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…NPU/wk17-update wk17-update:Week 17 教案(timeit + 搜尋效能評估)
…NPU/AugustChaoTW-patch-6 August chao tw patch 6
…NPU/AugustChaoTW-patch-7 Add files via upload
依 TEST_CASES.md 撰寫 clean_sequence/format_result/main 的 pytest 測試,此時 data_cleaning.py 尚未實作,測試應為失敗 (ImportError)。
去重(保序) -> 依 divisor 篩選 -> 排序,並接上 main() 的 stdin/stdout 迴圈,使紅燈階段的測試全部轉為通過。
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.
內容
weeks/week-18/solutions/1114405019/data_cleaning/檔案
data_cleaning.py:主程式tests/test_clean_sequence.py、tests/test_main.py:單元測試README.md:作業說明AI_USAGE.md:AI 使用紀錄TEST_CASES.md、TEST_LOG.md:測試案例與測試紀錄測試