mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-07 02:03:55 -05:00
[PR #1320] [CLOSED] fix: export DecisionLog and FailureBanner from mlsysim.labs #7271
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/1320
Author: @Shashank-Tripathi-07
Created: 4/11/2026
Status: ❌ Closed
Base:
main← Head:fix/labs-missing-exports📝 Commits (10+)
a35f74bci(staffml): add paper PDF build workflow + update Makefilefc7e4d3docs(site): add StaffML to About page — stats strip, timeline, CTA362ad2afix(site): restore sidebar nav, fix cover images, update Vol II year to 2027d302575refactor(tinytorch): migrate from legacy np.random to default_rng(7)88d0385docs(staffml): add 'How Questions Are Built' transparency section0f4c4f6Update contributors list [skip ci]70cc0e1doc(paper): comprehensive layout, math verification, and structural polishingf8ed5cffeat(staffml): auto-generate paper macros from corpus statsf03a201docs(staffml): add LLM Failure Modes taxonomy to paper QA section0e2518ffix(staffml): wire chain_ids into corpus questions (enables chain UI)📊 Changes
3007 files changed (+1127192 additions, -207278 deletions)
View changed files
📝
.all-contributorsrc(+249 -193)📝
.codespell-ignore-words.txt(+30 -4)➖
.envrc(+0 -5)➕
.github/ISSUE_TEMPLATE/bug_report.yml(+44 -0)➕
.github/ISSUE_TEMPLATE/config.yml(+5 -0)➕
.github/ISSUE_TEMPLATE/interview_question.yml(+85 -0)➕
.github/ISSUE_TEMPLATE/mlsysim_bug.yml(+55 -0)➕
.github/ISSUE_TEMPLATE/new_challenge.yml(+40 -0)➕
.github/ISSUE_TEMPLATE/staffml_contribute.yml(+107 -0)➕
.github/ISSUE_TEMPLATE/staffml_report.yml(+72 -0)➕
.github/ISSUE_TEMPLATE/tinytorch_improvement.yml(+61 -0)➕
.github/PULL_REQUEST_TEMPLATE.md(+35 -0)➖
.github/TINYTORCH_ISSUE_TEMPLATE/module_architecture_improvement.md(+0 -147)➕
.github/dev-landing/book-index.html(+137 -0)📝
.github/dev-landing/index.html(+40 -12)📝
.github/docker/Dockerfile(+3 -3)➕
.github/scripts/generate_interview_flashcard.py(+116 -0)➕
.github/scripts/rewrite-dev-urls.sh(+76 -0)➕
.github/scripts/sync_newsletter.py(+324 -0)📝
.github/workflows/all-contributors-add.yml(+155 -135)...and 80 more files
📄 Description
Problem
DecisionLogandFailureBannerare defined inmlsysim/labs/components.pyand imported directly by 14+ lab notebooks across both volumes, but were missing from the package's__init__.py.This means any lab that does:
works fine, but the intended public API:
raises
ImportError.Fix
Add
DecisionLogandFailureBannerto both the import block and__all__inmlsysim/labs/__init__.py.Testing
Verified against the source tree locally.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.