TimePolicies
Built-in TimePolicy implementations and id-based lookup for external configuration.
Attributes
- Source
- TimePolicy.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TimePolicies.type
Members list
Type members
Classlikes
Dice Chess-specific conditional expectation of the moving player's remaining clock decisions.
Dice Chess-specific conditional expectation of the moving player's remaining clock decisions.
Derived on 2026-08-13 from the production analytics corpus: 1,459,949 king-captured games and 21,947,753 player turns spanning 2024-01-03 through 2026-08-13. Analytics turn_number counts alternating player turns, while ClockState.moveNumber is the DFEN full-move number shared by White and Black. The source aggregation therefore converts every recorded turn to its player's ordinal and counts that player's current turn plus their later turns.
The curve is intentionally non-monotone. Games surviving beyond roughly the tenth player turn are selected for longer endgames, so expected remaining turns rise again. Values between measured knots are linearly interpolated; values outside the measured range use the nearest endpoint. TimeManager applies its shared reserve, hard cap, and panic clamp after this estimate.
Attributes
- Source
- TimePolicy.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait TimePolicyclass Objecttrait Matchableclass AnyShow all
- Self type
-
EmpiricalV1.type
The original chess-inspired linear taper, retained as the compatibility baseline.
The original chess-inspired linear taper, retained as the compatibility baseline.
Attributes
- Source
- TimePolicy.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait TimePolicyclass Objecttrait Matchableclass AnyShow all
- Self type
-
LegacyLinear.type
Value members
Concrete methods
Resolves a policy id case-insensitively.
Concrete fields
All built-in policies, in presentation order.
Policy used by compatibility calls on the TimeManager companion.