Skip to contents

ledgr_history_policy() records the experiment-level treatment choices shared by causal history, feature preparation, pulse inspection and explicit precomputation. The policy is part of experiment identity; worker and other resource controls are not.

Usage

ledgr_history_policy(
  price_carry = 5L,
  output_carry = NULL,
  segment_limit = NULL
)

Arguments

price_carry

Maximum age, in expected venue sessions, for causal price-input carry. The default is 5L; NULL disables input carry.

output_carry

Maximum age, in expected venue sessions, for output carry. NULL disables output carry.

segment_limit

Optional positive whole-number override for the causal segment guard. NULL uses the implementation default.

Value

A ledgr_history_policy object.

Details

Supplied ages and limits must fit in an R integer.

Articles

Reading causal history: vignette("causal-history", package = "ledgr") system.file("doc", "causal-history.html", package = "ledgr")