-
-
Notifications
You must be signed in to change notification settings - Fork 558
Closed
Closed
Copy link
Description
There is a discrepancy between test cases described in the canonical data and the exercise description.
Explaining the general roster query, description mentions a map structure to be returned as a result:
"Who all is enrolled in school right now?"
"Grade 1: Anna, Barb, and Charlie.
Grade 2: Alex, Peter, and Zoe.
Grade 3…"
But canonical data prescribes to only return names, like here:
{
"description": "Student names with grades are displayed in the same sorted roster",
"property": "roster",
"input": {
"students": [["Peter", 2], ["Anna", 1], ["Barb", 1], ["Zoe", 2], ["Alex", 2], ["Jim", 3], ["Charlie", 1]]
},
"expected": ["Anna", "Barb", "Charlie", "Alex", "Peter", "Zoe", "Jim"]
}According to the exercise description it could be more appropriate to require map here as well:
"expected": [[1, ["Anna", "Barb", "Charlie"]], [2, ["Alex", "Peter", "Zoe"]], [3, ["Jim"]]]Metadata
Metadata
Assignees
Labels
No labels