Skip to content

[FEATURE] Update dynamic scoring formula #213

Open
@jdabtieu

Description

@jdabtieu

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

Metadata

Metadata

Assignees

Labels

priority highTo be fixed/implemented immediately

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions