Repository navigation
Fix workshop setup, rendering, and learner feedback issues - #1
Merged
Merged
Conversation
Preserve native canvas framing with aspect-preserving RGB padding, keep shared scene frame labels synchronized, verify every teaching image/table, pause setup instructions for graphics inspection, retain projection layers through export, and document recovery without overwriting incomplete data. Reuse analysis: - Repaired create_scene and export_time_series; added only a pure fit_frame pixel transformation shared by notebook PNG and movie exports. - Composed load_images, load_tables, and download.verified in setup instead of introducing another validator or download/repair lifecycle. - Reused the main notebook's existing projection layers for the 2D route. - Updated Numpydoc contracts, notebooks, setup/fallback documentation, and docs/superpowers/plans/2026-11-14-review-fixes.md with the detailed analysis. Validation: 20 tests including GUI regressions; all four learner notebooks and the instructor solution in fresh kernels; main lesson also in 2D; movie/frame inspections; Ruff; notebook format; Sphinx warnings-as-errors; cached recovery with the incomplete folder preserved. Apple Silicon only. Scoped type checking retains six pre-existing pandas/ImageIO diagnostics.
Make the synthetic setup sphere visible with explicit contrast limits in both entry points. Clarify course ZIP selection and introduce environment/Jupyter terminology. Add an executable all-frame particle-size exercise and explain GUI selection behavior. Fit camera-animation PNG frames before encoding and record the Windows geometry/font checks that remain unverified. Reuse analysis: - Composed the supported Animation.animate PNG-directory output, existing fit_frame helper, and ImageIO encoder in the three notebook examples. - Added no parallel export API or interpolation lifecycle. - Preserved notebook cell IDs and updated the fallback regression to use them. - Detailed record: docs/superpowers/plans/2026-11-14-feedback-fixes.md. Validation: 25 tests including five desktop cases; all four learner notebooks, instructor solution, and main 2D route in fresh kernels; seven decoded movies with expected counts/fps and 640x480 dimensions; visual sphere/camera checks; Ruff, clean notebook validation, encoder, and Sphinx/offline ZIP build. Apple Silicon validation does not certify Windows Qt/font behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Setup could appear successful while the practice sphere was nearly black, particle-size instructions did not change existing points, and exports could crop the selected view or trigger automatic video resizing. This PR fixes those learner-facing failures and the earlier repository review findings while keeping the main lesson usable in 2D.
Changes
USE_3D = Falseroute, including exports, while skipping camera rotation.Verification
Local execution on macOS 26.7.3 / Apple Silicon, Python 3.12.11, napari 0.6.6, and PyQt6 6.11.0:
NAPARI_WORKSHOP_GUI_TESTS=1 uv run pytest -q: 25 passed, including five desktop cases. Two upstream Pythonitertoolsdeprecation warnings remain. The five new feedback regressions failed before correction and passed afterward.The existing scoped type check retains six pre-existing pandas/ImageIO inference or stub diagnostics; it is not a configured repository gate. Full results and the platform checklist are in the validation record. Generated notebook outputs and movies remain local and are not committed.
Remaining Windows checks
A physical Windows laptop still needs the complete revised learner path. Record OS, GPU/driver, RAM, display scaling, resolution, and monitor configuration, then check:
QWindowsWindow::setGeometryoccurs; test the documented restore/resize suggestion.MS Sans Serif. The root cause and any required font correction remain unresolved.Mac execution and non-GUI CI do not certify these Windows Qt behaviors. Intel Mac, 8 GiB laptop, and timed novice pilots also remain outstanding. Published v0.1.1 ZIPs predate these fixes; a revised course archive/release must be distributed separately.
Reuse analysis
The original review plan and API-changing commit 4aae911 record the rendering repair and pure
fit_framehelper. The feedback plan and commit 8caec90 record composition of napari-animation's supported PNG export,fit_frame, and ImageIO instead of a second export API. Camera PNGs are retained for inspection at the cost of additional disk space. The particle exercise needed its own cell, so existing fallback tests now locate scene cells by stable IDs instead of numeric positions. No other deviations.