Module 15 · In your browser · challenge 3 of 3 in this lesson

rankFindings deduplicates notes by (tag, tester) so each tester is counted at most once per tag

A code cell with the real Luau runner grades it. No Studio needed.

Open

Level 3, Professional

Challenge

Write rankFindings(notes) in the cell below so playtest synthesis deduplicates testers, keeps the highest severity per tag and filters one-off cosmetic noise.

Start from
The Luau cell below (runs in your browser)
Check it here
Run the code cell; the challenge completes when it passes. No Studio needed.

Done means

  • rankFindings deduplicates notes by (tag, tester) so each tester is counted at most once per tag
  • Tracks the highest (most severe) severity seen for each tag: S0 > S1 > S2 > S3
  • Filters out one-off S3 polish notes (severity == 'S3' and uniqueTesters < 2)
  • Sorts remaining findings by severity rank ascending (S0 first), then uniqueTesters descending, then tag name alphabetically
Luau
Ctrl Enter runs the cell. Checked by tests