# ✂ Cycle time — the third of the three report views (E41). See burndown.yaml's
# header for why these three are here and unplaced.
#
# A DISTRIBUTION, not a time series: how long issues took to pass from an
# `open:` status into a `done:` one, binned by the rising day edges below.
# `every:` is refused here (there is no time axis to bucket) and so is `y:`
# (there is no column to sum). The median is stated under the chart, and the
# footnote counts what was EXCLUDED — a passage that began before the window,
# a baseline stamped by a wholesale migrate, an issue that reached Done
# without ever having been open. Cycle time excludes rather than guesses, and
# says how many; that is why the number can be quoted.
view:
  label: Cycle time
  widgets:
    - widget: chart
      label: Days from started to done
      note: >-
        How long a finished issue took, over the last twelve weeks. Read the
        exclusion footnote before quoting the median — it says exactly which
        issues this chart declined to guess about.
      from: issues
      history:
        of: Status
        since: "-12w"
        open:      [Triage, Backlog, Todo, In Progress, In Review]
        done:      [Done]
        cancelled: [Canceled, Duplicate]
      x: { label: Days }
      series:
        - { mark: cycle-time, label: Issues, buckets: [1, 3, 7, 14, 30] }
