Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a new practice exercise called "Eliud's Eggs" to the ABAP track. The exercise teaches bit manipulation by having students count the number of 1 bits in the binary representation of a number (also known as population count or Hamming weight).
Changes:
- Added new "eliuds-eggs" practice exercise with difficulty level 2
- Included complete exercise structure with skeleton code, tests, reference solution, and documentation
- Registered the exercise in the main config.json file
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| config.json | Registers the new "eliuds-eggs" exercise in the practice exercises array |
| exercises/practice/eliuds-eggs/package.devc.xml | ABAP package metadata for the exercise |
| exercises/practice/eliuds-eggs/zcl_eliuds_eggs.clas.xml | ABAP class metadata with unit test configuration |
| exercises/practice/eliuds-eggs/zcl_eliuds_eggs.clas.abap | Skeleton implementation with egg_count method for students to complete |
| exercises/practice/eliuds-eggs/zcl_eliuds_eggs.clas.testclasses.abap | Unit tests covering 0, 1, 4, and 13 egg counts |
| exercises/practice/eliuds-eggs/.meta/zcl_eliuds_eggs.clas.abap | Reference solution implementing bit counting using MOD and DIV operations |
| exercises/practice/eliuds-eggs/.meta/config.json | Exercise metadata with authors, file mappings, and description |
| exercises/practice/eliuds-eggs/.meta/tests.toml | Test configuration mapping with UUIDs and descriptions |
| exercises/practice/eliuds-eggs/.docs/introduction.md | Story-based introduction explaining the egg counting problem with visual examples |
| exercises/practice/eliuds-eggs/.docs/instructions.md | Task instructions emphasizing manual bit counting without standard library functions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.