Ship complete teaching notebooks with worked "Example solution" cells (#6)#25
Merged
Merged
Conversation
Per issue #6, make the published notebooks complete teaching artifacts: keep each exercise prompt / "your turn" framing but add a clearly-labeled "### Example solution" (markdown + worked, executed code) immediately below. - Tutorials: model answers for the make-your-own-chord, cross-correlation subsequence, and quantization exercises. - StepTracker: consolidated the Exercises + WithExampleSolution pair into a single notebook; folded in the offline detector and authored a genuine real-time (buffered, ongoing detrend+smooth) solution -- the old solution file had left the real-time TODO unsolved. - GestureRecognizer-ShapeBased: implemented generate_kfolds from scratch (the instructor's private copy was also an empty stub), added a DTW-based matcher (~91% vs ~60-70% for raw Euclidean), and a fuller preprocessing demo. - GestureRecognizer-FeatureBased / Feature Selection: example answers for the frequency-domain and 2D feature "your turn" cells plus a detrend+smooth preprocessing demo. (Cross-user classification was already implemented in v2.) All edited notebooks were re-executed with saved outputs. Verified: 29 unit tests pass; all notebooks pass nbmake (fast + gesture lanes). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This was referenced Jun 24, 2026
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.
Closes #6.
Per issue #6, the published notebooks are now complete teaching artifacts: each keeps its exercise prompt / "your turn" framing, but adds a clearly-labeled
### Example solution(markdown + worked, executed code) immediately below. New graded assignments will be authored separately.What changed
Exercises+WithExampleSolutionpair into a single notebook (deleted the redundant solution file). Folded in the offline detector and authored a genuine real-time solution (buffered, ongoing detrend + smoothing) — the old solution file had left the real-time TODO unsolved.generate_kfoldsfrom scratch (the 2020 "private" copy was also an empty stub), added a DTW-based matcher (~91% vs ~60–70% for raw Euclidean), and a fuller preprocessing demo.Notes for reviewers
generate_kfoldswas an empty stub there too), so several answers are authored fresh rather than copied.Verification
pytest tests/→ 29 passedpytest --nbmakefast lane (Tutorials + StepTracker) → 8 passedpytest --nbmakeGestureRecognizer lane → 3 passed🤖 Generated with Claude Code