pub fn operator_expected_bundles_in_epoch(
    slots_in_epoch: u64,
    operator_stake: StakeWeight,
    total_domain_stake: StakeWeight,
    bundle_slot_probability: (u64, u64),
    ln_one_over_tau: FixedU128,
    e_base: u64,
) -> Option<OperatorEpochExpectations>Expand description
Compute epoch-end expectations for an operator using the exact VRF threshold. Returns None if the operator is not throughput-relevant this epoch.
Flow is:
- calculate_threshold(…) -> u128 threshold
- p_from_threshold(threshold) -> FixedU128 per-slot probability
- compute_e_relevance(ln_one_over_tau, e_base) -> u64 E_relevance
- is_throughput_relevant_fp(S, p, E_relevance) -> bool
- chernoff_threshold_fp(S, p, ln_one_over_tau) -> u64 r
Inputs:
- slots_in_epoch: S
- operator_stake, total_domain_stake: epoch-start stake snapshot
- bundle_slot_probability: (theta_num, theta_den)
- ln_one_over_tau: ln(1/τ) in FixedU128 (e.g., LN_1_OVER_TAU_1_PERCENT)
- e_base: soft relevance floor (e.g., E_BASE)