Skip to content

Commit

Permalink
Add analyzer feedback for Annalyns Infiltration
Browse files Browse the repository at this point in the history
  • Loading branch information
kahgoh committed Jan 31, 2024
1 parent 531301b commit 6aeae14
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions exercises/concept/annalyns-infiltration/.meta/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,15 @@ Nothing to report
## Prerequisites

- `basics`: know how to define methods.

## Analyzer

This exercise could benefit from the following rules in the [analyzer]:

- `actionable`: If the student used an `if` statement to return `true` or `false` in their solution, suggest to them the `if` is unnecessary.
- `actionable`: If the student compares a boolean variable with `true` or `false` (e.g. `knightIsAwake == true` or `archerIsAwake == false`), suggest to them the comparison is unnecessary.

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

0 comments on commit 6aeae14

Please sign in to comment.