How this tool computes its result
Takes four raw funnel-stage counts (MQL, SQL, Opportunity, Won) and computes three sequential stage transitions — MQL→SQL, SQL→Opportunity, Opportunity→Won — each with `conversionRate = to/from*100`, `dropOffCount = max(from-to, 0)`, and `dropOffRate = dropOff/from*100`, all rounded to 2 decimals. Overall `mqlToWinRate = won/mql*100`. The stage with the highest `dropOffRate` is selected via `reduce` as the "biggest leak," and a priority label is derived purely from that drop-off rate: Critical (≥50%), High (≥30%), Medium (≥20%), otherwise Low. Inputs are hard-gated as monotonic — the calculation returns `null` (and an inline error shows) unless MQL ≥ SQL ≥ Opportunity ≥ Won.
