Open
Description
Currently we have max pts, min pts, num users before decay, but we should also have a variable controlling decay rate that can be adjusted based on how many participants are expected
The default (hard coded) is 11, but something like 40 works a lot better for a contest like BxMCTF (500 teams). This should be adjustable
Also, these parameters should be maybe editable mid-contest could cause issues with concurrency.
We should match CTFd Good news is that we can keep the three db columns in place. Bad news is that since CTFd uses the score_users function differently we might have to do some approximating or something for migration.
tldr:
Let that be f(solves). Then the point value becomes max(score_min, ceil(f(solves)))
Todo:
- rejudge function
- update dyn score function
- figure out migration