Scoring V3
This document specifies the ScoreV3 calculation rules used by Milthm.
ScoreV3 uses the ordinary judgment sequence defined in Judgment Definitions. Lightning judgments are isolated from this sequence, but Lightning Miss overflow can still affect the combo score state used by the score multiplier.
Input Symbols
These symbols are defined in Judgment Definitions and are used as inputs in this document.
| Symbol | Meaning |
|---|---|
| Ordinary judgment set. | |
| Ordinary judgment sequence. | |
| Lightning judgment sequence. | |
| The -th ordinary judgment. | |
| Ordinary judgment count. | |
| Lightning overflow from a Lightning Miss. |
Score Symbols
This document defines the following score-specific symbols.
| Symbol | Name | Meaning |
|---|---|---|
| Stepwise judgment score function | Maps an ordinary judgment grade to its base judgment score value. | |
| Average judgment score | Average judgment score up to the -th ordinary judgment. | |
| Base combo score mapping | Maps a judgment grade and ordinary judgment count to combo score bounds and increment. | |
| Combo score sequence | Running combo score state recorded after ordinary judgments. | |
| Maximum combo score | Upper bound reachable by the combo score. | |
| Base compensation multiplier | Unadjusted combo compensation multiplier up to the -th ordinary judgment. | |
| Combo compensation multiplier | Adjusted combo compensation multiplier up to the -th ordinary judgment. | |
| Combo bonus | Combo bonus up to the -th ordinary judgment. | |
| AP bonus | AP bonus up to the -th ordinary judgment. | |
| Score | Score up to the -th ordinary judgment. | |
| Total score | Final ScoreV3 score. |
Judgment Score
The stepwise judgment score function maps each ordinary judgment grade to a score value.
| Grade | Judgment score |
|---|---|
The average judgment score up to the -th ordinary judgment is:
Combo Compensation Multiplier
The base combo score mapping maps a judgment grade and ordinary judgment count to:
- : combo base score upper bound
- : combo base score lower bound
- : judgment increment
ScoreV3 uses the following mapping.
| Judgment | Upper bound | Lower bound | Increment |
|---|---|---|---|
ScoreV3 maintains a running combo score state . The combo score sequence records the initial state and the value of after ordinary judgments only:
At the beginning of a chart:
For the -th ordinary judgment, let be the value of after applying any preceding Lightning overflow events:
For a Lightning Miss with overflow , the overflow is applied to the same running combo score state:
This Lightning overflow update does not add an element to and does not advance the ordinary judgment index . It also updates the combo score compensation state at the current ordinary judgment index, so an overflow can reduce the final score even when it occurs after the last ordinary judgment.
The maximum combo score is:
The base compensation multiplier up to the -th ordinary judgment is:
Multiplier Adjustment
The maximum combo score recovery rate is:
The predicted combo score sequence describes the maximum combo score attainable when processing an ordinary judgment:
The combo score recovery sequence is:
where is the minimum number of ordinary judgments required after the -th ordinary judgment to restore the combo score to its maximum value, excluding the -th ordinary judgment itself:
The combo score compensation sequence is:
with . For :
When a Lightning overflow event occurs between ordinary judgments, the same compensation rule is evaluated at the current ordinary judgment index using the current value of after the overflow. This keeps the end-of-chart score loss consistent with ordinary combo score loss.
The adjusted combo compensation multiplier up to the -th ordinary judgment is:
Combo Bonus
The combo judgment mapping maps ordinary judgment grades to Boolean values:
The current combo sequence is:
with:
The running maximum combo sequence is:
with:
The combo bonus up to the -th ordinary judgment is:
AP Bonus
The AP bonus up to the -th ordinary judgment is:
Lightning judgments, Lightning HP, and Lightning overflow do not change the AP bonus condition because they are not ordinary judgments.
Result Conditions
Lightning judgments do not change ordinary judgment counters and do not change ordinary combo counters. Therefore, a Lightning Miss can reduce the ScoreV3 total only through Lightning overflow applied to the combo score state; it does not affect All Perfect or All Combo conditions.
Total Score
The score up to the -th ordinary judgment is:
The total ScoreV3 score is:
The theoretical maximum score is , achieved if and only if every ordinary judgment is Exact and no score is lost because of Lightning notes:
Therefore, Lightning judgments do not all have to be Lightning Exact; the theoretical maximum is still attainable as long as Lightning Misses cause no score loss.