mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-06 17:49:07 -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/1381
Author: @profvjreddi
Created: 4/17/2026
Status: ✅ Merged
Merged: 4/17/2026
Merged by: @profvjreddi
Base:
dev← Head:fix/lab00-conditional-callout📝 Commits (1)
03d60cafix(labs/lab_00): suppress infeasible callout on exactly-right answer (#1305)📊 Changes
1 file changed (+16 additions, -7 deletions)
View changed files
📝
labs/vol1/lab_00_introduction.py(+16 -7)📄 Description
what
check-2 in
labs/vol1/lab_00_introduction.pyrenders a red "INFEASIBLE — Cloud inference violates physics"mo.callout(kind=\"danger\")regardless of what the student selected. even when they pick the two correct answers ("move_server" + "edge_deploy") with no wrong ones, they still get the red shout. @asgalon reported this in #1305 with a screenshot.fix: skip the danger callout on an exactly-right submission. the cell's prose explanation and the math-peek accordion still carry the physics argument for every submission. students with any wrong selection or any missing correct selection still see the callout as a reinforcement.
context
@asgalon landed the multiselect-to-checkbox conversion in
cbd418c5bearlier. this pr finishes the remaining "shouldn't this block be conditional?" observation from their issue.test plan
pytest labs/tests/test_static.py labs/tests/test_engine.py -q→ 792 passed 4 skipped 1 xfailedpython3 -m marimo check vol1/lab_00_introduction.py→ exit 0closes #1305
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.