Guides
Placement matches
A rating window rates a run of a player's matches as one period: their first 10 matches, say, or their first 5 of each season. The player gets one settled rating at the end instead of a number that jumps after every game.
Rating windows are for Glicko-2 pools only.
What a window does
While a window is open:
- The stored rating waits.
mmrin the player's stats block doesn't move. Wins, losses, streaks and match counts still update every match. - The window rating moves. The window's own
mmr,ratingDeviationandvolatility(inmmrEntity.ratingWindowMmrs) are solved again after every match, from all of the window's matches together. Each match is judged against every opponent's current rating, so a loss to a player who was new at the time counts as a loss to the player they turned out to be. - The window rating is the one in use. Matchmaking pairs the player on it, and opponents' ratings and team ratings are computed from it. When someone in a window queues, the matchmaker prefers settled opponents (the lowest RD) inside the allowed skill gap.
When it closes, the stored rating takes it. The window's mmr,
ratingDeviation and volatility are written to the stats block, and the
window is removed.
Set up windows
They go in the pool's mmrConfig, under glicko2.ratingWindows, 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,
"glicko2": {
"tau": 0.5,
"initialRatingDeviation": 350,
"initialVolatility": 0.06,
"ratingWindows": [
{
"trigger": "hoursSinceLastPlayed",
"hours": 720,
"matchCount": 10
},
{ "trigger": "seasonStart", "matchCount": 5, "winCount": 3 }
]
}
}
}'mmrConfig replaces the pool's whole rating config. Send all of it.
| Field | Meaning |
|---|---|
trigger |
What opens the window at a player's next ranked match. seasonStart: their first match of the season. hoursSinceLastPlayed: at least hours since their last ranked match. always: rolling, so as soon as one window closes the next match opens another. A player who has never played sets off all three. |
hours |
For hoursSinceLastPlayed only, and required there: 1–87600. |
matchCount |
Close after this many matches: 1–100. |
winCount |
Close after this many wins (a win is sole 1st place): at least 1, and no more than matchCount when both are set. |
durationHours |
Close this many hours after the window's first match: 1–87600. |
overwriteExisting |
When this window's trigger fires while the player already has one open, close that one (its result is kept) and start this one fresh. Otherwise the open window carries on. Default false. Not allowed with always. |
Rules for the list:
- A window closes on whichever limit comes first, so each needs at least
one of
matchCount,winCountordurationHours. A window holds at most 100 matches, whatever its limits. - Each trigger can be used once per pool. When several fire at one match, the first in the list wins.
- Limits are read from the pool's live config. An edit applies to open windows at once, and removing a window closes the open ones at their next match.
How windows open and close
- Only ranked matches open a window, one per stats block (
positionId) at most. Nothing is created in bulk, and unranked matches never open or count toward one. - Matches are never lost. A window that closes early, on time or because its trigger was removed keeps the matches it has: they're rated, never thrown away.
- A window whose time ran out, or whose trigger was removed, reads as closed straight away. Its block shows the window's result, the same value the player's next match stores.
- Season end closes every open window first, so the ended season's
standings include them, and the new season starts with none. On Glicko-2
a season end also resets every RD, to
resetRatingDeviation(at least 40) or the pool'sinitialRatingDeviation: a reset rating with a small RD would barely move again.
Hidden while placing
A window that opens before the player has a rated match this season marks
the block hideRating: true and keeps the player off /leaderboard until
it closes. The window itself says hidesRating: true.
A window that opens on a rating already earned this season (a returning player, or the next rolling window) hides nothing. Reads and the board show the stored rating, the last one the player earned.
Read a window
A player one match into a window. The stored rating hasn't moved, and the window's rating has:
{
"stats": [
{
"positionId": null,
"mmr": {
"value": 1500,
"ratingDeviation": null,
"volatility": null,
"lastRatedAt": null
},
"wins": 1,
"losses": 0,
"matchCount": 1,
"hideRating": true
// ...
}
],
"externalId": "alice",
"ratingWindowMmrs": [
{
"positionId": null,
"trigger": "hoursSinceLastPlayed",
"startedAt": "2026-11-21T19:05:29.738553Z",
"lastPlayedAt": "2026-11-21T19:05:29.738553Z",
"hidesRating": true,
"matchIds": ["6b01eb7991a8d0c2e72af68e"],
"matchCount": 1,
"wins": 1,
"startMmr": 1500,
"startRatingDeviation": 350,
"startVolatility": 0.06,
"mmr": 1663.9483363044524,
"ratingDeviation": 294.6523787689481,
"volatility": 0.05999967537233814
}
]
// ...
}Each /match/record reply also reports the window, on the matchPlayers
row of every player who was in one:
{
"mmrEntityId": "6b01eb7991a8d0c2e72af68c",
"mmrChanges": [
{
"positionId": null,
"multiplier": null,
"advantage": null,
"before": 1500,
"after": 1500,
"bonus": null
}
],
"outcome": "win",
"ratingWindow": {
"trigger": "hoursSinceLastPlayed",
"matchCount": 1,
"wins": 1,
"mmrBefore": 1500,
"mmr": 1663.9483363044524,
"ratingDeviation": 294.6523787689481,
"volatility": 0.05999967537233814,
"closed": false
}
// ...
}ratingWindow carries trigger, matchCount, wins, mmrBefore, mmr,
ratingDeviation, volatility and closed. The row's mmrChanges shows
the stored rating, so it reads no change until the match that closes the
window.