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/cars-assemble/.meta/design.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,3 +25,17 @@ This exercise's prerequisites Concepts are:
25
25
26
26
-`basics`: know how to define methods.
27
27
-`booleans`: know how to use boolean operators.
28
+
29
+
## Analyzer
30
+
31
+
This exercise could benefit from the following rules in the [analyzer]:
32
+
33
+
-`actionable`: If the student did not reuse the implementation of the `productionRatePerHour` method in the `workingItemsPerMinute` method, instruct them to do so.
34
+
-`informative`: If the solution is repeatedly hard-coding the value `221`, inform the student that they could store this value in a field to make the code easier to maintain.
35
+
-`informative`: If the solution has `if/else-if` statements in the `productionRatePerHour` method, inform the student that creating a helper method to calculate the succes rate might make their code easier to understand.
36
+
-`informative`: If the solution is using `if/else-if` logic that contains return statements, inform the students that the `else` keywords are redundant and that their code can become more clear by omitting them.
37
+
38
+
If the solution does not receive any of the above feedback, it must be exemplar.
39
+
Leave a `celebratory` comment to celebrate the success!
0 commit comments