Preserve grades order by replacing Set with Array.uniq

What does this MR do and why?

In Ruby, Set is a collection of unordered unique values. Even though newer versions of Ruby (2.7+) preserve insertion order in Hash, Set does not promise that behaviour contractually.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading