Skip to content

fix(curriculum): add actionable itertools assertion messages - #131

Open
frobel0520 wants to merge 1 commit into
abhiksark:devfrom
frobel0520:fix/issue-100-itertools-messages
Open

fix(curriculum): add actionable itertools assertion messages#131
frobel0520 wants to merge 1 commit into
abhiksark:devfrom
frobel0520:fix/issue-100-itertools-messages

Conversation

@frobel0520

@frobel0520 frobel0520 commented Aug 22, 2026

Copy link
Copy Markdown

Summary

Adds actionable, beginner-facing messages to the seven bare assertions in the itertools checks requested by #100. The assertion predicates, execution order, helper statements, and success output are unchanged; only the six scoped check files are modified.

Closes #100

Tests

  • python -m pytest tests/integration/test_solution_verify.py -q — 1 passed
  • pythonlings --root tests/fixtures/passing_curriculum verify — passed
  • AST audit of the six scoped files — 0 bare assertions remaining
  • python -m pytest -q — 209 passed, 6 failed locally because Windows symlink creation is unavailable (WinError 1314); the failures are in existing symlink-security tests and are unrelated to this change

Screenshots

Not applicable; this is a curriculum check-message change.

Checklist

  • Documentation update not needed; this change only improves hidden assertion feedback
  • Added or updated tests — not needed; existing solution verification covers the reference answers
  • Verified python -m pytest -q — local Windows symlink privilege prevented six existing tests from running

@coderabbitai

coderabbitai Bot commented Aug 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9d11a5bb-859f-47fb-b2ba-81d78ecf9ff3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant