You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/concept/salary-calculator/.meta/design.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,13 @@ This exercise's prerequisites Concepts are:
21
21
22
22
## Analyzer
23
23
24
-
This exercise could have the following rule added to the analyzer:
24
+
This exercise could benefit from the following rules in the [analyzer]:
25
25
26
-
- Verify that ternary operators were used.
26
+
-`essential`: If the student did not use `ternary operators` on `salaryMultiplier`, `bonusMultiplier` or `finalSalary` methods, instruct them to do so.
27
+
-`actionable`: If the student did not reuse the implementation of the `bonusMultiplier` method in the `bonusForProductsSold` method, instruct them to do so.
28
+
-`actionable`: If the student did not reuse the implementation of the `salaryMultiplier` or `bonusForProductsSold` methods in the `finalSalary` method, instruct them to do so.
29
+
30
+
If the solution does not receive any of the above feedback, it must be exemplar.
31
+
Leave a `celebratory` comment to celebrate the success!
0 commit comments