Open jaspwr opened 5 months ago
difficulty specified as a string 01-easy
, 02-medium
so default sort is alphabetic;
additional sort order specified in comp.md
with unnamed placed in scan-order afterwards.
allow for custom difficulties (perhaps name mapping in comp.md
)
[difficulty]
01-easy = "Easy"
medium = "Medium"
I have a thing to sort them on the client: https://github.com/ProgSoc/FuzzJudge/blob/main/clients/fj-svelte/src/utils.ts#L35 Could be scrapped in favour on a perminent solution
medium = { name = "Medium", order = 2 }
There should either be a specified way to order questions (i.e. by difficulty then by points then by name alphabetically) or question numbers assigned by the backend. This is useful for both displaying lists of questions in order and doing DOMjudge style scoreboards where displaying full question names is impractical and question numbers makes sense.