Adaptive results history in build_bt_data() format.
Source:R/adaptive_print.R
adaptive_results_history.RdAdaptive results history in build_bt_data() format.
Value
A tibble with columns:
- object1
Character item id shown in position A.
- object2
Character item id shown in position B.
- result
Numeric outcome in
{0, 1}where1meansobject1wins.
Details
Converts adaptive step outcomes into the three-column format used by
build_bt_data() (object1, object2, result). With
committed_only = TRUE, only committed steps (pair_id not
missing) are retained. This preserves the transactional invariant that
invalid steps do not contribute to inferred comparisons.
Examples
state <- adaptive_rank_start(c("a", "b", "c"), seed = 1)
adaptive_results_history(state)
#> # A tibble: 0 × 3
#> # ℹ 3 variables: object1 <chr>, object2 <chr>, result <dbl>