mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-07 18:18:42 -05:00
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1371
Author: @profvjreddi
Created: 4/17/2026
Status: ✅ Merged
Merged: 4/17/2026
Merged by: @profvjreddi
Base:
dev← Head:refactor/lab00-pattern-c📝 Commits (1)
0b9dc7frefactor(labs/lab_00): manual Pattern C migration (closes #1347)📊 Changes
2 files changed (+22 additions, -25 deletions)
View changed files
📝
labs/tests/test_static.py(+3 -21)📝
labs/vol1/lab_00_introduction.py(+19 -4)📄 Description
what
split the gated 5-widget check-2 cell in vol1/lab_00_introduction.py into:
this matches the canonical pattern from lab_01 post-#1339 and keeps downstream helpers (check2empty, check2value_list at line 1372) from hitting undefined widgets when check1 has not been answered.
also removed the
_KNOWN_MULTI_LEAK_LABSgrandfather set in labs/tests/test_static.py now that it is empty. the one-widget-per-gated-cell rule applies strictly to all 33 labs going forward.why manual
lab_00 uses check1/check2/check3 sequential concept checks, structurally different from the partX_prediction idiom elsewhere. the mechanical Pattern C transform from #1352 would have broken test_engine because check2 helpers rely on all 5 checkboxes being globally defined.
test plan
closes #1347
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.