pub fn reached(cost_usd: f64, cap_usd: f64) -> bool
Whether a run that has spent cost_usd has reached cap_usd: it is stopped. A run that spent nothing hasn’t, whatever the cap.
cost_usd
cap_usd