Skip to content

curriculum: add actionable assertion messages to generators checks - #153

Open
Ali-Nawaz-devt wants to merge 1 commit into
abhiksark:devfrom
Ali-Nawaz-devt:fix-generators-v2
Open

Ali-Nawaz-devt wants to merge 1 commit into
abhiksark:devfrom
Ali-Nawaz-devt:fix-generators-v2

Conversation

@Ali-Nawaz-devt

Copy link
Copy Markdown

Closes #90
Closes #91

Summary

Adds actionable assertion messages to all 24 currently bare assertions across the 7 generators check files (14 from #90, 10 from #91). Preserves every assertion predicate, execution order, helper statement, and success print. Two asserts (next(c) == 0, next(c) == 1 in generators9.py) use static messages rather than echoing the actual value, since Counter is a stateful iterator and re-calling next(c) inside the message would advance it and corrupt the rest of the test sequence.

Validation

@coderabbitai

coderabbitai Bot commented Sep 20, 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: Advanced

Run ID: 99a9c4a1-9ce7-4953-b845-72b2659c37fa

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