Forecast delivery date from throughput (Monte Carlo)
forecast_completionForecast how many periods and calendar dates are needed to clear a backlog from historical throughput samples, returning P50/P80/P90/P95 estimates.
Instructions
Answer 'when will it be done?' from historical throughput instead of per-task estimates. Give the number of items completed in each recent period (e.g. stories per sprint) and the remaining backlog; the tool bootstraps future periods to forecast how many periods are needed to clear the backlog. Returns P50/P80/P90/P95 in periods, and calendar dates when a start date and period length are supplied. Optionally model scope creep with splitRate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | PRNG seed. Fixed by default so results are reproducible; change it to explore alternate random streams. | |
| backlog | Yes | Number of remaining items to complete (or the low end of a range). | |
| splitRate | No | Scope-creep factor: expected new items created per completed item (0 = fixed scope, 0.1 = 10% growth). | |
| startDate | No | Optional ISO start date (YYYY-MM-DD) to translate periods into calendar dates. | |
| iterations | No | Number of Monte Carlo iterations (100..200000). | |
| periodDays | No | Calendar days per period, used with startDate to compute completion dates. | |
| backlogHigh | No | Optional high end of the backlog range. If set, backlog is sampled uniformly between `backlog` and `backlogHigh` (models scope uncertainty). | |
| periodLabel | No | Label for one throughput period (e.g. sprint, week). | period |
| distribution | No | Probability distribution for the estimate. 'pert' (beta-PERT) is the project-management default. | pert |
| targetPeriods | No | Optional target number of periods. Returns the probability of finishing within it. | |
| throughputSamples | Yes | Historical items completed per period (e.g. [5, 8, 3, 6, 7]). Sampled with replacement to model future periods. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | Yes | ||
| min | Yes | ||
| mean | Yes | ||
| seed | Yes | ||
| stdDev | Yes | ||
| histogram | Yes | ||
| iterations | Yes | ||
| percentiles | Yes | ||
| periodLabel | Yes | ||
| targetPeriods | No | ||
| completionDates | No | ||
| scopeCreepCapped | Yes | True if any run hit the internal period cap (usually runaway scope creep). | |
| probabilityWithinTarget | No |