rcf — the outside view before the inside view
Reference class forecasting (Kahneman & Tversky, 1979; Flyvbjerg, 2006): answer "how long will this take?" with the distribution of how long similar finished work really took, before anyone looks at the details. Clarent builds the class from your repository's merged PRs or merge commits, refuses with fewer than 10 cases, shows your own estimate only after the outside view, and logs forecasts so calibration can be checked later.
When to use
Someone asks for a duration and the repository has a few hundred finished PRs.
When NOT to use this
- To estimate effort: durations are calendar time from opened to merged, waits included.
- In a young repository, or for work unlike anything it has done.
- Expecting the similarity filters to sharpen the forecast: on pytest they did not (below). Start from the whole history.
- To set deadlines for people.
Real case from the eval
400 merged pytest PRs; each of the last 100 human PRs forecast only from PRs merged before it was opened. Only 66% of real durations were under P80 (80% expected): forecasts from merged-only history run optimistic. The directory/size similarity scored the same as using every earlier PR (pinball P50 7.02 vs 7.12 days), so it is now optional. Details: evaluation.
Try it
clarent rcf forecast methods/rcf/examples/history.synthetic.json --inside 1
clarent rcf backtest evals/rcf/pytest/history.json --exclude-author 'app/*'
methods/rcf/CARD.md.