Skip to content

Commit 82c467a

Browse files
Adding analyzer feedback for wizards-and-warriors-2 concept exercise (#2742)
* Adding analyzer feedback for wizards-and-warriors-2 concept exercise * Adding removed header * Update exercises/concept/wizards-and-warriors-2/.meta/design.md Co-authored-by: Sander Ploegsma <[email protected]> * Update exercises/concept/wizards-and-warriors-2/.meta/design.md Co-authored-by: Sander Ploegsma <[email protected]> --------- Co-authored-by: Sander Ploegsma <[email protected]>
1 parent 3c47803 commit 82c467a

File tree

1 file changed

+9
-2
lines changed
  • exercises/concept/wizards-and-warriors-2/.meta

1 file changed

+9
-2
lines changed

exercises/concept/wizards-and-warriors-2/.meta/design.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ This exercise does not require any specific representation logic to be added to
2828

2929
## Analyzer
3030

31-
This exercise does not require any specific analyzer logic to be added to the [analyzer][analyzer-java].
31+
This exercise could benefit from the following rules in the [analyzer]:
32+
33+
- `actionable`: If the student does not reuse the methods `describe(Character)`, `describe(Destination)` or `describe(TravelMethod)` to solve the `describe(Character, Destination, TravelMethod)` method, instruct them to do so.
34+
- `actionable`: If the student does not reuse the method `describe(Character)`, `describe(Destination)`, `describe(TravelMethod)` or `describe(Character, Destination, TravelMethod)` to solve the `describe(Character, Destination)` method, instruct them to do so.
35+
- `informative`: If the solution uses `String.format` in any of the `describe` methods, inform the student that this cause a small performance penalty compared to string concatenation.
36+
37+
If the solution does not receive any of the above feedback, it must be exemplar.
38+
Leave a `celebratory` comment to celebrate the success!
3239

3340
[representer-java]: https://github.com/exercism/java-representer
34-
[analyzer-java]: https://github.com/exercism/java-analyzer
41+
[analyzer]: https://github.com/exercism/java-analyzer

0 commit comments

Comments
 (0)