@@ -244,15 +244,35 @@ IsolatedAnalyzerOutput {
244
244
"comments": Array [
245
245
CommentImpl {
246
246
"externalTemplate": "javascript.resistor-color-duo.must_add_missing_call",
247
- "message": "📕 In order to limit the number of colors processed to 2 , expected a \`.slice(0, 2)\` call. If
247
+ "message": "📕 In order to limit the number of colors processed to two , expected a \`.slice(0, 2)\` call. If
248
248
that reasoning applies, mentor the student to add this call.",
249
249
"template": "📕 In order to %{expected.reason}, expected a \`%{method.name}\` call. If
250
250
that reasoning applies, mentor the student to add this call.",
251
251
"variables": Object {
252
- "expected.reason": "limit the number of colors processed to 2 ",
252
+ "expected.reason": "limit the number of colors processed to two ",
253
253
"method.name": ".slice(0, 2)",
254
254
},
255
255
},
256
+ CommentImpl {
257
+ "externalTemplate": "javascript.resistor-color-duo.limit_number_of_colors",
258
+ "message": "💬 Limit the number of input colors that are processed. If more than two colors
259
+ are passed in, only the first two colors should be used to calculate the total
260
+ \`colorCode\` value.
261
+
262
+ 📕 (At least) one test case inputs three colors instead of two. If the student
263
+ has not accounted for this, they might need to update their solution. Help them
264
+ find the button to update. The tests won't pass without limiting the number of
265
+ colors.",
266
+ "template": "💬 Limit the number of input colors that are processed. If more than two colors
267
+ are passed in, only the first two colors should be used to calculate the total
268
+ \`colorCode\` value.
269
+
270
+ 📕 (At least) one test case inputs three colors instead of two. If the student
271
+ has not accounted for this, they might need to update their solution. Help them
272
+ find the button to update. The tests won't pass without limiting the number of
273
+ colors.",
274
+ "variables": Object {},
275
+ },
256
276
],
257
277
"status": "disapprove",
258
278
}
@@ -487,15 +507,35 @@ IsolatedAnalyzerOutput {
487
507
"comments": Array [
488
508
CommentImpl {
489
509
"externalTemplate": "javascript.resistor-color-duo.must_add_missing_call",
490
- "message": "📕 In order to limit the number of colors processed to 2 , expected a \`.slice(0, 2)\` call. If
510
+ "message": "📕 In order to limit the number of colors processed to two , expected a \`.slice(0, 2)\` call. If
491
511
that reasoning applies, mentor the student to add this call.",
492
512
"template": "📕 In order to %{expected.reason}, expected a \`%{method.name}\` call. If
493
513
that reasoning applies, mentor the student to add this call.",
494
514
"variables": Object {
495
- "expected.reason": "limit the number of colors processed to 2 ",
515
+ "expected.reason": "limit the number of colors processed to two ",
496
516
"method.name": ".slice(0, 2)",
497
517
},
498
518
},
519
+ CommentImpl {
520
+ "externalTemplate": "javascript.resistor-color-duo.limit_number_of_colors",
521
+ "message": "💬 Limit the number of input colors that are processed. If more than two colors
522
+ are passed in, only the first two colors should be used to calculate the total
523
+ \`colorCode\` value.
524
+
525
+ 📕 (At least) one test case inputs three colors instead of two. If the student
526
+ has not accounted for this, they might need to update their solution. Help them
527
+ find the button to update. The tests won't pass without limiting the number of
528
+ colors.",
529
+ "template": "💬 Limit the number of input colors that are processed. If more than two colors
530
+ are passed in, only the first two colors should be used to calculate the total
531
+ \`colorCode\` value.
532
+
533
+ 📕 (At least) one test case inputs three colors instead of two. If the student
534
+ has not accounted for this, they might need to update their solution. Help them
535
+ find the button to update. The tests won't pass without limiting the number of
536
+ colors.",
537
+ "variables": Object {},
538
+ },
499
539
],
500
540
"status": "disapprove",
501
541
}
0 commit comments