mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-21 21:43:04 -05:00
[PR #1786] fix(labs-vol2): correct numerical bugs in labs 08, 09, 11, 14 #15737
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/1786
Author: @Shashank-Tripathi-07
Created: 5/18/2026
Status: 🔄 Open
Base:
dev← Head:fix/labs-vol2-lab07-16-audit📝 Commits (5)
fbb3f3dfix(site): add nav-footer and dropdown-menu dark mode selectors0bbda9dfix(lab-08): correct Part A serving cost crossover from ~6 weeks to ~3-4 weeks6a33df1fix(lab-09): correct FlashAttention savings ratio from 256x/1024x to 128x/512xee6733afix(lab-11): correct 3-sigma alert fatigue count from 864 to 778/day429973afix(lab-14): correct 2^21.2 energy deficit approximation from 195,000x to 2,400,000x📊 Changes
6 files changed (+61 additions, -27 deletions)
View changed files
📝
labs/vol2/lab_08_inference.py(+2 -2)📝
labs/vol2/lab_09_perf_engineering.py(+6 -6)📝
labs/vol2/lab_11_ops_scale.py(+7 -7)📝
labs/vol2/lab_14_sustainable_ai.py(+8 -8)📝
shared/config/footer-site.yml(+1 -1)📝
shared/styles/_site-dark.scss(+37 -3)📄 Description
Summary
Four numerical correctness bugs found during audit of labs/vol2/ labs 07-16:
Labs 07, 10, 12, 13, 15, 16 had no numerical correctness bugs. All fixes were verified against the in-file simulator formulas.
Test plan
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.