Skip to content

Sync 2.2 Boolean Expressions with the current upstream lesson - #91

Merged
Wick2009 merged 1 commit into
UGRC-CSA:mainfrom
Wick2009:lesson/2.2-mortenson-update
Sep 22, 2026
Merged

Wick2009 merged 1 commit into
UGRC-CSA:mainfrom
Wick2009:lesson/2.2-mortenson-update

Conversation

@Wick2009

Copy link
Copy Markdown
Collaborator

Summary

  • Replaces our hand-built 2.2 lesson (from Write 2.2 Boolean Expressions lesson #86/Turn 2.2 Boolean Expressions examples into code-runner exercises #87) with the officially-rebuilt version from Open-Coding-Society/pages, matching the quality bar Akhil called out (LxD process, richer references, real interactivity, homework/grading structure).
  • Adds: LxD design-cycle section, an expanded Reference Guide, three interactive activities (live comparison lab with sliders, drag-to-sort expressions, bug-hunt MCQ), a Popcorn Hack and Homework Hack (both real code runners), a grading rubric, and the standard assignment-submission footer.
  • References: College Board CED (Topic 2.2) and the Java Language Specification (Gosling et al.).
  • Pulls in the two supporting assets the lesson needs to render its activities: assets/js/csa-lessons/unit2-interactives.js (self-contained, no external deps) and _sass/open-coding/csa-unit2-interactive.scss, registered via one @import line in _main.scss.

Scope

Deliberately limited to the 2.2 lesson and its two shared assets only — the rest of Unit 2 (2.1, 2.3-2.12) is untouched since other PRs may already be in flight for those.

Test plan

  • Ran the real build pipeline (copy → scripts/convert_notebooks.py → _posts/projects/java)
  • Built the full site with Jekyll and loaded the page locally
  • Verified all 3 interactive activities render styled and work: dragged the Comparison Lab sliders and confirmed the live-recomputed output was correct (including the integer-division explanation), confirmed Sort the Expressions and the Bug Hunt MCQ render and respond
  • Cleaned up all generated build artifacts; only the 4 intended files are in this PR

🤖 Generated with Claude Code

Pulls in the officially-rebuilt version of the 2.02 lesson from
Open-Coding-Society/pages: LxD design-cycle section, a richer
College Board + Java Language Specification reference section,
three interactive activities (a live comparison lab, a sort-the-
expressions drag exercise, and a bug-hunt MCQ), Popcorn/Homework
Hacks, a grading rubric, and the standard assignment-submission
footer. Supersedes the hand-built draft from PR Open-Coding-Society#86/Open-Coding-Society#87.

Also pulls the two supporting assets the lesson depends on:
assets/js/csa-lessons/unit2-interactives.js (self-contained,
dependency-free) and _sass/open-coding/csa-unit2-interactive.scss,
registered via one @import line in _main.scss. Scoped to just this
lesson -- the other Unit 2 lessons (2.1, 2.3-2.12) are left alone
since other PRs may already be updating them.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Wick2009
Wick2009 merged commit 21e282b into UGRC-CSA:main Sep 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants