Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.48 KB

File metadata and controls

23 lines (14 loc) · 1.48 KB

Scores

Codebloom has some custom algebraic functions to determine how points should be allocated depending on various properties.

Note

We are always trying to improve our scoring formula, so if you have any suggestions - please open an issue here.

The actual file used to calculate scores is called ScoreCalculator.java. This class essentially requires 3 properties to produce a score:

  • Difficulty (EASY, MEDIUM, HARD)
  • Acceptance Rate (0.0 to 1.0)
  • Multiplier (usually 1.0 unless it's a POTD problem which is then defined off mapped values based on problem difficulty + 5% deviation)

You may notice that we call a purpleFunction, blueFunction, etc. These are custom algebraic functions we have defined based off of previous feedback & internal standards for what we think makes the most sense.

These functions have a Desmos link to correlate the code to the graph inside of MultiplierFunctions.java, so feel free to view them to get the latest representation of any changes.

Last updated: 02/15/2026

Here is a current screenshot: Codebloom - Scoring Functions in Desmos

Finally, we then apply a 5% deviation to the final result to have more variance in the outputted scores.