TimePolicies

dicechess.engine.search.TimePolicies
object TimePolicies

Built-in TimePolicy implementations and id-based lookup for external configuration.

Attributes

Source
TimePolicy.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case object EmpiricalV1 extends TimePolicy

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 Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TimePolicy
class Object
trait Matchable
class Any
Show all
Self type
case object LegacyLinear extends TimePolicy

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 Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TimePolicy
class Object
trait Matchable
class Any
Show all
Self type

Value members

Concrete methods

def get(id: String): Option[TimePolicy]

Resolves a policy id case-insensitively.

Resolves a policy id case-insensitively.

Attributes

Source
TimePolicy.scala

Concrete fields

val available: List[TimePolicy]

All built-in policies, in presentation order.

All built-in policies, in presentation order.

Attributes

Source
TimePolicy.scala

Policy used by compatibility calls on the TimeManager companion.

Policy used by compatibility calls on the TimeManager companion.

Attributes

Source
TimePolicy.scala