def expected_win_prob(pos_prob, pos_win_prob, neg_win_prob):
    """Expected value of win probability, factoring in p(success)."""
    return (pos_prob * pos_win_prob) + ((1 - pos_prob) * neg_win_prob)