SlideShare ist ein Scribd-Unternehmen logo
1 von 47
When will it be done?
By Daniel Vacanti
Why should you read this book?
What is the first question the boss/customer makes when we start a new feature/project?
This book shows how the most popular estimating and forecasting techniques used on software develop
fail, some better (and simple) ways to make such forecasts, and how to introduce practices in how the
team develops software so that forecasts become more reliable.
This book also shows that it’s better to let the data help produce forecasts instead of spending time
doing estimates with meetings etc
“Garbage in, garbage out”: if the process is not predictable, there’s no point making predictions.
What’s in it?
● Section I: Forecasting
● Section II: Forecasting for Single Items
● Section III: Forecasting for Multiple Items
● Section IV: How to know if you can trust your forecasts
● Section V: Putting it all together
● Section VI: Case Studies
Section 1: Forecasting
“Note: the cone contains the
probable path of the storm
center but does not show the
size of the storm. Hazardous
conditions can occur outside of
the cone”
“The entire track of the center of
the tropical storm can be
expected to remain within the
cone roughly 60-70% of the
time.”
The further out into the future
you get, the more uncertainty
you are likely to encounter
Uncertainty does not imply
Unpredictability
The answer to WWIBD should be a forecast not
a date
A forecast is a calculation about the future that includes
both a range and a probability of that range occurring.
“Our data as of today shows that we have 85% chance of
finishing these 20 cards until March 25th”
Section II: Forecasts for Single Items
How long does it take for you to go to work?
● How would we come up with an answer?
How long does it take for you to go to work?
Date Start End
13/01 08:17 08:43
14/01 08:35 09:03
15/01 08:22 08:44
16/01 07:44 08:58
17/01 09:12 09:37
Cycle time
Cycle time is the amount of time it takes for work to
complete.
How long does it take for you to go to work?
Date Start End Cycle Time (minutes)
13/01 08:17 08:43 26
14/01 08:35 09:03 28
15/01 08:22 08:44 22
16/01 07:44 08:58 74
17/01 09:12 09:37 25
Work item forecasting
“For the purposes of work item forecasting, if you track
nothing else, track these two things: the timestamp for
when work begins on an item and the timestamp for
when work finishes on an item.”
50th percentile: 8 days
95th percentile: 44 days
85th percentile: 22 days
Why scatterplots are cool?
● No advanced maths required: just count dots
● It is not influenced by outliers (unlike averages)
● Percentiles are forecasts!
From the scatterplot we saw, we know that we have 85% of chance to find a single work item in 43 days
or less.
A few things to consider
● Choose past data wisely: team size changes, project phase (S-curve), holidays..but do not
overcomplicate it either
● Remember to re-forecast often (many teams just do it at project start)
● Or even better, be explicit “this forecast is valid until DD/MM/YYYY”
How to improve forecasts for single items?
● How to get the percentile lines “closer together” i.e. more accurate?
● ..And why should we care about making more accurate forecasts?
How to improve forecasts for single items?
● How to get the percentile lines “closer together” i.e. more accurate?
● ..And why should we care about making more accurate forecasts?
the practices that will improve your predictions will also to improve
the health and efficiency of your process overall.
● Less stress
● Less “crunch time”
● Happier customers
How to improve forecasts for single items?
“The single most important thing that you can do to
improve single item forecasts is be proactive about how
long it takes for items to complete.”
Become aware of “Item Age”
Example: for an item above 50th percentile
● What have we found out about this item that might require us to take action on it?
● Do we need to swarm on it?
● Do we need to break it up?
● Do we need to escalate the removal of a blocker?
● When we first pulled the work item into our process it had a 15% chance of violating its forecast
(by definition).
● Now that the item has hit the 50th percentile, the chance of it violating its forecast has doubled
from 15% to 30%.
Why we don’t want an item to ever hit the 85th
percentile?
Why we don’t want an item to ever hit the 85th
percentile?
Why we don’t want an item to ever hit the 85th
percentile?
What to do?
● During daily meetings, have a look at the age of the work items, especially those going beyond the
50th percentile (and improved version of the “right to left” principle)
● Focus on flow efficiency (as opposed to ask people to “type faster”)
Flow efficiency = Active time/Total time
● Our current flow efficiency is around 49%
● If we increased it to 75% by focusing on queue time, our 85th percentile would go from 22 days to
around 14 days. Just by reducing wait time, not speeding up how we code
Histograms
What histogram show us
● Cycle time distribution is not a normal distribution, it has a long tail
● Most statistical methods are for normal distributions, so they’re useless for answering WWIBD
● By improving flow, we reduce the “tail” and therefore improve predictability
● Therefore, comparing histograms over time are very useful to measure process improvements
Section III: Forecasts for multiple items
How agile people usually do
● CEO: When will it be done?
● Agile dude: Easy! We have 50 cards to do, we’re doing 10 per week, so it will take 5 weeks!
● CEO: Awesome! I’ll schedule the demo to 5 weeks from now, for the whole company
● Agile dude: (f*ck.. I’ll tell the team that the CEO twisted my arm and came up with this date)
Nerd time: The Manhattan Project and MCS
How to do MCS with our data
How to perform MCS
Monte Carlo methods vary, but in general, they tend to follow a typical pattern:
1. Define a probability distribution of possible inputs
2. Randomly select values from the input distribution and perform a computation on the selected
inputs
3. Repeat steps 1-2 an arbitrary number of times and aggregate the results (usually by employing a
Histogram)
4. Repeat steps 1-3 an arbitrary number of times until you have a clear picture of what the result set
looks like.
Histogram produced from MCS
Histogram produced from MCS
Section IV: How to know you can trust your
forecasts
● Limit WIP to ensure that the arrival rate is close to the finishing rate
● Ensure every item that is started is eventually finished (do not delete or put it back to “to-do”)
● Do not let items age unnecessarily
● Update the board daily to get more realistic data (garbage in, garbage out)
Lots of stuff about Little’s Law and CFDs
Too nerdy for a summary
CFD: Cumulative Flow Diagram
CFD: Cummulative Flow Diagrams
Little’s Law
Little’s Law
How to improve predictability
● Standups for predictability: focus on queue time and item age
● Retrospectives for predictability: focus on scatterplot and histogram evolution. Are we reducing
our 85th percentile for cycle time? How is our average cycle time evolving?
Key takeaways
1. If you need to track one thing, track the date that each item starts and finishes
2. The answer to WWIBD is a forecast
3. Single items forecasts are done via cycle time
4. Multiple items forecasts are done via Monte Carlo Simulations
5. To be able to make good forecasts you need to run kanban well (WIP limit, ensure every item
enters and leaves, update the board often)
Want to read the book or see more?
Actionable Metrics for Predictability –
Daniel Vacanti at LKCE15
Check the book

Weitere ähnliche Inhalte

Was ist angesagt?

Agile Metrics: Value, Flow, Quality, Culture
Agile Metrics: Value, Flow, Quality, CultureAgile Metrics: Value, Flow, Quality, Culture
Agile Metrics: Value, Flow, Quality, CultureBrad Appleton
 
Top 10 Agile Metrics
Top 10 Agile MetricsTop 10 Agile Metrics
Top 10 Agile MetricsXBOSoft
 
Agile Mindset For Executives
Agile Mindset For ExecutivesAgile Mindset For Executives
Agile Mindset For ExecutivesMichael Tarnowski
 
Metrics for Agile Teams Forget Velocity: 42 Other Things to Ponder
Metrics for Agile Teams Forget Velocity: 42 Other Things to PonderMetrics for Agile Teams Forget Velocity: 42 Other Things to Ponder
Metrics for Agile Teams Forget Velocity: 42 Other Things to PonderAndy Cleff
 
Scrum 101
Scrum 101Scrum 101
Scrum 101beLithe
 
Building Your SAFe Implementation Strategy
Building Your SAFe Implementation StrategyBuilding Your SAFe Implementation Strategy
Building Your SAFe Implementation StrategyAlex Yakyma
 
Agile Executive Briefing - Situational Assessment + 50k Ft View
Agile Executive Briefing - Situational Assessment + 50k Ft ViewAgile Executive Briefing - Situational Assessment + 50k Ft View
Agile Executive Briefing - Situational Assessment + 50k Ft ViewMichael Sahota
 
Lean Agile Center of Excellence - Agile2017 Talk
Lean Agile Center of Excellence - Agile2017 TalkLean Agile Center of Excellence - Agile2017 Talk
Lean Agile Center of Excellence - Agile2017 TalkDeema Dajani
 
Agile Transformation in Telco Guide
Agile Transformation in Telco GuideAgile Transformation in Telco Guide
Agile Transformation in Telco GuideACM
 
Validating Delivered Business Value – Going Beyond “Actual Business Value”
Validating Delivered Business Value – Going Beyond “Actual Business Value”Validating Delivered Business Value – Going Beyond “Actual Business Value”
Validating Delivered Business Value – Going Beyond “Actual Business Value”Yuval Yeret
 
Beyond the Scrum Master - Becoming an Agile Coach
Beyond the Scrum Master - Becoming an Agile CoachBeyond the Scrum Master - Becoming an Agile Coach
Beyond the Scrum Master - Becoming an Agile CoachCprime
 
Agiles Zielmanagement und modernes Leadership mit Objectives und Key Results ...
Agiles Zielmanagement und modernes Leadership mit Objectives und Key Results ...Agiles Zielmanagement und modernes Leadership mit Objectives und Key Results ...
Agiles Zielmanagement und modernes Leadership mit Objectives und Key Results ...die.agilen GmbH
 
Scrum In Ten Slides (v2.0) 2018
Scrum In Ten Slides (v2.0) 2018Scrum In Ten Slides (v2.0) 2018
Scrum In Ten Slides (v2.0) 2018pmengal
 
Henrik Kniberg: Lean from the Trenches keynote @ AgileEE
Henrik Kniberg: Lean from the Trenches keynote @ AgileEEHenrik Kniberg: Lean from the Trenches keynote @ AgileEE
Henrik Kniberg: Lean from the Trenches keynote @ AgileEEAgileee
 
The Agile Adoption Roadmap (Keynote by Tim Abbott)
The Agile Adoption Roadmap  (Keynote by Tim Abbott)The Agile Adoption Roadmap  (Keynote by Tim Abbott)
The Agile Adoption Roadmap (Keynote by Tim Abbott)Agile Days Middle East
 
Scaled Agile Framework® and Objective Key Results
Scaled Agile Framework® and Objective Key ResultsScaled Agile Framework® and Objective Key Results
Scaled Agile Framework® and Objective Key ResultsScaled Innovation
 

Was ist angesagt? (20)

Agile Metrics: Value, Flow, Quality, Culture
Agile Metrics: Value, Flow, Quality, CultureAgile Metrics: Value, Flow, Quality, Culture
Agile Metrics: Value, Flow, Quality, Culture
 
Top 10 Agile Metrics
Top 10 Agile MetricsTop 10 Agile Metrics
Top 10 Agile Metrics
 
Agile Mindset For Executives
Agile Mindset For ExecutivesAgile Mindset For Executives
Agile Mindset For Executives
 
Agile 101
Agile 101Agile 101
Agile 101
 
Metrics for Agile Teams Forget Velocity: 42 Other Things to Ponder
Metrics for Agile Teams Forget Velocity: 42 Other Things to PonderMetrics for Agile Teams Forget Velocity: 42 Other Things to Ponder
Metrics for Agile Teams Forget Velocity: 42 Other Things to Ponder
 
Scrum 101
Scrum 101Scrum 101
Scrum 101
 
Building Your SAFe Implementation Strategy
Building Your SAFe Implementation StrategyBuilding Your SAFe Implementation Strategy
Building Your SAFe Implementation Strategy
 
Agile Mindset Shifting: Agile For All
Agile Mindset Shifting: Agile For AllAgile Mindset Shifting: Agile For All
Agile Mindset Shifting: Agile For All
 
Agile Executive Briefing - Situational Assessment + 50k Ft View
Agile Executive Briefing - Situational Assessment + 50k Ft ViewAgile Executive Briefing - Situational Assessment + 50k Ft View
Agile Executive Briefing - Situational Assessment + 50k Ft View
 
Lean Agile Center of Excellence - Agile2017 Talk
Lean Agile Center of Excellence - Agile2017 TalkLean Agile Center of Excellence - Agile2017 Talk
Lean Agile Center of Excellence - Agile2017 Talk
 
Agile Transformation in Telco Guide
Agile Transformation in Telco GuideAgile Transformation in Telco Guide
Agile Transformation in Telco Guide
 
Agile Transformation at Scale
Agile Transformation at ScaleAgile Transformation at Scale
Agile Transformation at Scale
 
Validating Delivered Business Value – Going Beyond “Actual Business Value”
Validating Delivered Business Value – Going Beyond “Actual Business Value”Validating Delivered Business Value – Going Beyond “Actual Business Value”
Validating Delivered Business Value – Going Beyond “Actual Business Value”
 
Beyond the Scrum Master - Becoming an Agile Coach
Beyond the Scrum Master - Becoming an Agile CoachBeyond the Scrum Master - Becoming an Agile Coach
Beyond the Scrum Master - Becoming an Agile Coach
 
Introduction to Scrum
Introduction to ScrumIntroduction to Scrum
Introduction to Scrum
 
Agiles Zielmanagement und modernes Leadership mit Objectives und Key Results ...
Agiles Zielmanagement und modernes Leadership mit Objectives und Key Results ...Agiles Zielmanagement und modernes Leadership mit Objectives und Key Results ...
Agiles Zielmanagement und modernes Leadership mit Objectives und Key Results ...
 
Scrum In Ten Slides (v2.0) 2018
Scrum In Ten Slides (v2.0) 2018Scrum In Ten Slides (v2.0) 2018
Scrum In Ten Slides (v2.0) 2018
 
Henrik Kniberg: Lean from the Trenches keynote @ AgileEE
Henrik Kniberg: Lean from the Trenches keynote @ AgileEEHenrik Kniberg: Lean from the Trenches keynote @ AgileEE
Henrik Kniberg: Lean from the Trenches keynote @ AgileEE
 
The Agile Adoption Roadmap (Keynote by Tim Abbott)
The Agile Adoption Roadmap  (Keynote by Tim Abbott)The Agile Adoption Roadmap  (Keynote by Tim Abbott)
The Agile Adoption Roadmap (Keynote by Tim Abbott)
 
Scaled Agile Framework® and Objective Key Results
Scaled Agile Framework® and Objective Key ResultsScaled Agile Framework® and Objective Key Results
Scaled Agile Framework® and Objective Key Results
 

Ähnlich wie When will it be done? (Lean Agile Forecasting)

The agile forecast joe tristano southern fried agile 2018_ final
The agile forecast joe tristano  southern fried agile 2018_ finalThe agile forecast joe tristano  southern fried agile 2018_ final
The agile forecast joe tristano southern fried agile 2018_ finalJoe Tristano
 
Planning for Uncertainty
Planning for UncertaintyPlanning for Uncertainty
Planning for UncertaintyMarcin Czenko
 
Kanban Agile.pptx
Kanban Agile.pptxKanban Agile.pptx
Kanban Agile.pptxuhcougar1
 
Data skills for Agile Teams- Killing story points
Data skills for Agile Teams- Killing story pointsData skills for Agile Teams- Killing story points
Data skills for Agile Teams- Killing story pointsyasinnathani
 
D Prior Scrum In The Waterfall
D Prior Scrum In The WaterfallD Prior Scrum In The Waterfall
D Prior Scrum In The WaterfallBrad91364
 
Measuring for team effectiveness (NEW)
Measuring for team effectiveness (NEW)Measuring for team effectiveness (NEW)
Measuring for team effectiveness (NEW)Mark Barber
 
Rejuvenating Agile Operations By Putting Lead And Cycle Time Front And Centre.
Rejuvenating Agile Operations By Putting Lead And Cycle Time Front And Centre.Rejuvenating Agile Operations By Putting Lead And Cycle Time Front And Centre.
Rejuvenating Agile Operations By Putting Lead And Cycle Time Front And Centre.Zan Kavtaskin
 
Scrum and-xp-from-the-trenches 01 intro & backlog
Scrum and-xp-from-the-trenches 01 intro & backlogScrum and-xp-from-the-trenches 01 intro & backlog
Scrum and-xp-from-the-trenches 01 intro & backlogHossam Hassan
 
Chapter 5,6,7 (group 1 project man)
Chapter 5,6,7 (group 1 project man)Chapter 5,6,7 (group 1 project man)
Chapter 5,6,7 (group 1 project man)Arvin Dela Cruz
 
5W2H Implementation Project.pptx
5W2H Implementation Project.pptx5W2H Implementation Project.pptx
5W2H Implementation Project.pptxDhawandeepSoni
 
Scrum and-xp-from-the-trenches 05 release planning & scrum with xp
Scrum and-xp-from-the-trenches 05 release planning & scrum with xpScrum and-xp-from-the-trenches 05 release planning & scrum with xp
Scrum and-xp-from-the-trenches 05 release planning & scrum with xpHossam Hassan
 
Estimations, Expectations, and Evolution During a Project's Journey from RFP ...
Estimations, Expectations, and Evolution During a Project's Journey from RFP ...Estimations, Expectations, and Evolution During a Project's Journey from RFP ...
Estimations, Expectations, and Evolution During a Project's Journey from RFP ...Rick Manelius
 
Scrum and-xp-from-the-trenches 02 sprint planning
Scrum and-xp-from-the-trenches 02 sprint planningScrum and-xp-from-the-trenches 02 sprint planning
Scrum and-xp-from-the-trenches 02 sprint planningHossam Hassan
 
[Guide] How to create a realistic project schedule
[Guide] How to create a realistic project schedule[Guide] How to create a realistic project schedule
[Guide] How to create a realistic project scheduleDmitriy Nizhebetskiy
 
Story points vs hours choose wisely; turn the bane of project estimation into...
Story points vs hours choose wisely; turn the bane of project estimation into...Story points vs hours choose wisely; turn the bane of project estimation into...
Story points vs hours choose wisely; turn the bane of project estimation into...Katy Slemon
 
Agile Network India | Guesstimating the timeline for backlog items
Agile Network India | Guesstimating the timeline for backlog itemsAgile Network India | Guesstimating the timeline for backlog items
Agile Network India | Guesstimating the timeline for backlog itemsAgileNetwork
 
Agile Network India | Guesstimating the timeline for backlog items | Amit Med...
Agile Network India | Guesstimating the timeline for backlog items | Amit Med...Agile Network India | Guesstimating the timeline for backlog items | Amit Med...
Agile Network India | Guesstimating the timeline for backlog items | Amit Med...AgileNetwork
 

Ähnlich wie When will it be done? (Lean Agile Forecasting) (20)

The agile forecast joe tristano southern fried agile 2018_ final
The agile forecast joe tristano  southern fried agile 2018_ finalThe agile forecast joe tristano  southern fried agile 2018_ final
The agile forecast joe tristano southern fried agile 2018_ final
 
Planning for Uncertainty
Planning for UncertaintyPlanning for Uncertainty
Planning for Uncertainty
 
Kanban Agile.pptx
Kanban Agile.pptxKanban Agile.pptx
Kanban Agile.pptx
 
Data skills for Agile Teams- Killing story points
Data skills for Agile Teams- Killing story pointsData skills for Agile Teams- Killing story points
Data skills for Agile Teams- Killing story points
 
D Prior Scrum In The Waterfall
D Prior Scrum In The WaterfallD Prior Scrum In The Waterfall
D Prior Scrum In The Waterfall
 
Measuring for team effectiveness (NEW)
Measuring for team effectiveness (NEW)Measuring for team effectiveness (NEW)
Measuring for team effectiveness (NEW)
 
Rejuvenating Agile Operations By Putting Lead And Cycle Time Front And Centre.
Rejuvenating Agile Operations By Putting Lead And Cycle Time Front And Centre.Rejuvenating Agile Operations By Putting Lead And Cycle Time Front And Centre.
Rejuvenating Agile Operations By Putting Lead And Cycle Time Front And Centre.
 
Scrum and-xp-from-the-trenches 01 intro & backlog
Scrum and-xp-from-the-trenches 01 intro & backlogScrum and-xp-from-the-trenches 01 intro & backlog
Scrum and-xp-from-the-trenches 01 intro & backlog
 
Chapter 5,6,7 (group 1 project man)
Chapter 5,6,7 (group 1 project man)Chapter 5,6,7 (group 1 project man)
Chapter 5,6,7 (group 1 project man)
 
5W2H Implementation Project.pptx
5W2H Implementation Project.pptx5W2H Implementation Project.pptx
5W2H Implementation Project.pptx
 
StangaOne1_A_Guide_for_Everyone
StangaOne1_A_Guide_for_EveryoneStangaOne1_A_Guide_for_Everyone
StangaOne1_A_Guide_for_Everyone
 
Scrum and-xp-from-the-trenches 05 release planning & scrum with xp
Scrum and-xp-from-the-trenches 05 release planning & scrum with xpScrum and-xp-from-the-trenches 05 release planning & scrum with xp
Scrum and-xp-from-the-trenches 05 release planning & scrum with xp
 
Estimations, Expectations, and Evolution During a Project's Journey from RFP ...
Estimations, Expectations, and Evolution During a Project's Journey from RFP ...Estimations, Expectations, and Evolution During a Project's Journey from RFP ...
Estimations, Expectations, and Evolution During a Project's Journey from RFP ...
 
Cost Estimation
Cost EstimationCost Estimation
Cost Estimation
 
Scrum and-xp-from-the-trenches 02 sprint planning
Scrum and-xp-from-the-trenches 02 sprint planningScrum and-xp-from-the-trenches 02 sprint planning
Scrum and-xp-from-the-trenches 02 sprint planning
 
[Guide] How to create a realistic project schedule
[Guide] How to create a realistic project schedule[Guide] How to create a realistic project schedule
[Guide] How to create a realistic project schedule
 
Kanban for ODDS
Kanban for ODDSKanban for ODDS
Kanban for ODDS
 
Story points vs hours choose wisely; turn the bane of project estimation into...
Story points vs hours choose wisely; turn the bane of project estimation into...Story points vs hours choose wisely; turn the bane of project estimation into...
Story points vs hours choose wisely; turn the bane of project estimation into...
 
Agile Network India | Guesstimating the timeline for backlog items
Agile Network India | Guesstimating the timeline for backlog itemsAgile Network India | Guesstimating the timeline for backlog items
Agile Network India | Guesstimating the timeline for backlog items
 
Agile Network India | Guesstimating the timeline for backlog items | Amit Med...
Agile Network India | Guesstimating the timeline for backlog items | Amit Med...Agile Network India | Guesstimating the timeline for backlog items | Amit Med...
Agile Network India | Guesstimating the timeline for backlog items | Amit Med...
 

Mehr von Rodrigo Vieira

Kanban Method July 2018
Kanban Method July 2018Kanban Method July 2018
Kanban Method July 2018Rodrigo Vieira
 
Output > Input: MVP não precisa de tela de cadastro
Output > Input: MVP não precisa de tela de cadastroOutput > Input: MVP não precisa de tela de cadastro
Output > Input: MVP não precisa de tela de cadastroRodrigo Vieira
 
Menos reunião e mais post-it: Kanban na prática
Menos reunião e mais post-it: Kanban na práticaMenos reunião e mais post-it: Kanban na prática
Menos reunião e mais post-it: Kanban na práticaRodrigo Vieira
 
Curtir uma ideia não basta: aprenda por que o usuário não quer o seu produto
Curtir uma ideia não basta: aprenda por que o usuário não quer o seu produtoCurtir uma ideia não basta: aprenda por que o usuário não quer o seu produto
Curtir uma ideia não basta: aprenda por que o usuário não quer o seu produtoRodrigo Vieira
 
Tutorial Kanban - Python brasil 2016
Tutorial Kanban  - Python brasil 2016Tutorial Kanban  - Python brasil 2016
Tutorial Kanban - Python brasil 2016Rodrigo Vieira
 
Workshop Kanban - julho 2016
Workshop  Kanban - julho 2016Workshop  Kanban - julho 2016
Workshop Kanban - julho 2016Rodrigo Vieira
 
Palestra TDC 2016: 3 Lições que Aprendi em Data Science
Palestra TDC 2016: 3 Lições que Aprendi em Data SciencePalestra TDC 2016: 3 Lições que Aprendi em Data Science
Palestra TDC 2016: 3 Lições que Aprendi em Data ScienceRodrigo Vieira
 
1o Agile Floripa - Fishbowl: Interação UX e PO, quem dá as cartas?
1o Agile Floripa - Fishbowl: Interação UX e PO, quem dá as cartas?1o Agile Floripa - Fishbowl: Interação UX e PO, quem dá as cartas?
1o Agile Floripa - Fishbowl: Interação UX e PO, quem dá as cartas?Rodrigo Vieira
 
De dev para data scientist 3 coisas que aprendi
De dev para data scientist  3 coisas que aprendiDe dev para data scientist  3 coisas que aprendi
De dev para data scientist 3 coisas que aprendiRodrigo Vieira
 
Coding dojo 22_05_2013
Coding dojo 22_05_2013Coding dojo 22_05_2013
Coding dojo 22_05_2013Rodrigo Vieira
 
Javascript não é Java+Script (TDC Floripa 2012)
Javascript não é Java+Script (TDC Floripa 2012)Javascript não é Java+Script (TDC Floripa 2012)
Javascript não é Java+Script (TDC Floripa 2012)Rodrigo Vieira
 
Código limpo e eficiente com JavaScript
Código limpo e eficiente com JavaScriptCódigo limpo e eficiente com JavaScript
Código limpo e eficiente com JavaScriptRodrigo Vieira
 

Mehr von Rodrigo Vieira (13)

Kanban Method July 2018
Kanban Method July 2018Kanban Method July 2018
Kanban Method July 2018
 
Output > Input: MVP não precisa de tela de cadastro
Output > Input: MVP não precisa de tela de cadastroOutput > Input: MVP não precisa de tela de cadastro
Output > Input: MVP não precisa de tela de cadastro
 
Menos reunião e mais post-it: Kanban na prática
Menos reunião e mais post-it: Kanban na práticaMenos reunião e mais post-it: Kanban na prática
Menos reunião e mais post-it: Kanban na prática
 
Curtir uma ideia não basta: aprenda por que o usuário não quer o seu produto
Curtir uma ideia não basta: aprenda por que o usuário não quer o seu produtoCurtir uma ideia não basta: aprenda por que o usuário não quer o seu produto
Curtir uma ideia não basta: aprenda por que o usuário não quer o seu produto
 
Tutorial Kanban - Python brasil 2016
Tutorial Kanban  - Python brasil 2016Tutorial Kanban  - Python brasil 2016
Tutorial Kanban - Python brasil 2016
 
Workshop Kanban - julho 2016
Workshop  Kanban - julho 2016Workshop  Kanban - julho 2016
Workshop Kanban - julho 2016
 
Palestra TDC 2016: 3 Lições que Aprendi em Data Science
Palestra TDC 2016: 3 Lições que Aprendi em Data SciencePalestra TDC 2016: 3 Lições que Aprendi em Data Science
Palestra TDC 2016: 3 Lições que Aprendi em Data Science
 
1o Agile Floripa - Fishbowl: Interação UX e PO, quem dá as cartas?
1o Agile Floripa - Fishbowl: Interação UX e PO, quem dá as cartas?1o Agile Floripa - Fishbowl: Interação UX e PO, quem dá as cartas?
1o Agile Floripa - Fishbowl: Interação UX e PO, quem dá as cartas?
 
De dev para data scientist 3 coisas que aprendi
De dev para data scientist  3 coisas que aprendiDe dev para data scientist  3 coisas que aprendi
De dev para data scientist 3 coisas que aprendi
 
Coding dojo 22_05_2013
Coding dojo 22_05_2013Coding dojo 22_05_2013
Coding dojo 22_05_2013
 
1º coding kata
1º coding kata1º coding kata
1º coding kata
 
Javascript não é Java+Script (TDC Floripa 2012)
Javascript não é Java+Script (TDC Floripa 2012)Javascript não é Java+Script (TDC Floripa 2012)
Javascript não é Java+Script (TDC Floripa 2012)
 
Código limpo e eficiente com JavaScript
Código limpo e eficiente com JavaScriptCódigo limpo e eficiente com JavaScript
Código limpo e eficiente com JavaScript
 

Kürzlich hochgeladen

Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableSeo
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...Aggregage
 
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLWhitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLkapoorjyoti4444
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876dlhescort
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfAdmir Softic
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Centuryrwgiffor
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756dollysharma2066
 
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort ServiceMalegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort ServiceDamini Dixit
 
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al MizharAl Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizharallensay1
 
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876dlhescort
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...amitlee9823
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...amitlee9823
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxWorkforce Group
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...amitlee9823
 
Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...
Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...
Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...lizamodels9
 
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 MonthsSEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 MonthsIndeedSEO
 
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Falcon Invoice Discounting
 

Kürzlich hochgeladen (20)

Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investors
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLWhitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Century
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort ServiceMalegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
 
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al MizharAl Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
 
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
 
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
 
Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...
Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...
Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...
 
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 MonthsSEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
 
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
 

When will it be done? (Lean Agile Forecasting)

  • 1. When will it be done? By Daniel Vacanti
  • 2. Why should you read this book? What is the first question the boss/customer makes when we start a new feature/project? This book shows how the most popular estimating and forecasting techniques used on software develop fail, some better (and simple) ways to make such forecasts, and how to introduce practices in how the team develops software so that forecasts become more reliable. This book also shows that it’s better to let the data help produce forecasts instead of spending time doing estimates with meetings etc “Garbage in, garbage out”: if the process is not predictable, there’s no point making predictions.
  • 3. What’s in it? ● Section I: Forecasting ● Section II: Forecasting for Single Items ● Section III: Forecasting for Multiple Items ● Section IV: How to know if you can trust your forecasts ● Section V: Putting it all together ● Section VI: Case Studies
  • 5. “Note: the cone contains the probable path of the storm center but does not show the size of the storm. Hazardous conditions can occur outside of the cone” “The entire track of the center of the tropical storm can be expected to remain within the cone roughly 60-70% of the time.”
  • 6.
  • 7. The further out into the future you get, the more uncertainty you are likely to encounter Uncertainty does not imply Unpredictability
  • 8.
  • 9. The answer to WWIBD should be a forecast not a date A forecast is a calculation about the future that includes both a range and a probability of that range occurring. “Our data as of today shows that we have 85% chance of finishing these 20 cards until March 25th”
  • 10. Section II: Forecasts for Single Items
  • 11. How long does it take for you to go to work? ● How would we come up with an answer?
  • 12. How long does it take for you to go to work? Date Start End 13/01 08:17 08:43 14/01 08:35 09:03 15/01 08:22 08:44 16/01 07:44 08:58 17/01 09:12 09:37
  • 13. Cycle time Cycle time is the amount of time it takes for work to complete.
  • 14. How long does it take for you to go to work? Date Start End Cycle Time (minutes) 13/01 08:17 08:43 26 14/01 08:35 09:03 28 15/01 08:22 08:44 22 16/01 07:44 08:58 74 17/01 09:12 09:37 25
  • 15. Work item forecasting “For the purposes of work item forecasting, if you track nothing else, track these two things: the timestamp for when work begins on an item and the timestamp for when work finishes on an item.”
  • 16.
  • 17. 50th percentile: 8 days 95th percentile: 44 days 85th percentile: 22 days
  • 18. Why scatterplots are cool? ● No advanced maths required: just count dots ● It is not influenced by outliers (unlike averages) ● Percentiles are forecasts! From the scatterplot we saw, we know that we have 85% of chance to find a single work item in 43 days or less.
  • 19. A few things to consider ● Choose past data wisely: team size changes, project phase (S-curve), holidays..but do not overcomplicate it either ● Remember to re-forecast often (many teams just do it at project start) ● Or even better, be explicit “this forecast is valid until DD/MM/YYYY”
  • 20. How to improve forecasts for single items? ● How to get the percentile lines “closer together” i.e. more accurate? ● ..And why should we care about making more accurate forecasts?
  • 21. How to improve forecasts for single items? ● How to get the percentile lines “closer together” i.e. more accurate? ● ..And why should we care about making more accurate forecasts? the practices that will improve your predictions will also to improve the health and efficiency of your process overall. ● Less stress ● Less “crunch time” ● Happier customers
  • 22. How to improve forecasts for single items? “The single most important thing that you can do to improve single item forecasts is be proactive about how long it takes for items to complete.”
  • 23. Become aware of “Item Age”
  • 24.
  • 25. Example: for an item above 50th percentile ● What have we found out about this item that might require us to take action on it? ● Do we need to swarm on it? ● Do we need to break it up? ● Do we need to escalate the removal of a blocker? ● When we first pulled the work item into our process it had a 15% chance of violating its forecast (by definition). ● Now that the item has hit the 50th percentile, the chance of it violating its forecast has doubled from 15% to 30%.
  • 26. Why we don’t want an item to ever hit the 85th percentile?
  • 27. Why we don’t want an item to ever hit the 85th percentile?
  • 28. Why we don’t want an item to ever hit the 85th percentile?
  • 29. What to do? ● During daily meetings, have a look at the age of the work items, especially those going beyond the 50th percentile (and improved version of the “right to left” principle) ● Focus on flow efficiency (as opposed to ask people to “type faster”) Flow efficiency = Active time/Total time ● Our current flow efficiency is around 49% ● If we increased it to 75% by focusing on queue time, our 85th percentile would go from 22 days to around 14 days. Just by reducing wait time, not speeding up how we code
  • 31. What histogram show us ● Cycle time distribution is not a normal distribution, it has a long tail ● Most statistical methods are for normal distributions, so they’re useless for answering WWIBD ● By improving flow, we reduce the “tail” and therefore improve predictability ● Therefore, comparing histograms over time are very useful to measure process improvements
  • 32. Section III: Forecasts for multiple items
  • 33. How agile people usually do ● CEO: When will it be done? ● Agile dude: Easy! We have 50 cards to do, we’re doing 10 per week, so it will take 5 weeks! ● CEO: Awesome! I’ll schedule the demo to 5 weeks from now, for the whole company ● Agile dude: (f*ck.. I’ll tell the team that the CEO twisted my arm and came up with this date)
  • 34. Nerd time: The Manhattan Project and MCS
  • 35. How to do MCS with our data
  • 36. How to perform MCS Monte Carlo methods vary, but in general, they tend to follow a typical pattern: 1. Define a probability distribution of possible inputs 2. Randomly select values from the input distribution and perform a computation on the selected inputs 3. Repeat steps 1-2 an arbitrary number of times and aggregate the results (usually by employing a Histogram) 4. Repeat steps 1-3 an arbitrary number of times until you have a clear picture of what the result set looks like.
  • 39. Section IV: How to know you can trust your forecasts ● Limit WIP to ensure that the arrival rate is close to the finishing rate ● Ensure every item that is started is eventually finished (do not delete or put it back to “to-do”) ● Do not let items age unnecessarily ● Update the board daily to get more realistic data (garbage in, garbage out)
  • 40. Lots of stuff about Little’s Law and CFDs Too nerdy for a summary
  • 45. How to improve predictability ● Standups for predictability: focus on queue time and item age ● Retrospectives for predictability: focus on scatterplot and histogram evolution. Are we reducing our 85th percentile for cycle time? How is our average cycle time evolving?
  • 46. Key takeaways 1. If you need to track one thing, track the date that each item starts and finishes 2. The answer to WWIBD is a forecast 3. Single items forecasts are done via cycle time 4. Multiple items forecasts are done via Monte Carlo Simulations 5. To be able to make good forecasts you need to run kanban well (WIP limit, ensure every item enters and leaves, update the board often)
  • 47. Want to read the book or see more? Actionable Metrics for Predictability – Daniel Vacanti at LKCE15 Check the book

Hinweis der Redaktion

  1. It looks pretty random? it ‘s because it is! When a card starts, where will it end? We dont know!
  2. 50th percentile..it’s the average. That’s what we usually use for estimation. Would the custoemr be happy with 50% confidence?