Motivation
The current solution files are loader stubs into _answers.py. Learners and reviewers benefit from direct, readable reference code they can inspect one exercise at a time.
Current evidence
solutions/conditionals1.py through conditionals10.py and solutions/loops1.py through loops10.py are part of the loader-stub migration target.
- Reference solutions are verified by
tests/integration/test_solution_verify.py.
- The project supports Python 3.9+.
Exact scope
Replace the 20 loader stubs for conditionals and loops with direct teaching-quality Python source. Preserve each expected answer and keep _answers.py entries intact until the full 292-file migration is complete.
Acceptance checklist
Explicit exclusions
Do not change exercises, checks, manifest ordering, unrelated solution slices, or remove/restructure _answers.py.
Likely files
solutions/conditionals1.py … solutions/conditionals10.py
solutions/loops1.py … solutions/loops10.py
Verification
python -m pytest tests/integration/test_solution_verify.py -q
pythonlings --root tests/fixtures/passing_curriculum verify
python -m pytest -q
Also manually inspect all 20 files to ensure they are direct teaching-quality Python source.
Sprint coordination
See the sprint Discussion. This issue is unassigned and is not a reservation.
Motivation
The current solution files are loader stubs into
_answers.py. Learners and reviewers benefit from direct, readable reference code they can inspect one exercise at a time.Current evidence
solutions/conditionals1.pythroughconditionals10.pyandsolutions/loops1.pythroughloops10.pyare part of the loader-stub migration target.tests/integration/test_solution_verify.py.Exact scope
Replace the 20 loader stubs for conditionals and loops with direct teaching-quality Python source. Preserve each expected answer and keep
_answers.pyentries intact until the full 292-file migration is complete.Acceptance checklist
solutions/conditionals1.pythroughconditionals10.pycontain direct readable source, not loader imports or delegation.solutions/loops1.pythroughloops10.pycontain direct readable source, not loader imports or delegation._answers.pyentries remain unchanged for the wider staged migration.Explicit exclusions
Do not change exercises, checks, manifest ordering, unrelated solution slices, or remove/restructure
_answers.py.Likely files
solutions/conditionals1.py…solutions/conditionals10.pysolutions/loops1.py…solutions/loops10.pyVerification
Also manually inspect all 20 files to ensure they are direct teaching-quality Python source.
Sprint coordination
See the sprint Discussion. This issue is unassigned and is not a reservation.