Notes from: 

Actionable Agile Metrics For Predictability
===========================================

by Daniel S. Vacanti
--------------------

(recommended by Russel Hill during the Kanban certification course KMP-I, 2018)

Velocity Is Not Agile: from page 18:
------------------------------------

    ... it is incomprehensible to me that metrics like Story Points and
    Velocity are accepted as Agile.

    ...

    Part of the Agile Manifesto mentions "Customer Collaboration". I fully
    support that notion ... collaboration means speaking the language of the
    customer. And that language should extend to cover all the metrics and
    analytics that we use. Have you ever had to explain what a Story Point is
    to a customer?

    ...

    ... all stakeholders understand the concept of elapsed time. I guarantee
    they understand the concept of the total number of features delivered in a
    release.

    ...

    To demonstrate why flow and flow metrics are Lean, I would like you to try
    the following experiment at home sometime (if you have a spouse or
    partner). I have a wife so I will explain it with her in mind. In this
    experiment, I would start by asking my wife to do something for me. The
    particular task I ask her to do does not really matter as long as it will
    take a non-trivial amount of time to complete. Before she is finished I
    will ask her to stop what she is working on to do something else for me.
    Before she is finished with that new task, I will ask her to stop and do
    something else. At some point after I have requested her to do the third
    or fourth thing I will ask her why she is not fniished with the first
    thing I requested and why it is taking so long. I will continue to do this
    until the nearest blunt instrument she beats me to death with is marked as
    "Prosecution's Exhibit A".

Commitment: from page 141
-------------------------

    I have never been skydiving, but I get the general gist. First, you pack a
    bunch of nylon into a little bag and strap that bag to your back. Then,
    you hop onto an airplane and fly up to a specified altitude. Finally,
    assuming you are insane, you jump out.

    Other than the immediate commencement of a real-time experiment in
    Newton's Second Law of Motion, a very important thing happened to you once
    you jumped out of that airplane ... you made a very real commitment to
    fall back down to the ground. Up until [that moment], you had every
    opportunity to not make that commitment.
    
    ...

    Also notice that this commitment happened at the last responsible
    (possible) moment. Your jumping out of that airplane was a clear and
    unambiguous signal that you intended to fall back to earth.

    ... Conservation of Flow (CoF) ... Little's Law Assumption #2: All work
    that is started will eventually be completed and exit (depart) the system.


Flow Debt: Summarized from pages 155-163
----------------------------------------

Page 155:

    Flow Debt is when Cycle Time is artificially reduced for some items of
    Work In Progress by "borrowing" Cycle Time from other items of work in
    progress.

Economist Hyman Minski classified debt as: Hedge, Speculative or Ponzi.
Vacanti uses these catagories to talk about Flow Debt.

Hedge: debt is present but expedites are the exception not the rule. When new
expedited items appear other work is finished before it is picked up. Debt is
being used to a benefit.

Speculative: almost always have an expedited item in progress. Routinely
violate WIP limits.

Ponzi: all work is expedite. Borrowing from the future constantly and never
repaying. Pull criteria are not explicit and often based on who is screaming
the loudest


Vacati uses the analogy of a restaurant to explain how Flow Debt effects your
process. Flow debt increases average Cycle Time. A restaurant with a true wait
time is 15 minutes but because of Flow Debt needs to tell people it could take
up to 60 minutes in some cases to get a seat. Customers will leave.


Scatter Plots: summarized from p178
-----------------------------------

Talks about Run Charts and how they are distinct from Scatter Charts. Both
chart through time, but Scatter Charts are plotting distinct elements (hence
points) wherease Run Charts are plotting related elements (hence lines).

Also not supposed to use Control Flow Chart mechanism of calculating
percentiles -- that assumes a normal distribution which it may not be. To get
your percentiles, instead, count up the dots and bucket them into percents.
E.g. if there are 100 dots, the 85% line goes through the 15th highest dot.
Very simple and no assumptions about distribution. This also removes any
statistical problems caused with handling outliers.


Items Aging: summarized from p209-10
------------------------------------

Similar to the fact that a human's life expectancy goes up the older they get
("the older you get the more things you have survived that should have killed
you"), the longer the Cycle Time on any given item, the more likely it will
take longer for it to complete.

    delay is the enemy of flow

It is important to study the aging process of work items and keep an eye on it
in your process.


Airport Security Queue Theory Analogy: summarized from p217-8, 237
------------------------------------------------------------------

In a small airport with only a single security screener, it becomes obvious
that the longer the line, the longer wait time for an individual joinging the
queue. TSA (USA airport security) has a Pre-Check line for low risk
individuals. They get their own line and have fewer things they have to do --
e.g. don't have to take off your shoes. In small airports there is often still
only one screener, but now they're serving two lines. The predicatbility gets
worse in this situation.

This is made more complicated by some airports having frequent traveller lines
and/or crew lines.

It essentially gets to a place where Little's Law doesn't really apply anymore
and so predicatbility is impossible.

    A Class of Service is a policy or set of policies around the order in
    which work items are pulled through a given process once those itmes are
    committed to (i.e., once those items are counted as Work In Progress).

The obvious answer to this problem is to have more TSA agents, one for each
queue type, but the reality is that costs money. Adding more people often
isn't a viable choice in most organizations -- instead pull policies that
maximize effectiveness and predictability is what should be done.


Slack Is A Weapon: summarized from p231-2
-----------------------------------------

It is next to impossible for FedEx to predict who is going to want a package
shipped when, let alone its size or weight, so to maintain their next-day
service guarantees they have a lot of slack in their system. They have empty
airlplanes flying around ready to compensate for this problem. They achieve
predictability through slack.

The focus of Lean is often thought of as reduction of waste, but if the
executives at FedEx reduced the waste of empty planes their predictability
would suffer.


Augmented Burn-Up Chaert: summarized from p246
----------------------------------------------

If you have your percenticles from your Scatter Chart, you can augment your
Burn-Up chart with this information -- it gives you a sense of confidence on
the delivery timelines.

This might be more accurate than the optimistic/pessimistic mechanism often
used.


Warning About Tools: summarized from p268
-----------------------------------------

Most tools assume a standard deviation and calculate their percentiles based
on that assumption. This is often not true is knowledge work. It is a good
idea to track your data manually at the same time as a new tool to see just
how the tool behaves.
