Dungeon Score

Floor Indicator
The small skulls between headline and score represent the Dungeon floor the rank has been achieved on.

Skill
Every death subtracts 2 points from the final skill score. Additionally, every failed puzzle subtracts 14 points from the score.


 * $$\text{Skill} = \left\lfloor100 - Deaths \times 2 - Failed Puzzles \times 14\right\rfloor$$

Explore
60 points of the base score is multiplied by the percentage of cleared rooms in a dungeon run (displayed in the sidebar). The other 40 points of the explore score is a maximum of 40 points for secrets.
 * $$\text{Explore} = \left\lfloor\frac{60 \times Cleared Rooms}{Total Rooms}\right\rfloor + \left\lfloor\frac{40 \times Secrets Found}{Total Secrets}\right\rfloor$$

Click here to use the skill score calculator.

Speed
Players have 22 minutes for a dungeon run to still reach a speed score of 100. This applies only if they win the dungeon run. If they do not beat the final boss, the speed score is the percentage of the dungeon rooms that have been cleared. After 22 minutes, speed is deducted by 1 every 10 seconds until 90, every 20 seconds until 70, and every 30 seconds onwards.


 * $$T = \begin{cases} TotalSeconds - 120 & \text{if floor is 2} \\ TotalSeconds & \text{otherwise} \end{cases}$$
 * $$Speed = \begin{cases} 100 & T \leq 1320 \\ \lceil232 - 0.1T\rceil & 1320 < T \leq 1420 \\ \lceil161 - 0.05T\rceil & 1420 < T \leq 1820 \\ \lceil392/3 - (1/30)T\rceil & 1820 < T < 3920 \\ 0 & 3920 \leq T \end{cases}$$

Bonus
Up to 5 bonus points are awarded for blowing up Crypts.
 * $$\text{Bonus} =

\begin{cases} 5 & Crypts Cleared > 5 \\ Crypts Cleared & \mbox{otherwise} \end{cases} $$

On The Catacombs - Floor VI and above, killing Mimic grants 2 bonus points.

If Paul is mayor and his EZPZ perk is active, then 10 bonus points will be awarded in addition to the crypt bonus.

Trivia

 * Many people once thought that killing fairies would decrease the final Dungeon Score. However, this has been proven to be a misconception.
 * If the boss is not killed, Dungeon Score will be reduced by 30%.
 * The maximum amount of deaths a party can have and still get S+ is 3 on floors 0-5 and 3 in floor 6 and 7.
 * If Paul is mayor, this number is increased to 7 in floors 0 - 5, and 8 in Floors 6 and 7.

Data
The following table represents a selected dataset of many dungeon runs to test theories about how certain scores could have been calculated. Once all 4 formulas are confirmed and working this dataset becomes obsolete and may be deleted. https://docs.google.com/spreadsheets/d/1Pw5u6je86vw6XS-PVB3CHdebTq0ZFKTUZOl5cEk5ihg/edit?usp=sharing

How Can I Help
Having not enough data for correctly reverse engineering the formulas, there has been created a google form to ask the community for help. Maybe one day we have enough data to successfully replicate the formulas.

Link to the form: https://forms.gle/FhKD23cB3nKqBJQa6

The data collected is then available to everyone over the following link: https://docs.google.com/spreadsheets/d/1B7nXJwEYINS6B4DT2N8XA8FUIORRQFlVcPHMmN1emQw/edit?usp=sharing