Method and checks
Four pipeline forecasts of a quarter's wins on 27,589 public tenders, each made at the quarter's start and scored against the wins that followed.
In plain words
Every quarter a sales leader is asked how many deals will close. The usual answer comes from the CRM. Each open deal sits at a stage, each stage carries a probability, and the deals dated to close this quarter are added up at those odds. Finance plans hiring and onboarding on that number.
A company's CRM is private, so this study uses a public pipeline that works the same way. The Government of Canada publishes every federal tender with its dates, and every contract award. A supplier that sells to government watches exactly this pipeline. A tender is a deal, the buying department is the account, the award is the signed deal and the contract start is go-live.
- Pipeline
- The deals open at a given date.
- Stage probability
- The chance a CRM gives a deal at each step of the sale. HubSpot's default pipeline uses 20%, 40%, 60%, 80% and 90%.
- Close date
- The date a deal is expected to close; here the tender's expected contract start, or its bid closing date when none is given.
- Time in stage
- How long a deal has sat at its current step.
- Win
- A tender with a published contract award. A tender with no linked award counts as not won.
- Backtest
- Making the forecast as it would have been made at a past date, then scoring it against what happened.
- On record
- Published before the date the forecast is made. A win made but not yet published is not on record.
- Average miss
- The gap between forecast and wins as a percent of the wins, averaged over quarters.
Data
CanadaBuys open data: 31,272 tender notices published from August 2022, and 29,346 award notice rows, joined on the solicitation number. Requests for information are left out, and notices sharing a solicitation number are one deal, which leaves 27,589 deals. Contact, supplier and address fields are never loaded. The data runs to November 2026, and the latest quarter scored ends in September 2025, because about one award in five is published 90 or more days late and the scored quarters need their wins on record. Contains information licensed under the Open Government Licence (Canada).
The table is shaped like a CRM's opportunity object: one row per deal with its account, channel, created date, stage dates, expected close date, won flag and date, amount and go-live date. In the field names most CRMs use, the stage is StageName, its probability is Probability and the won flag is IsWon. Three defects of CRM data show up here as in any CRM: amounts missing on 59% of wins, wins booked long after they happened, and deals that stay open long after anyone expects them to close.
How the forecasts work
At the start of each quarter, every deal is put in a stage from what was published by then: open for bids until its closing date, then closed for bids until an award or a cancellation is on record. Every forecast counts the wins in the quarter from those deals.
- CRM defaults. Fixed weights mapped from two CRM stages: deals whose close date falls in the quarter, at 60% if open for bids and 80% if closed for bids, the probabilities of HubSpot's "Presentation scheduled" and "Decision maker bought-in". The mapping is a choice; the neighbouring stages, 40% and 60% or 80% and 90%, are shown as a range. These are chances of ever winning, scored here as wins within the quarter.
- Learned probabilities. The same deals, each stage at the share of such deals that won within the quarter over the 4 previous quarters, counting only wins on record.
- Time in stage. Every open deal, at the share of deals of the same stage and the same age (0 to 14 days, 15 to 30, 31 to 60, 61 to 120, 121 to 365, over 365) that won within a quarter over the 4 previous quarters, counting only wins on record. An age group with fewer than 20 past deals uses its stage's share.
- Last quarter's wins. The wins on record from the previous quarter's pipeline.
- Late wins counted (added after the results). Each past quarter's wins divided by the share of wins that would have been on record by the forecast date, estimated from wins made one to two years earlier.
Scores: the miss as a percent of the wins that came from the pipeline, averaged over the 8 quarters; ranges at 80% from treating deals as independent. The latest quarter, July to September 2025, was the main run; the other 7 quarters are the backtest that followed.
Declared before the run, and after
The design, the forecasts, the stages, the quarters and these predictions were written down before any forecast was computed, after a first look at the files: row counts, the share of tenders with an award, about 40%, the spread of lags and the missing amounts. 6 of 8 predictions held.
The expected finding was that the defaults over-forecast widely and learned probabilities fix most of it. The opposite was that the defaults land within 15%, or learned probabilities do no better. The defaults missed the main quarter by +3%, so the opposite held there.
- Missed. The defaults forecast the latest quarter more than 40% too high.
- Missed. Learned probabilities cut the latest quarter's miss to under half of the defaults' miss.
- Held. Over the 8 quarters, time in stage misses by less on average than learned probabilities.
- Held. Over the 8 quarters, learned probabilities and time in stage are both too low on average.
- Held. Given every win known today, time in stage looks at least 5 points better than it could have at the time.
- Held. In a typical quarter (the median of the 8), at least 30% of the wins come from deals created after it began.
- Held. Time in stage misses by less on average than last quarter's wins.
- Held. Time in stage's 80% range covers the actual count in at most 4 of the 8 quarters.
Added after the results, and written down before they were run: where the wins came from, the late-wins correction, ranges from earlier misses, and an onboarding plan, whose figures stay in the results files. Nothing declared before the run was changed.
Changes after the results
The further changes below and their bets were written down before they were run. The declared results above are untouched and still reported.
- Notices as known then. The tender file holds each notice only as last amended, and the first run built each deal once from all its notices, so a quarter could see closing dates and start dates published or amended later. Every quarter was rebuilt from the notices published before it. No average miss moved by more than 0.51 points, so the results keep the first-run numbers, as declared beforehand. 5% to 11% of the open deals, holding 29% to 44% of the wins, had a notice amended after the quarter's start, whose earlier values are lost. Leaving them out moved learned probabilities to 76%, the defaults to 23% and time in stage with late wins counted to 19%, with the order unchanged, but the defaults then ran too high in only 2 of 8 quarters. One solicitation number, "N/A", had merged three unrelated tenders and was dropped.
- Same target. The defaults and learned probabilities scored on the deals they count. Past due, split. Slipped start dates apart from bid closing dates standing in. Ranges as known then. Earlier misses scored with only the wins published by the forecast date. Head to head. Quarters in which time in stage with late wins counted beat the defaults.
The bets, written before the run, and their results. They were scored on the rebuilt notices, so their figures differ slightly from the first-run figures in the results.
- Held. Rebuilt from the notices published before each quarter, the defaults' average miss stays within 5 points of 22.7% and stays the lowest of the four. Result: 22.2%, still the lowest.
- Held. Deals amended after the latest quarter's start are under 20% of its open deals. Result: 6.8%.
- Held. Scored on the deals they count, learned probabilities miss by less than the defaults. Result: 23.5% against 142.8%.
- Held. At least half of the latest quarter's past-due wins gave no contract start date. Result: 110 of 195.
- Missed. A range from earlier misses, scored with only the wins published by then, covers at most 3 of 5 quarters. Result: 5 of 5.
Two more came later, and were not written down before they were run.
- The age of the deals dated outside the quarter. Tenders have no lost stage, so these deals pile up. At the latest quarter's start, 7,297 of the 11,126 had waited over a year for an award, and they gave 2 of the 209 wins from those deals in the quarter.
- Dashes in the shipped tables. 33 solicitation numbers and 6 buyer names held an en or em dash, and each is now a hyphen in both tables. No two values merged, and the three runs give the same results files, byte for byte, on the tables before and after.
What went wrong or was missed
- The design treated the probabilities as the problem. Two of the predictions assumed the defaults were too high and that learning them would fix the forecast. They were too high, but the close-date rule hid about half the wins: about one in four for real, the rest because bid closing dates stood in for close dates. So learning them made the forecast worse.
- Late records pull every learned forecast down. Learning from wins on record at the time is the only honest backtest, and it is biased low whenever wins are booked late. The design measured this but did not correct it; the correction came after the results.
- Ranges were far too narrow. Treating deals as independent ignores that a whole quarter can run hot or cold. The ranges covered at most 1 quarter in 8.
- No reps and few amounts. The data names no sales reps, so productivity is by department, and most wins carry no usable amount, so the forecasts count wins rather than dollars.
- Earliest quarters have thin history. The data starts in August 2022, so the first quarters scored learn from a pipeline only a few months old; the late-wins correction there rests on 51 older wins.
Checks
- Tests on small made-up pipelines check every stage rule, that a win not yet on record keeps its deal open, that a cancelled deal leaves the pipeline the day after its notice, the age groups and the quarter arithmetic, and that the opportunity table carries no contact, supplier or address field.
- With the late-wins option off, the forecasts give exactly the declared results.
- Rebuilding the opportunity table from the one-row-per-notice file gives back every deal, first publication date, closing date and notice count of the table used for the declared run.
- Given the original table, the forecasts built from notices as known then give exactly the declared results.
Reproduce it
Python 3.12 with DuckDB to reduce the source files; the forecasts and tests need only the standard library. The steps are in the README.
READMEData download and reductionStages and forecastsDeclared runAdded after the resultsThe opportunity tableDeclared resultsResults added afterPredictions as declaredProtocolDesignAnalyses added after the resultsNotice tableRun with the further changesThe noticesResults of the further changesAge of the deals dated outside the quarterIts resultsDashes in the tablesAssumptions
The summaryEight quarters, one at a timeAll resultsMethod and checks