Changelog
All notable changes to ubc are documented in this file. The format follows Keep a Changelog, and the project uses Semantic Versioning. Each GitHub release shows the section of its version.
Unreleased
1.1.2 - 2026-11-26
Added
- A Claude Code skill that lets Claude estimate with
ubcon its own whenever an answer rests on guessed numbers, and installsubcwhen it is missing. This repository is its plugin marketplace:/plugin marketplace add eferro/uncertain-bc, then/plugin install ubc@uncertain-bc(ADR 0068).
Fixed
--plainand--jsonprint the same digits on every platform (#43). They printed the full float64, whose last bits depend on the architecture'smath.Expandmath.Log, so Apple silicon and Linux on arm64 printed66.49795720184639where amd64 printed66.4979572018464. Their numbers now have 10 significant figures, like plain numbers in the normal output:66.4979572(ADR 0069).
1.1.1 - 2026-11-23
Fixed
- Assigning a comparison of uncertain values keeps its samples (#41).
hit = uniform(0, 1) < 0.1used to bind the probability0.1, sohit * (50k to 500k)was a tenth of the impact in every sample andP(hit * (50k to 500k) > 0)was1; nowhitis an event, 1 in the samples where the comparison holds and 0 elsewhere, and that probability is about0.1. An event still prints as a probability (results,--echo,:vars,--json,--plain), so the output of models that do not compute with an assigned comparison is unchanged. The same applies to--set 'hit=...', tolastafter a comparison and to a function whose body is a comparison, which now prints a probability.--samples-outwrites an event as a0/1column,--senscounts it as a driver, and--assert hitchecks it like a comparison.
Added
- Documentation for events that may or may not happen ("if it happens, it costs X"): a section in the modelling guide with a typical mistake, a how-to for risks, incidents and missed dates, and a table in the reference of what a comparison gives in each position.
1.1.0 - 2026-11-23
Added
- Every scenario ends with the output its run command prints, as a comment checked by the test suite, so you can read the answer without running it.
- Conversion constants in the shared formulas (
minutes_per_hour,hours_per_day,working_days_per_year,weeks_per_year,months_per_year…), each saying whether it counts working or calendar time; the scenarios use them instead of magic numbers, and--setadapts them.ubc --echo --scenario NAMEnow prints them first. - A section on units in the modelling guide:
ubckeeps no units, by decision; name them, keep them consistent and convert with the constants.
Removed
- The idea of a TUI with sliders is dropped from the roadmap (ADR 0064).
1.0.0 - 2026-11-23
First stable version: from now on the language, flags, REPL commands, --json and --plain output, exit codes and scenario names only change in a backwards-incompatible way with a new major version (ADR 0062).
Added
--set name=exproverrides a model's variables from the command line.--assert CONDchecks a condition after the run and exits with code 4 when it does not hold, for checks in CI.--data NAME=FILEsets a variable to the numbers in a file, one per line, resampled like a list literal.--samples-out FILE.csvexports the raw samples of every variable, for pandas or a spreadsheet.:sens EXPRand--sensrank the variables that drive a result's uncertainty.--interval Wchooses the width of the printed interval.- Exact
poissonandbinomialdistributions. - Every summary shows a nested 98% interval next to the 90% one.
- A scenario catalogue of ready-to-use models for teams, delivery, product, engineering, reliability, cloud costs and risk, with reusable formulas and a source for every assumption. It is built into the binary:
--scenarioslists it,--scenario NAMEruns one and--scenario-source NAMEprints its source. - A tutorial, a modelling guide, a user reference and how-to guides, whose examples the test suite runs against the binary.
- This changelog.
- A documentation website at https://eferro.github.io/uncertain-bc/ with the README, the guides, the reference, the scenario catalogue and this changelog, and a search box.
Changed
- Results are labelled with their variable name or a short form of their expression.
- Narrow intervals keep enough digits to tell their ends apart.
- The README is a short entry point that links to the guides.
Fixed
- Printed numbers no longer show binary floating-point noise.
- The ends of the 98% interval are rounded outwards, so it always contains the 90% one.
- The REPL handles escape sequences in the Windows console.
0.7.2 - 2026-11-21
Fixed
- The Homebrew cask and the Scoop manifest are published with every release.
0.7.1 - 2026-11-21
Fixed
- Release republished to configure publishing to the Homebrew tap;
ubcitself is unchanged.
0.7.0 - 2026-11-21
Added
- One-command installers,
install.shandinstall.ps1. .deb,.rpmand.apkpackages with every release.- A Homebrew cask and a Scoop manifest.
- Install instructions for every platform, with or without Go.
Fixed
ubc --versionreports the module version when installed withgo install.
0.6.0 - 2026-11-21
Added
--echoprints assignments, and the REPL names them.--histdraws histograms and--quantileschooses the percentiles printed.--watchevaluates files again whenever they change.--completionprints bash, zsh and fish completion scripts.
0.5.0 - 2026-11-21
Added
- Empirical data written as
[v1, v2, ...], resampled like a distribution. - User functions defined with
name(params) = expr. exponential,gammaandpert(Beta-PERT) distributions.
0.4.0 - 2026-11-21
Added
--jsondescribes every result as a JSON object.:plot EXPR FILEexports a histogram to SVG or PNG.
0.3.0 - 2026-11-21
Added
- An interactive session (REPL) when stdin is a terminal, with line editing and history across sessions.
:help,:vars,:seed,:samples,:quit,:save,:loadand:hist EXPRin the session.
0.2.0 - 2026-11-21
Added
- Programs of statements with variables and comments, read from repeated
-eexpressions, files and stdin in one session. - Arithmetic on sample sets:
+ - * / ^, negation and parentheses. normal,lognormal,uniform,triangularandbetadistributions.- Comparisons and probabilities with
P(...). mean,median,stdev,min,max,pand per-samplesqrt,exp,log,log10,abs,round,floorandceil.pi,e, andlastfor the previous result.k,M,B,Tand%suffixes for numbers, and in large summaries.- A sparkline after every summary,
--asciioutput,--plainfor the central value only. -n,--seedand--randomto choose the sample count and the seed.-h/--help.- Non-finite samples are left out of summaries and counted.
0.1.0 - 2026-11-21
Added
ubc -e EXPRevaluates numbers anda to branges as Monte Carlo sample sets.- Syntax errors report their position.
ubc --version, and release binaries for Linux, macOS and Windows.