fn check_probability_map(
probabilities: &BTreeMap<String, f64>,
expected: &BTreeSet<String>,
) -> Result<(), String>Expand description
Keys, values, and the sum tolerance pydantic-ai applies for the provider’s two-decimal display: 1e-6 + n * 0.005.