diff --git a/exercises/concept/secrets/.meta/design.md b/exercises/concept/secrets/.meta/design.md index 01b3e6ebc..a7c6b6a8f 100644 --- a/exercises/concept/secrets/.meta/design.md +++ b/exercises/concept/secrets/.meta/design.md @@ -17,3 +17,18 @@ The goal of this exercise is to teach the student about bitwise operations in Ja This exercise's prerequisites Concepts are: - 'numbers' + +## Analyzer + +This exercise could benefit from the following rules in the [analyzer]: + +- `essential`: If the student did not use the `>>>` operator in the `shiftBack` method, instruct the student to do so. +- `essential`: If the student did not use the `|` operator in the `setBits` method, instruct the student to do so. +- `essential`: If the student did not use the `^` operator in the `flipBits` method, instruct the student to do so. +- `essential`: If the student did not use the `&` operator in the `clearBits` method, instruct the student to do so. +- `informative`: If the solution did not use the `~` operator in the `clearBits` method, inform the student that with it will achieve a more concise solution. + +If the solution does not receive any of the above feedback, it must be exemplar. +Leave a `celebratory` comment to celebrate the success! + +[analyzer]: https://github.com/exercism/java-analyzer