mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-08 18:01:20 -05:00
[PR #1321] [MERGED] fix: export DecisionLog and FailureBanner from mlsysim.labs #8117
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/1321
Author: @Shashank-Tripathi-07
Created: 4/11/2026
Status: ✅ Merged
Merged: 4/12/2026
Merged by: @profvjreddi
Base:
dev← Head:fix/labs-missing-exports-v3📝 Commits (1)
08d1a1cfix: export DecisionLog and FailureBanner from mlsysim.labs📊 Changes
1 file changed (+4 additions, -0 deletions)
View changed files
📝
mlsysim/labs/__init__.py(+4 -0)📄 Description
Problem
DecisionLogandFailureBannerare defined inmlsysim/labs/components.pyand imported directly by 14+ lab notebooks, but were missing frommlsysim/labs/__init__.py.Any lab using the public API:
raises
ImportErrorat runtime.Fix
Add both to the import block and
__all__inmlsysim/labs/__init__.py.Verification
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.