Abstract
The Constant gap is CRITLOG’s estimate of relative difficulty among charts with the same constant: how many constant points harder (+) or easier to score on (−) a MASTER/Re:MASTER chart is than a typical chart of that constant. This report gives a complete description of the latest algorithm currently used for the maimai DX International version. The algorithm starts from best scores in the anonymous stats and first reuses the previous version’s baseline threshold B (play-count shift, calibrated EM and popularity correction); it then estimates two thresholds separately: the ranking threshold R used for the Constant gap list, and the probability threshold P used to predict SSS probability.
R is estimated in three layers: (1) besides B, seven auxiliary thresholds and a full-score model are estimated, each using the scores from a different angle (same-player pairs, inversion from the reference bucket, local curves, several achievement thresholds, full scores); (2) using “one player who has played two charts of the same constant, one with SSS and one without” as training items, a linear ranker is learned across players; (3) each chart is first assigned to overrated, accurate or underrated, and only then are charts ordered within the same interval. Whenever components are blended, each is first converted into ranks within the same constant, and the final values are only redistributed from the values of B, so within each official constant R is the same set of values as B in a different order, plus one shift common to all charts. P adds an exact-play-count correction centred on 16 plays: for 13.0–13.9 it is based on R with FC/AP lamps mixed in, and for 14.0 and up it is based mainly on the exact-play-count threshold with DX SCORE mixed in.
Validation uses two disjoint batches of new players who registered only after the training cutoff. Compared with the previous version, same-constant ranking accuracy in Batch 1 (241 players, 159 of whom can form ranking pairs; validated with the R frozen at the time) rose from 82.69% to 83.64% (+0.96 percentage points, 95% interval +0.11 to +1.87). In Batch 2, whose rules were fully locked in advance (88 players, 69 of whom can form pairs), it rose from 79.08% to 80.19% (+1.11, interval −0.16 to +2.30); the overall Brier score fell from 0.11241 to 0.10998 (interval includes zero), and the Brier score for official constants of 14.0 and above fell from 0.13264 to 0.12446 (−6.2%, interval −0.01490 to −0.00224). The ranking point estimate improves in both batches, and the interval for Batch 1 excludes zero; in Batch 2 the intervals for overall ranking and overall Brier include zero, so the top tier of criteria agreed before the experiment was not met.
For how the algorithm evolved across generations and a comparison on the same data, see A history of the Constant gap algorithm.
1. Introduction
1.1 The problem
Every maimai DX chart has an official constant, but players widely feel that charts within one constant still differ noticeably in difficulty: charts harder than their constant are called underrated, and charts easier to score on are called overrated. We want to use CRITLOG’s anonymous stats to answer: when every player has played it to the same extent, how much harder is a chart than a typical chart of the same constant.
The anonymous stats provide each player’s best achievement on each chart. A best score is affected by four things at once:
- Chart difficulty: the quantity we want to estimate.
- Who is playing: strong players naturally score higher. Different charts have different groups of players.
- How many times they played: popular and newly added charts are ground more, so their best scores are higher.
- Song selection: players choose songs they are good at or like, and they also stop once they reach their goal.
The previous version already handled 2 and most of 3 (Section 3). Building on that, the latest version uses the same player’s wins and losses within a constant, along with more signals, to improve ordering within each constant and SSS probability.
1.2 Two outputs
The Constant gap in practice has to answer two different questions:
| Use | Question | Threshold in this report |
|---|---|---|
| Constant gap list, Constant gap on chart pages | For one player and two charts of the same constant, which one is easier to SSS | R |
| Expected score, SSS probability in song suggestions | For a player of a given skill who has played a chart 10–29 times, what the probability of reaching SSS is | P |
Table 1: The two outputs.
Both are “skill thresholds” on the same scale, but they are optimized for different goals. The previous version answered both questions with one threshold; Batch 1 validation found that computing probabilities directly from the ranking threshold R made probabilities worse for official constants of 14.0 and above (Section 8.2), so the latest version estimates them separately. The higher R, the more underrated a chart appears on the list; the higher P, the lower the predicted SSS probability for players of the same skill.
1.3 Structure of this report
Section 2 defines the data and notation, Section 3 describes the baseline threshold that is reused, Sections 4 and 5 describe R and P respectively, Section 6 explains how a threshold is converted into the Constant gap shown on screen, Section 7 works through one real chart from start to finish, Section 8 covers validation, and Section 9 discusses limitations. Appendix A lists all parameters.
2. Data and notation
2.1 Data
The production calculation runs every day when the anonymous statistics file is generated. The figures in this report come from the International version snapshot of 2026-11-27 17:20 Taiwan time, including only players registered before 2026-11-23 10:59 who have opted in to anonymous stats: 1,076 contributors and 705,254 MASTER/Re:MASTER best scores in total. 711 of them supplied play counts (327,209 scores have an exact count), and 700,819 scores have a valid DX SCORE.
Each record is one player’s best score on one chart. Charts are distinguished by song, STD/DX and difficulty; constants are joined according to the version the player was on at the time. Estimation uses only records where “the constant of this score equals the chart’s current official constant”, so that the same chart before and after a version change does not fall into different comparison groups. “Same constant” below always refers to the current official constant.
2.2 Skill
A player’s skill x is the Rating total of their current 35 old songs, multiplied by 50/35, rounded to an integer, and divided by 1,120. For example, if the 35 old songs total 10,500, the equivalent Rating is 15,000 and x = 13.393. The play rating for SSS+ is roughly constant × 22.4, and 1,120 = 50 × 22.4, so x sits roughly on the same scale as the constant. Only old songs are used so that the effect of concentrated grinding of new songs does not leak into skill.
All thresholds below are expressed on this scale, called skill units; the statistics file stores them multiplied by 1,120 and rounded to an integer (equivalent Rating).
2.3 Achievement and log gap
Achievement s is in units of 0.0001%: 1,000,000 is 100.0000% (SSS) and 1,010,000 is 101.0000% (theoretical max). y = 1 means SSS was reached. The continuous log gap is defined as
g = 0 at exactly SSS, and the higher the score, the lower g. The closer to the theoretical max, the harder each further step gets; taking the log makes these marginal changes roughly equal in length on the scale.
2.4 Play count
Play counts are divided into five coarse buckets: 1, 2–3, 4–9, 10–29, and 30 or more; scores without a play count form a separate bucket. 10–29 plays is called the reference bucket, and both the Constant gap and the SSS probability are defined for the state of “having played up to the reference bucket”. Section 5.1 subdivides the reference bucket further.
2.5 Thresholds
A chart’s SSS threshold is the skill at which the median of the expected best score is exactly SSS. The higher the threshold, the harder the chart. Thresholds that appear in this report:
| Symbol | Meaning | Section |
|---|---|---|
| T₀ | Threshold refitted after the play-count shift; also the origin of the probability curve | 3.2 |
| B | The previous version’s threshold (calibrated EM and popularity correction); the starting point of the latest version | 3.3 |
| C₁–C₇ | Seven auxiliary thresholds | 4.3 |
| A, I, S | Outputs of the three cross-player rankers | 4.4 |
| G, W | Broad ranking and wide-window ranking | 4.5 |
| δ | Common shift | 4.7 |
| R | Threshold for the Constant gap list | 4.6–4.7 |
| T | Exact-play-count threshold | 5.1 |
| M_DX, M_lamp | DX SCORE and lamp thresholds | 5.2 |
| P | Threshold for SSS probability | 5.3 |
Table 2: Threshold notation.
In addition, m_c(·) denotes the median of some quantity over all charts with official constant c, b̄ = m_c(B) is the median of B within the same constant, q is the share of charts at this constant that the player has played (coverage), and d = x − B is the difference between the player’s skill and the chart’s threshold.
3. Baseline: the expected-score curve and threshold B
The latest version reuses the previous version’s three steps, summarized here; for derivations and a comparison of the generations, see the history.
3.1 The expected-score curve
All charts share one template curve F describing the relationship between skill and the median of ln(1,010,200 − s) (ln(1,010,200 − s) = g + ln 10,200, differing from the log gap only by a constant). Each chart has only two parameters, difficulty h and slope a:
v is the pivot of the template (1.25). F is represented on a grid with a spacing of 0.25, linearly interpolated between grid points and repaired to be monotonic. For each chart, the 25% and 75% quantiles of actual minus expected are also recorded (the lower and upper residuals), and are used to convert the expected log gap into a probability (Section 5.4). Charts with scores from fewer than 5 players are not fitted.
3.2 Play-count shift and T₀
With the curve as the background, each score with a play count is inverted to find “how much higher or lower in skill it is equivalent to”; each bucket takes the weighted median (each chart has a total weight of 1), isotonic regression makes the values non-decreasing in play count, and the value of the reference bucket is subtracted. The shifts estimated from the training snapshot for the five buckets are −0.488, −0.278, −0.081, 0 and 0: a best score from a single play is roughly what a player 0.49 lower in skill would score at the reference bucket. Scores with play counts have their skill shifted according to their bucket and the curve is refitted, giving the threshold T₀. This shifted curve is also the curve used by the probability formula in Section 5.4.
3.3 Calibrated EM, popularity correction and B
T₀ uses only players with play counts. The previous version treated the play-count bucket of scores without a count as missing data, used EM to estimate the probability of each such score belonging to each bucket, and calibrated the overall SSS rate by data source; scores without a play count enter the estimate with a weight of 0.25, so that players who did not supply play counts also take part; afterwards the remaining bias of popular charts being estimated as too hard is corrected. The resulting threshold is denoted B.
B is the starting point of the latest version: both R and P start from B and are shrunk toward B. B on its own already explains most of the grind effect; what the latest version sets out to improve are B’s two remaining weaknesses: the fine ordering within each constant, and SSS probability at 14.0 and up.
4. The Constant gap list threshold R
4.1 Design principles
R is designed according to three principles:
- Compare the same player. Players differ greatly in skill, song selection and grinding habits; one player’s wins and losses on two charts of the same constant most directly reflect the relative difficulty of the two charts.
- Combine by rank. When components are blended, each component is first converted into ranks within the same constant and then mapped back onto the value distribution of B (quantile alignment, Section 4.2). This way, thresholds from different sources do not need to be calibrated against each other in scale, and no single component can move a whole constant together.
- Keep the distribution of B. Within each official constant, the final R is the same set of values as B in a different order, plus one shift common to all charts. The typical threshold of each constant, the conversion slope β (Section 6) and the number of labelled charts are therefore all the same as for B; what changes is only “which chart gets which value”.
Principle 3 has a direct consequence: on the training snapshot, R and B give exactly the same number of underrated/overrated charts in each constant range (Section 8.4).
4.2 Quantile alignment
For official constant c, sort B from low to high as b₍₁₎ ≤ … ≤ b₍ₙ₎. For any set of candidate values u, compute its rank r within the same constant (counting from 0, with ties given their average rank). Draw a polyline with ranks 0, 1, …, n − 1 on the horizontal axis and the sorted b₍₁₎, …, b₍ₙ₎ on the vertical axis; Q(u) is its value at r on the horizontal axis: the rank of u is replaced by the value of B at the same rank, with linear interpolation when the average rank falls between two integers. When a constant has fewer than 8 charts, no alignment is done and B is kept. Quantile alignment is used only for official constants of 13.0 and above.
4.3 Auxiliary thresholds
The following seven thresholds and the full-score model D are all estimated directly from the training data, each using the scores from a different angle. They are not the final answer, but features for the ranker in Section 4.4 and components of the blend in Section 4.5. The α in each model is that model’s own per-chart correction; they are unrelated to each other.
C₁ pairwise threshold. Within one player, one constant and one coarse play-count bucket, pair charts that reached SSS with charts that did not (at most 192 pairs sampled per group). Let B̃ = B − b̄, and describe “the chart not reached is harder” with a Bradley–Terry-style logistic model:
α is a per-chart correction with an L2 penalty (coefficient 3); κ is shrunk toward 3 (penalty ½(κ − 3)², restricted to 0.5–15). Each pair’s weight is “bucket weight × min(number reached, number not reached, 12)^0.65 ÷ number of pairs sampled”; the bucket weight is 6 for the reference bucket, 0.3 for scores without a play count, and 1 for other buckets. The threshold is C₁ = B + α ÷ κ.
C₂ reference-bucket threshold. For each bucket with play counts, smooth the SSS rate along d = x − B on a grid of 0.12 with a Gaussian kernel (standard deviation 2.5 cells), and take the logit to get each bucket’s success curve ℓₖ(d). For each chart, estimate an intercept α so that σ(ℓₖ(d) + α) fits its scores (20 Newton iterations, shrunk toward 0 with coefficient 2). The reference bucket has weight 1; other buckets, when borrowed, have weights 0.15 (1 play), 0.29 (2–3 plays), 0.62 (4–9 plays) and 0.60 (30 or more), then multiplied by 0.4. The threshold is the position where the SSS rate on the reference-bucket curve is 50%: C₂ = B + d*, where ℓ_ref(d*) = −α and ℓ_ref is the reference-bucket curve.
C₃, C₄ local curves. Compress the log gap into η = tanh(1.6 g), and smooth it per “constant × coarse play-count bucket” along x − b̄ on a grid of 0.1 (Gaussian kernel with standard deviation 2.8 cells) to get the expectation E for the same constant, the same bucket and the same skill. Each score’s residual η − E is divided by the slope of the curve −∂E/∂x (restricted to 0.12–1.6), which converts it into a skill difference. Each chart’s estimate is
The threshold is b̄ + Δ. The 4 in the denominator shrinks charts with little data toward B. σ = 0.9 gives the narrow window (C₃) and σ = 1.6 the wide window (C₄). The bucket weights for no play count, 1, 2–3, 4–9, 10–29, and 30 or more plays are 0.20, 0.22, 0.40, 0.72, 1 and 0.65.
C₅ banded local threshold. The earlier thresholds are combined by constant range:
| Official constant | C₅ |
|---|---|
| 13.0–13.4 | 0.50 C₃ + 0.50 C₂ |
| 13.5–13.9 | 0.45 C₃ + 0.35 C₂ + 0.20 C₁ |
| 14.0 and up | 0.80 B + 0.20 C₄ |
Table 3: Composition of the banded local threshold.
C₆, C₇ multi-achievement thresholds. Looking only at SSS throws away the difference between “just missed it” and “far off”. This model estimates six achievement thresholds at once: about 100.90%, 100.63%, 100.31%, 100.00%, 99.54% and 98.98% (log gap g no more than ln 0.12, ln 0.38, ln 0.7, 0, ln 1.45 and ln 2 respectively). For each threshold, the rate of reaching it is smoothed per “constant × bucket” along x − b̄ on a grid of 0.125, and each chart gets an overall offset; local offsets are then estimated at five positions, x − b̄ = −1.25, −0.5, 0, 0.5 and 1.25 (Gaussian kernel with standard deviation 0.5), shrunk toward the overall offset (coefficient 4), and divided by the logit slope of the reference-bucket curve at that position (restricted to 0.8–8) to convert them into skill differences. The six thresholds are averaged with weights 0.04, 0.12, 0.20, 0.38, 0.18 and 0.08. C₆ takes the central position; C₇ combines the five positions with weights 0.05, 0.22, 0.40, 0.26 and 0.07. Finally, the median and the 20–80% quantile range of both are aligned to those of B (scaling restricted to 0.5–1.8×).
D full-score model. Another model uses the log gap of every score, not just whether SSS was reached. The log gap is transformed with the inverse hyperbolic sine asinh(g), which keeps differences above SSS while damping the influence of very low scores, and decomposed into three effects:
μ is the same player’s mean performance at this constant, u is the offset of the play-count bucket and skill band (d split at −0.8, 0.2 and 1.0), and α is the chart offset. The three sets of effects are estimated alternately 20 times, with 0.1, 8 and 3 added to the denominators of the respective weighted means; each score’s weight is further multiplied by min(1, 0.9 ÷ absolute residual) to reduce the influence of outliers. D = Q(α). This weighting gives more importance to players who play widely at the constant and to scores close to the threshold.
4.4 Cross-player ranker
Each auxiliary threshold has its strengths: the pairwise threshold compares the same player directly, but is noisy for charts with few pairs; the local curves and the multi-threshold model use more data, but are affected by song selection. Instead of choosing weights by hand, we learn a ranker to combine them.
Features. Each chart has 24 features, all centred on the same-constant median:
- Thresholds (7): B, and the differences of C₄, C₅, C₂, C₁, C₆ and C₇ from B.
- Chart (5): log note count, log BPM, version-added index ÷ 12, whether DX, whether Re:MASTER.
- Score distribution (12): log(1 + number of players with a score), share of scores with known play counts, among known play counts the share at 1 play, at 30 or more, and in the reference bucket, mean coverage, rate of strong players (d > 0.7) not reaching SSS, rate of weak players (d < −0.65) reaching SSS, rate of not reaching just below the threshold (−0.5 < d < 0), rate of reaching just above the threshold (0 ≤ d < 0.5), standard deviation of the log gap, and mean of tanh(g). All rates are shrunk toward a prior with a weight of 12 scores.
Training items. One player, one official constant, two charts both played up to the reference bucket, one with SSS and one without. At most 300 pairs are sampled per player per constant; the sampling ratio is first compensated for, and then each player’s pairs are given the same total weight. Let z be the feature difference “chart not reached − chart reached”; the ranker minimizes
Each column of z is first divided by its weighted root mean square (lower bound 0.025). θ is the coefficient vector (unrelated to the conversion slope β in Section 6). The prior θ₀ is 3.8 (on the original scale) for the coefficient of B and 0 elsewhere: that is, with no data the ranker is simply the order of B. Separate coefficients are estimated for 13.0–13.4, 13.5–13.9 and 14.0 and up.
Three rankers.
- A (linear): 24 features, λ = 0.10.
- I (with interactions): on top of the 24 features, each of the 7 threshold features is multiplied by six moderators of the form tanh(feature ÷ scale): version added (0.7), number of players (1.0), share with known play counts (0.20), reference-bucket share (0.06), coverage (0.18), and strong-player failure rate (0.08), giving 66 columns, λ = 0.22. It lets “which auxiliary threshold to trust” vary with how old the chart is, how popular it is and how its data is composed.
- S (same label): 24 features, λ = 0.20, using only pairs in which both charts have the same label; it is responsible specifically for the fine ordering within one interval.
Cross-fitting. If the features and the wins and losses come from the same players, the ranker learns “whose scores were used to compute the features” and overestimates the value of the auxiliary thresholds. The coefficients are therefore learned on a historical development snapshot: the training players are split by whole players into two complementary halves (three ways of splitting, six sets in total), features are estimated from one half only, and wins and losses are taken only from the other half. During development, charts were additionally split by song into four groups held out in turn to check for overfitting; the production coefficients use all the development data, are frozen once learned, and only the features are recomputed each day.
When a ranker’s score is converted back into a threshold, it is aligned to the median and 20–80% quantile range of B within the same constant; since only its rank is used afterwards, this step is just for convenience in checking. The learned coefficient of B is 3.80–4.33 in A and 3.81–4.72 in S; the other features are corrections on top of B. The features are highly correlated with each other, so the sign of an individual coefficient should not be read on its own as a cause.
4.5 Broad ranking G and wide-window ranking W
After quantile-aligning each component, they are averaged with weights by constant range and quantile-aligned once more, giving the broad ranking G:
| Official constant | Components of G |
|---|---|
| 13.0–13.4 | 48% C₅, 28% A, 24% C₂ |
| 13.5–13.9 | 52% A, 26% I, 22% C₆ |
| 14.0 and up | 44% A, 21% I, 35% B |
Table 4: Composition of the broad ranking (each component is quantile-aligned first).
Low constants rely mainly on the local curves and the reference bucket, the middle range mainly on the rankers, and 14.0 and up keeps more of B; the proportions for each constant range were chosen on the development data. In addition, the wide-window ranking W is made of 50% C₄, 30% a multi-source ranking (46% A, 19% I, 18% C₅, 17% C₄) and 20% B. In the implementation, G and W are followed by one more skill calibration, but it is monotonic within each constant and does not affect the later steps, which use only ranks.
4.6 Labels first, then order within each interval
The most common use of the Constant gap is the label: whether a chart counts as underrated. A wrong label is more serious than a wrong order within an interval, and the order within an interval needs finer comparisons. R is therefore decided in three steps.
Step 1: reassign the intervals. For each official constant, first convert B into the previous version’s labels (Section 6). Going through B from low to high, every chart lower than the last overrated chart counts as overrated, and every chart higher than the first underrated chart counts as underrated; this way, charts at both ends that are not shown because |Constant gap| > 1.5 stay on their original side. Count the overrated, accurate and underrated charts as n₋, n₀ and n₊, and then sort by the stability score
from low to high: the lowest n₋ charts go into the overrated interval, the next n₀ into accurate, and the highest n₊ into underrated. The number of charts in each interval does not change; only which charts are in which interval changes. For 14.0 and up the stability score is B itself, so the members of each interval are the same as in the previous version, and only the order within each interval is rearranged.
Step 2: order within each interval. Within each interval, charts are sorted by G, the interval’s original B values are handed out to the charts from low to high in that order, and quantile alignment is applied once more. The resulting threshold is denoted R₁.
Step 3: fine ordering. Using the labels converted from R₁ (13.0–13.9) or B (14.0 and up), within each official constant and each label (only charts shown on screen are reordered), charts are reordered by
and the group’s threshold values are handed out to the charts from low to high in that order. The broad ranking G handles the ordering that also holds across intervals, and the same-label ranker S, learned only from pairs within the same interval, gets equal weight.
4.7 Common shift
Finally, one skill shift δ common to all charts is estimated so that the SSS probabilities converted from R are as accurate as possible on the training data: using only reference-bucket scores with an official constant of 13.0 or higher and a constant matching the one used in training, minimize
δ is restricted to ±0.4 and rounded to 1/1,120. The probability is computed as in Section 5.4. The common shift changes no ordering and does not change the Constant gap on screen (the conversion in Section 6 looks only at relative positions); it only affects P, which is based on R in Section 5.3. On the training snapshot δ = −0.079 (equivalent Rating −89). δ is determined jointly by all scores at 13.0 and above, and 13.x, which has the most scores, has the most influence; as Section 8.2 shows, applying this shift to 14.0 and up is not appropriate. The result after this shift is R.
4.8 Properties of R
From the construction by quantile alignment and redistribution within intervals, it can be verified directly that within each official constant (13.0 and above), R − δ is a rearrangement of the same set of values as B; below 13.0, R = B + δ. Of the 1,213 charts at 13.0 and above in the training snapshot, 1,006 swapped to another chart’s value within their constant; for each constant, R − δ and B are identical position by position once sorted.
This property makes changes to R easy to check: every change is a judgement of “who is harder than whom within the same constant”; no constant is raised or lowered as a whole, and the number of labels does not increase or decrease.
5. The SSS probability threshold P
5.1 Exact-play-count threshold T
The reference bucket of 10–29 plays is wide: best scores after 11 plays and after 28 plays still differ. The first correction uses exact play counts. Let d = x − B, and divide d from −2.0 to +2.0 into cells of 0.2 (with one extra cell at each end); the play-count boundaries are 1, 2, 3, 4, 6, 8, 10, 13, 17, 22, 30, 45 and 70, so the reference bucket is split into four cells: 10–12, 13–16, 17–21 and 22–29.
First compute the SSS rate m for each skill cell from training scores with play counts, then sum y − m within each “skill cell × play-count cell” and divide by the cell’s sample size plus 20, so that sparse cells are shrunk toward 0. Adding this correction to m and clipping to 0.005–0.995 gives each score’s expected SSS rate p. Then, for each chart:
U and J are summed over the same chart’s training scores with play counts; scores without a play count have weight 0. 16 plays is the centre of the weighting, roughly the middle of the reference bucket. When a chart has more actual SSSes than expected, U is positive and T is lower than B (easier to SSS). J is the information; with little data, the 4 in the denominator shrinks T toward B. This is equivalent to one Newton step with a prior, starting from B: assuming the logit of the SSS rate has a slope of about 3.5 with respect to skill, “the difference in the number of SSSes” is converted into a skill difference; the 4 in the denominator is the prior precision on the logit scale.
5.2 DX SCORE and lamps
Besides the best achievement, DX SCORE and FC/AP lamps also reflect how consistently a chart is played. These two signals are used only in training; at prediction time the inputs are still only the player’s skill and the chart.
- DX SCORE: the signal is −DX SCORE ÷ (3 × note count), that is, the negative DX SCORE ratio. Only scores with a positive DX SCORE, a valid note count and no more than the theoretical max are used.
- Lamps: no lamp 0, FC −1, FC+ −1.6, AP and AP+ −2.0.
Both are multiplied by the weight 0.25 + 0.75 × exp(−½ × (d ÷ 1.1)²); the same player’s mean signal at the same constant is subtracted first, and then the chart offsets are estimated (12 alternating iterations, with 8 added to the denominator of the chart offset); after quantile alignment this gives D_DX and D_L. The individual thresholds are
5.3 Blend
| Official constant | Probability threshold P | Expanded |
|---|---|---|
| 13.0–13.9 | R + 0.50 (T − B) + 0.20 (M_lamp − B) | R + 0.50 (T − B) + 0.04 (D_L − B) |
| 14.0 and up | 0.75 T + 0.25 M_DX | 0.75 T + 0.20 B + 0.05 D_DX |
Table 5: Composition of the SSS probability threshold. Charts with an official constant below 13.0 have no Constant gap but still have an SSS probability: for this range there is no quantile alignment, the lamp term is 0, and P = R + 0.50 (T − B).
The two constant ranges are handled differently for the reasons in Section 8.2: for 13.0–13.9, basing P on R means the improvement in ranking also makes the probabilities more accurate; for 14.0 and up, using R directly makes the probabilities worse (mainly because of the common shift δ), so P is based mainly on the exact-play-count threshold T instead, with DX SCORE mixed in. The blend coefficients act on the thresholds, which are only then converted into probabilities by the curve.
5.4 From threshold to SSS probability
The probability uses the shifted curve from Section 3.2: the template F, the pivot v, and each chart’s slope a, difficulty h, and lower and upper residuals. The threshold P is turned into a horizontal shift of the curve:
Φ is the standard normal cumulative distribution function. When P = T₀ this is the original curve; when P is higher than T₀ the curve moves right, and the SSS probability at the same skill goes down. When the position is below the left end of the template the probability is 0, and beyond the right end the last grid point is used. 0.6745 is the 75% quantile of the standard normal, which converts the quartiles of the residuals into a standard deviation. When the score is expected to fall short of SSS (difference < 0), the lower residual is used, that is, the side where scores are better than expected; when SSS is expected, the upper residual is used: either way, it is the spread on the side facing SSS.
The result of this formula is “the probability that the best score reaches SSS after playing up to the reference bucket”, not the probability for a single play.
6. Conversion to the Constant gap
The Constant gap on screen is converted from R, and the app and the website use the same conversion:
- Group charts by official constant c, take the median R of each group, and apply isotonic regression weighted by number of charts to get the typical threshold b(c). Constants at either end with fewer than 3 charts are left out of the curve.
- Estimation range: search downward from the highest constant, continuing downward as long as b rises by at least 0.35 within the 1.0 above a given constant, and take the lowest point of this continuous range.
- From the medians of the constants in the range, fit the slope β (how much the typical threshold changes per 1.0 of constant) by least squares weighted by number of charts.
- Perceived constant = c + (R − b(c)) ÷ β, rounded to 0.01; Constant gap = the perceived constant rounded to 0.1, minus c. Only charts with an official constant of 13.0 or higher are listed; ≥ +0.5 is labelled underrated and ≤ −0.5 overrated; charts with |Constant gap| > 1.5 are treated as data anomalies and not listed.
Since every chart is divided by the same β and compared against the same b(c), the sign and the ordering are determined only by R’s position within the same constant; β only affects the overall size of the numbers. The common shift δ moves R and b(c) together, so it does not affect the Constant gap. On the training snapshot the estimation range starts at 12.8 (display starts at 13.0), and β = 0.693.
7. Worked example
Take the DX MASTER of Cthugha (USAO) as an example: official constant 14.2, added in FESTiVAL PLUS, note count 1,168.
| Threshold | Equivalent Rating | Skill units |
|---|---|---|
| T₀ | 15,447 | 13.792 |
| B | 15,240 | 13.607 |
| R | 15,151 | 13.528 |
| P | 15,292 | 13.654 |
Table 6: The four thresholds of Cthugha DX MASTER (training snapshot).
Constant gap. R − B = −89, exactly equal to the common shift: this chart’s position within 14.2 did not change. The typical threshold of 14.2 is b(14.2) = 13.925 (the median of 35 charts), and the slope is β = 0.693:
The screen shows −0.6, labelled overrated.
SSS probability. This chart’s curve parameters are h = 13.41 and a = 1.19, with a lower residual of −0.366. For a player with an equivalent Rating of 15,240 (x = 13.607), computed with unrounded values and shown to three decimal places:
For the same player, computing with B gives 49.95% (the player’s skill is exactly B), and using R directly gives 64.61%. This chart’s position on the list did not change, yet P is 0.046 higher than B (equivalent Rating 52): for 14.0 and up, P = 0.75 T + 0.25 M_DX, and for this chart T is 72 higher than B and M_DX is 6 lower than B. The increase comes entirely from exact play counts: among players who played it 10–29 times (especially around 16 times), the share reaching SSS on this chart is lower than B predicts; DX SCORE, by contrast, pulls slightly in the easier direction. Ranking and probability can be adjusted in different directions on the same chart, which is exactly why the two outputs are estimated separately.
8. Validation
8.1 Design
Validation uses only new players who registered after the training cutoff; their scores did not enter any training and were not used to choose the method for R:
| Batch 1 (E1) | Batch 2 (E2) | |
|---|---|---|
| Inclusion criterion | Registered after 2026-11-23 10:59 | Registered from 2026-11-28 on |
| Eligible scores | 241 players, 15,659 scores | 88 players, 5,644 scores |
| Usable for ranking pairs | 159 players, 13,997 pairs | 69 players, 6,217 pairs |
| What was validated | The R frozen at the time (trained on the 11-23 data) | The final R and P |
Table 7: Validation data. Eligible score = official constant 13.0 or higher, 10–29 plays, and a constant matching the one used in training. The two batches have no players in common.
The method for R was frozen before E1 was opened. E1 showed that R made probabilities worse at 14.0 and up, and the blend for P was decided only after seeing E1; the final rules for P and R were written into a lock file before E2 was opened, together with the hashes of the input files. E2 is therefore the only validation that is fully pre-registered for both outputs.
There are two metrics, both giving each player equal weight so that the few players with the most plays do not dominate the result:
- Same-constant ranking accuracy: one player, one official constant, two charts both played up to the reference bucket, one with SSS and one without. If the chart with the lower R is the one that reached SSS, the pair counts as correct; a tie counts as half correct. With the official constant alone, accuracy is 50%.
- Brier score: the squared difference between the probability from Section 5.4 and the actual 0/1 outcome. Lower is better.
The difference between two versions is estimated by paired resampling of players 4,000 times, giving the 95% interval. The comparison is always against the previous version (threshold B).
8.2 Batch 1: validating the ranking, and the problem at 14.0 and up
| Constant range | Ranking (previous version → R) | Brier (B → R) |
|---|---|---|
| Overall | 82.69% → 83.64% (+0.96 [+0.11, +1.87]) | 0.10116 → 0.09707 |
| 13.0–13.4 | 76.39% → 77.87% | 0.09414 → 0.09208 |
| 13.5–13.9 | 82.77% → 84.10% | 0.09564 → 0.08747 |
| 14.0 and up | 82.43% → 83.45% | 0.10005 → 0.10830 (+0.00825 [+0.00353, +0.01299]) |
Table 8: Results for Batch 1. At this point probabilities were computed directly from R; P did not exist yet.
R’s ranking shows a clear improvement in Batch 1: the interval excludes zero, and the point estimates rise in all three constant ranges. Comparing only charts shown by both versions, and judging ties by the one decimal place shown on screen, ranking rises from 81.53% to 82.78%.
But the Brier score at 14.0 and up clearly got worse. At 14.0 and up, R only moves B’s values around within intervals, and what really moves the whole range is the common shift δ; δ is estimated from all reference-bucket scores at 13.0 and above, where 13.x, which has the most scores, has the most influence, and applying it to 14.0 and up makes the probabilities in this range too high overall. Separating the two afterwards on Batch 2: at 14.0 and up, R − δ, which only reorders without shifting, has a Brier score of 0.12852, better than B’s 0.13264 (difference interval −0.00825 to −0.00069); R with δ added gives 0.13564. In other words, the reordering itself did not make the probabilities worse. This is where the separate estimation of P in Section 1.2 began: at 14.0 and up, P is not based on R but on the exact-play-count threshold T.
Recomputing Batch 1 with the final model (the version in Section 8.3), ranking goes from 82.70% to 83.53% (+0.83, interval −0.40 to +2.08, including zero). The final model uses a later training snapshot, and the auxiliary thresholds and features were all re-estimated; for a comparison of the two, see Table 3 of the history.
Two external references were also checked: for the direction of community votes on underrated charts, the previous version matched 25/31 and R matched 24/31; for the direction of official constant changes at version updates, the previous version matched 11/17 and R matched 13/17. Both samples are too small; all we can say is that there is no clear reversal.
8.3 Batch 2: the fully pre-registered validation
| Validation | Previous version → latest version | 95% interval of the difference |
|---|---|---|
| Ranking (R) | 79.08% → 80.19% | −0.16 to +2.30 percentage points |
| Overall Brier (P) | 0.11241 → 0.10998 | −0.00747 to +0.00214 |
| 13.0–13.4 Brier | 0.08274 → 0.07971 | −0.00764 to +0.00091 |
| 13.5–13.9 Brier | 0.09911 → 0.09914 | −0.00989 to +0.01128 |
| 14.0 and up Brier | 0.13264 → 0.12446 | −0.01490 to −0.00224 |
Table 9: Results for Batch 2. Players forming pairs in each constant range: 26 / 42 / 52.
The clearest improvement is the Brier score at 14.0 and up, which falls by 6.2% with an interval that excludes zero: the problem exposed in Batch 1 is corrected on a batch of new players with rules locked in advance. The point estimates for ranking and overall Brier both improve, but only 69 players can form ranking pairs and the Brier score has only 88 players, so both intervals include zero.
8.4 Stability on the development data
The training players are split into two complementary halves, each recomputed from scratch, and we look at the share of labels in the same direction from both halves (labels given by only one half also count in the denominator). For the version of R validated on Batch 1, on two sets of training data (the 11-23 data, and an updated version with old players’ play counts backfilled), reproducibility rose from 83.50% to 85.10% and from 83.03% to 83.97% respectively, holding steady or rising in all three constant ranges. For the final model’s reproducibility on the training snapshot, see Table 5 of the history.
Comparing the Constant gaps converted from R and from B on the training snapshot (the 1,211 displayed charts): of the 428 charts in 13.0–13.4, 16 changed label, with a mean difference in value of 0.08; of the 462 charts in 13.5–13.9, 8 changed label, with a mean difference of 0.11; of the 321 charts at 14.0 and up, none changed label, with a mean difference of 0.02. The numbers of underrated/overrated charts in each constant range are exactly the same (46/66, 47/66, 15/19), consistent with the property in Section 4.8.
During development, each signal for P was also tested one by one. On the six split-half sets of old players, the differences of each signal relative to the previous version on the same sets were:
| Signal added | Ranking (percentage points) | Overall Brier | 14.0 and up Brier |
|---|---|---|---|
| DX SCORE | +0.01 | −0.0003 | +0.0002 |
| FC/AP lamps | +0.13 | −0.0011 | +0.0003 |
| Exact-play-count subdivided cells and distance weighting | +1.12 | −0.0017 | −0.0013 |
| Exact play counts with DX SCORE mixed in | +1.01 | −0.0019 | −0.0018 |
Table 10: Effect of each signal on the development data. Ranking and Brier are both computed with the threshold after adding that signal. These are results within the training players and cannot be added directly to the improvement on new players.
Exact play counts are the single most effective signal. DX SCORE and lamps on their own have little effect on ranking and on 14.0 and up (lamps still give −0.0011 on overall Brier); mixed with exact play counts, DX SCORE lowers the Brier score at 14.0 and up a little further (−0.0013 → −0.0018). The combination by constant range in Table 5 was chosen after seeing Batch 1 and validated on Batch 2 (Section 8.1).
8.5 Acceptance criteria
The top tier of criteria was agreed before the experiment: ranking on new players improves by at least 2 percentage points, the lower bound of the paired interval is above zero, there is no clear regression in Brier (upper bound of the difference interval ≤ 0.002), split-half reproducibility does not fall in any constant range, ranking does not regress by more than 1 percentage point in any range, and at least 90% of the previous version’s total number of labels is kept. The latest version’s ranking improvements in the two batches are +0.96 and +1.11 percentage points, and the upper bound of the interval for overall Brier in Batch 2 is +0.00214, so the top tier was not met. The lower tier was written into the lock file after seeing Batch 1 and before Batch 2 was opened: the ranking point estimate improves in both disjoint batches of new players, the overall Brier score improves in Batch 2, the Brier score at 14.0 and up does not regress, and validated labels are kept. The latest version meets this tier, and therefore replaced the previous version in production.
9. Discussion and limitations
9.1 Why not just use one large model
Every layer of R is deliberately constrained: components take part in the blend only through their ranks, the rankers are shrunk toward B, and the final values are just a rearrangement of B. These constraints give up some flexibility in exchange for two things. First, any change can be traced back to a concrete judgement of “who is harder than whom within the same constant”, and the overall distribution of values and the number of labels are determined by B, which has already been validated. Second, when only a few dozen new players are available for validation, limiting how much the model can change is the most direct way to avoid overfitting.
9.2 Biases not yet addressed
- Song selection and stopping: which songs players choose to play, and after how many plays they stop, both affect the observed achievement. The ranker works with two charts from the same player as its unit, which reduces this effect but does not remove it.
- Preference and strength: people play songs they like more, and also happen to be better at them; being good at a chart gets counted as part of the grind effect.
- Play counts are cumulative: a chart ground 30 times years ago may have gone rusty, but the count remains.
- When skill is measured: skill uses the player’s current 35 old songs, while a best score may have been set years ago.
- New songs: current new songs lean overrated by about 0.3 on average in the previous version, and still by about 0.24 in the latest version. This may be because the official constants are generous, or because they are still being ground and the data is still moving; for now the two cannot be told apart.
- Population: only International version contributors who opted in to anonymous stats; those who supply play counts do not necessarily represent everyone.
9.3 Limitations of the validation
Batch 2 has only 88 players, and only 26–52 players form pairs in each constant range; in the second batch alone, the improvements in ranking and overall Brier are not significant. The validation target is fixed at SSS at the reference bucket, and a different target (for example SSS+, or any play count) might give different results. The rankers’ coefficients and the blend proportions were chosen on the development snapshot, and the split-half results during development share the same snapshot, so they cannot be treated as six independent replications. Two charts whose Constant gaps differ by only 0.1 should still be treated as the same tier when choosing songs.
9.4 CHUNITHM
The CHUNITHM Constant gap currently uses the previous version’s method (calibrated EM and popularity correction), with a lower bound of official constant 14.0. CHUNITHM has been collecting play counts for a shorter time, so this report’s validation does not include CHUNITHM; once there is enough data, it will be validated with the same procedure before deciding whether to adopt the method.
10. Conclusion
The latest Constant gap algorithm estimates “which chart is harder within the same constant” and “the probability of reaching SSS” as two separate thresholds. R is built around the same player’s wins and losses, combines seven auxiliary thresholds with a ranker learned across players, and, by fixing labels first and then the order, limits every change to a rearrangement within the same constant; P uses exact play counts as its main correction, and mixes in lamps or DX SCORE depending on the constant range. On two batches of new players who joined only after training, the ranking point estimate improves in both, and the interval for Batch 1 (the version frozen at the time) excludes zero; in the fully pre-registered Batch 2, the SSS prediction error for official constants of 14.0 and above clearly falls by 6.2%.
The app and the website use the same algorithm, computed each day when the anonymous statistics file is generated. The public statistics file contains only each chart’s thresholds and aggregate figures, and no player’s scores or play counts.
Appendix A: Parameters
| Step | Parameters |
|---|---|
| Quantile alignment | Aligned only when a constant has at least 8 charts; used only for 13.0 and above |
| C₁ pairwise threshold | At most 192 pairs per group; bucket weights: reference bucket 6, no play count 0.3, others 1; min(…, 12)^0.65; α penalty 3; κ prior 3, range 0.5–15 |
| C₂ reference-bucket threshold | Grid 0.12, kernel 2.5 cells, smoothing prior +0.75/+1.5; intercept prior 2; other buckets borrowed × 0.4; 20 Newton iterations |
| C₃, C₄ local curves | tanh(1.6 g); grid 0.1, kernel 2.8 cells; slope 0.12–1.6; shrinkage 4; windows 0.9/1.6; coverage 0.35 + 0.65√q |
| C₆, C₇ multi-achievement thresholds | Six threshold weights 0.04, 0.12, 0.20, 0.38, 0.18, 0.08; five positions, kernel 0.5; shrinkage 4; slope 0.8–8; quantile-range scaling 0.5–1.8 (at least 10 charts); bucket weights 0.35–1, coverage 0.5 + 0.5√q; grid 0.125, kernel 2 cells, smoothing prior +0.7/+1.4 |
| D full-score model | asinh(g); skill bands −0.8, 0.2, 1.0; denominators 0.1, 8, 3; 20 iterations; outlier weight min(1, 0.9 ÷ absolute residual) |
| Rankers | 24 features (66 columns for I); 300 pairs per player per constant; B prior 3.8; λ: A 0.10, I 0.22, S 0.20; three constant ranges |
| Interval assignment | 13.0–13.9 stability score 0.50 B + 0.30 D + 0.20 Q(W); 14.0 and up keeps B’s intervals |
| Order within intervals | 0.50 Q(G) + 0.50 Q(S) |
| Common shift δ | Penalty 0.012 δ²; weight 1/(n + 4); ±0.4 |
| T exact-play-count threshold | Skill cells 0.2; 13 play-count cells (one more cell for no play count, weight 0); cell shrinkage 20; centre 16 plays, width 1.25 (log₂); 3.5 × (J + 4) |
| DX SCORE, lamps | Weight width 1.1; 12 alternating iterations; denominator 8; blended 2:8 with B |
| Constant gap conversion | Rise of at least 0.35 per 1.0; only 13.0 and above listed; labels ±0.5; excluded beyond ±1.5 |
Table 11: Main parameters.
Appendix B: Implementation and reproduction
The production calculation is run daily by CRITLOG’s relay: the statistics program first computes T₀ and B, passes the MASTER-and-up scores, thresholds and curves to a Python program that computes R and P, then writes R into the Constant gap and folds P into the expected-score curve (adding P − T₀ to the difficulty). The label conversion calls the app’s own code, which guarantees it matches what is shown on screen. If the Python program fails, the Constant gap falls back to B, the SSS probability falls back to the original expected-score curve, and the statistics file is generated as usual.
The relay implementation’s 1,629 thresholds on the training snapshot are bit-for-bit identical to the frozen research model. The validation script first checks the hashes of the threshold file and the score file, and then computes the aggregates for the new players. The raw scores contain individual players’ data and are not published.
If you have questions or suggestions, email support@critlog.me.