Guides
Hidden ratings
A new player's rating says little. A pool can mark ratings hidden until
the player has proven them. The rating is still returned, with every
other field. Each stats block just says hideRating: true or false, and
your game decides what a hidden rating looks like: "Unranked", say, or "3
more matches".
Set the thresholds
They go in the pool's mmrConfig, when you create the pool or later:
curl -X POST https://api.inhouseranks.com/v1/pool/update \
-H "x-api-key: $INHOUSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"poolId": "6b01eb7991a8d0c2e72af687",
"mmrConfig": {
"kind": "glicko2",
"initialMmr": 1500,
"hideRatingUnderMatchCount": 10,
"hideRatingUnderWinCount": 1,
"glicko2": {
"tau": 0.5,
"initialRatingDeviation": 350,
"initialVolatility": 0.06,
"hideRatingUnderConfidencePercent": 50
}
}
}'mmrConfig replaces the pool's whole rating config. Send all of it.
| Setting | Hides a rating while | Rating systems |
|---|---|---|
hideRatingUnderMatchCount |
the player has played fewer matches than this this season, ranked or not | all |
hideRatingUnderWinCount |
the player has won fewer ranked matches than this this season (an unranked match is never a win) | all |
glicko2.hideRatingUnderConfidencePercent |
the system's confidence in the rating, 0–100%, is below this | Glicko-2 |
- Any one threshold is enough to hide a rating.
- Leave a setting out, or send
null, to turn it off. Counts must be 0 or more and the percentage 0–100, or the call answers400. - It's judged on every read with the pool's current settings, so changing a threshold reveals or hides ratings at once.
- Each stats block is judged on its own, so a position's block can be hidden while the overall one is shown.
This season
"This season" means since the pool's last
season end, or ever if it has never ended
one. Records stay all-time: each stats block also carries seasonStartWins
and seasonStartMatchCount, its wins and matchCount when the season
began (null if it hasn't been through a season end). This season's count
is the difference.
Confidence
Confidence is Glicko-2's rating deviation (RD, mmr.ratingDeviation:
how far the true rating may be from the one shown) as a percentage:
confidence % = (RDmax − RD) / (RDmax − RDmin) × 100, clamped to 0–100- RDmax is the pool's
initialRatingDeviation(350 by default), where every new player starts: 0%. - RDmin is 40: an RD of 40 or lower is 100%.
RD shrinks as a player plays, so confidence rises. On the defaults,
hideRatingUnderConfidencePercent: 50 hides a rating until its RD is 195 or
lower. The check uses the RD the response reports.
Where hideRating appears
On every stats block of every response that returns a rating. Matchmaking
carries it too: each player in a /queue/join party, and in a match.found
event, comes with their mmrEntity, whose stats blocks carry hideRating.
Those stats are as of when the player joined, judged with the pool's
settings when the reply or event is sent.
A rating window can hide a rating too, while it's open.