Page MenuHomePhabricator

Create a script that can generate cycle-time for a single workboard on demand
Open, MediumPublic

Description

The Data³ project's MVP for the cycle time metric is to create a script that can generate cycle time for tasks on a single workboard on-demand (if only on our own demand for this first phase). The definition of cycle time for the purposes of this work:

Cycle time: a per-task, per-workboard timer that measures the time difference between (1) the time at which a task moves out of the default column on a workboard until (2) the time at which either of the following conditions are met: (i) the task leaves the workboard or (ii) the task enters any resolved status (i.e., Resolved, Declined, or Invalid)

Per our meeting on 2021-04-21 I'm assigning @Mhurd to generate the data for this metric. The scope of the data generated (i.e., the frequency, means, and targets of generation) will be an ongoing discussion with @Mhurd and @mmodell (who is tasked with building a library to make the generation of this metric "easy" :)).

Event Timeline

thcipriani triaged this task as Medium priority.Apr 23 2021, 6:54 PM
thcipriani created this task.
thcipriani moved this task from Backlog to MVP on the Data³ board.

Here's a paste demoing one way to do this using ddd and a JS graphing lib:
P16254

Limitations of the script/approach above:

  • calculating the time a ticket was on a project based on that ticket's phab transactions is necessarily limited by what transactions are recorded for a given ticket. there are a few tickets which I've seen which have an "removed from project" transaction but no "added to project" transaction

Hello @Mhurd,
let me know if you ever want to discuss this one.

@Mhurd: Per emails from Sep18 and Oct20 and https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup , I am resetting the assignee of this task because there has not been progress lately (please correct me if I am wrong!). Resetting the assignee avoids the impression that somebody is already working on this task. It also allows others to potentially work towards fixing this task. Please claim this task again when you plan to work on it (via Add Action...Assign / Claim in the dropdown menu) - it would be welcome. Thanks for your understanding!