Every #[cfg(test)] mod tests in src/history.rs now uses the new public API: add_events(iter) / converge() / learning_curve() / current_skill() / log_evidence(). No golden value changed. Legacy methods removed: - History::convergence(iters, eps, verbose) → use converge() - History::learning_curves_by_index() → use learning_curve() / learning_curves() - HistoryBuilder::gamma(f64) → use .drift(ConstantDrift(g)) - add_events_with_prior downgraded from pub to pub(crate) Added: - History::builder_with_key() for custom key types (used by atp example) - tests/equivalence.rs: Game-level golden integration tests examples/atp.rs rewritten in new API (Event<i64, String>, converge(), learning_curve(), drift(ConstantDrift(...))). Bench Batch::iteration: 21.4 µs (T1 reference: 22.88 µs). Part of T2 of docs/superpowers/specs/2026-04-23-trueskill-engine-redesign-design.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
6.3 KiB
6.3 KiB