Modules
Days spent in each pipeline stage, from a stage-history CSV with the columns
deal,stage,entered,exited (dates as YYYY-MM-DD; leave exited empty for a deal still in the stage).
Open rows are measured up to the as_of date you pass.
Mix Tasks
Usage: mix pipeline.stage_duration history.csv [--as-of 2026-11-28]