SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

The Principles of product development flow - a summary
The Principles of product development flow - a summary The Principles of product development flow - a summary
The Principles of product development flow - a summary Sebastian Kamilli
 
Agile effort estimation
Agile effort estimation Agile effort estimation
Agile effort estimation Elad Sofer
 
How to estimate in scrum
How to estimate in scrumHow to estimate in scrum
How to estimate in scrumGloria Stoilova
 
What is the best way to measure progress on an Agile project?
What is the best way to measure progress on an Agile project?What is the best way to measure progress on an Agile project?
What is the best way to measure progress on an Agile project?Thoughtworks
 
Intro to Agile Portfolio Governance Presentation
Intro to Agile Portfolio Governance Presentation  Intro to Agile Portfolio Governance Presentation
Intro to Agile Portfolio Governance Presentation Cprime
 
Agile estimating 12112013 - Agile KC Dec 2013
Agile estimating 12112013 - Agile KC Dec 2013Agile estimating 12112013 - Agile KC Dec 2013
Agile estimating 12112013 - Agile KC Dec 2013molsonkc
 
Agile Maturity Assessments
Agile Maturity AssessmentsAgile Maturity Assessments
Agile Maturity AssessmentsDavid Hanson
 
Agile Estimation & Capacity Planning
Agile Estimation & Capacity PlanningAgile Estimation & Capacity Planning
Agile Estimation & Capacity PlanningMazhar Khan
 
Agile transformation 1.3
Agile transformation 1.3Agile transformation 1.3
Agile transformation 1.3Krystian Kaczor
 
Flow Metrics: What They Are & Why You Need Them
Flow Metrics: What They Are & Why You Need ThemFlow Metrics: What They Are & Why You Need Them
Flow Metrics: What They Are & Why You Need ThemTasktop
 
Lightning Talk: Meaningfully Reframing PI Planning
Lightning Talk: Meaningfully Reframing PI PlanningLightning Talk: Meaningfully Reframing PI Planning
Lightning Talk: Meaningfully Reframing PI PlanningMartin Burns
 
Agile Mindset For Executives
Agile Mindset For ExecutivesAgile Mindset For Executives
Agile Mindset For ExecutivesMichael Tarnowski
 
Cost of delay (WSJF) - Roni Tamari
Cost of delay (WSJF) - Roni TamariCost of delay (WSJF) - Roni Tamari
Cost of delay (WSJF) - Roni TamariAgileSparks
 
Scrum Prioritization Techniques PowerPoint Presentation Slides
Scrum Prioritization Techniques PowerPoint Presentation SlidesScrum Prioritization Techniques PowerPoint Presentation Slides
Scrum Prioritization Techniques PowerPoint Presentation SlidesSlideTeam
 
Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020
Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020
Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020Manuel Pais
 
Agile Metrics...That Matter
Agile Metrics...That MatterAgile Metrics...That Matter
Agile Metrics...That MatterErik Weber
 
The Synergistic Nature of PI Objectives
The Synergistic Nature of PI ObjectivesThe Synergistic Nature of PI Objectives
The Synergistic Nature of PI ObjectivesCharlene Cuenca
 

Tendances (20)

The Principles of product development flow - a summary
The Principles of product development flow - a summary The Principles of product development flow - a summary
The Principles of product development flow - a summary
 
Agile effort estimation
Agile effort estimation Agile effort estimation
Agile effort estimation
 
How to estimate in scrum
How to estimate in scrumHow to estimate in scrum
How to estimate in scrum
 
What is the best way to measure progress on an Agile project?
What is the best way to measure progress on an Agile project?What is the best way to measure progress on an Agile project?
What is the best way to measure progress on an Agile project?
 
Intro to Agile Portfolio Governance Presentation
Intro to Agile Portfolio Governance Presentation  Intro to Agile Portfolio Governance Presentation
Intro to Agile Portfolio Governance Presentation
 
Implementing Scrum with Kanban
Implementing Scrum with KanbanImplementing Scrum with Kanban
Implementing Scrum with Kanban
 
Agile estimating 12112013 - Agile KC Dec 2013
Agile estimating 12112013 - Agile KC Dec 2013Agile estimating 12112013 - Agile KC Dec 2013
Agile estimating 12112013 - Agile KC Dec 2013
 
Agile estimation
Agile estimationAgile estimation
Agile estimation
 
Agile Maturity Assessments
Agile Maturity AssessmentsAgile Maturity Assessments
Agile Maturity Assessments
 
Agile Estimation & Capacity Planning
Agile Estimation & Capacity PlanningAgile Estimation & Capacity Planning
Agile Estimation & Capacity Planning
 
Agile transformation 1.3
Agile transformation 1.3Agile transformation 1.3
Agile transformation 1.3
 
Flow Metrics: What They Are & Why You Need Them
Flow Metrics: What They Are & Why You Need ThemFlow Metrics: What They Are & Why You Need Them
Flow Metrics: What They Are & Why You Need Them
 
Lightning Talk: Meaningfully Reframing PI Planning
Lightning Talk: Meaningfully Reframing PI PlanningLightning Talk: Meaningfully Reframing PI Planning
Lightning Talk: Meaningfully Reframing PI Planning
 
Agile Mindset For Executives
Agile Mindset For ExecutivesAgile Mindset For Executives
Agile Mindset For Executives
 
Cost of delay (WSJF) - Roni Tamari
Cost of delay (WSJF) - Roni TamariCost of delay (WSJF) - Roni Tamari
Cost of delay (WSJF) - Roni Tamari
 
Agile Scrum Estimation
Agile   Scrum EstimationAgile   Scrum Estimation
Agile Scrum Estimation
 
Scrum Prioritization Techniques PowerPoint Presentation Slides
Scrum Prioritization Techniques PowerPoint Presentation SlidesScrum Prioritization Techniques PowerPoint Presentation Slides
Scrum Prioritization Techniques PowerPoint Presentation Slides
 
Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020
Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020
Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020
 
Agile Metrics...That Matter
Agile Metrics...That MatterAgile Metrics...That Matter
Agile Metrics...That Matter
 
The Synergistic Nature of PI Objectives
The Synergistic Nature of PI ObjectivesThe Synergistic Nature of PI Objectives
The Synergistic Nature of PI Objectives
 

Similaire à 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
 

Similaire à 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...
 

Plus de 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
 

Plus de 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
 

Dernier

Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailAriel592675
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Pereraictsugar
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024christinemoorman
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCRashishs7044
 
Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Seta Wicaksana
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607dollysharma2066
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCRashishs7044
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...ictsugar
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessSeta Wicaksana
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03DallasHaselhorst
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis UsageNeil Kimberley
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfpollardmorgan
 
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaoncallgirls2057
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCRashishs7044
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfJos Voskuil
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607dollysharma2066
 

Dernier (20)

Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detail
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Perera
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024
 
Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR
 
Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful Business
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
 
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdf
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
 

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

Notes de l'éditeur

  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?