© 2010 Proyectalis Gestión de Proyectos S.L.
Agile & Scrum
Barcelona, November 2011
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Ángel [email protected]
@angel_m
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
© 2010 Proyectalis Gestión de Proyectos S.L.
© 2010 Proyectalis Gestión de Proyectos S.L.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Nice to meet you!
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Some Ground Rules
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
* * *
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
"What" ain't no country I ever heard of! They speak English in "What"?
Speak English (and help me do so!)
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Principles, Rules, Opinions…
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Open Mind
© 2010 Proyectalis Gestión de Proyectos S.L.
Don’t Kill the Messenger!
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Take some notes
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Mmmmm… Lunch time…
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
© 2010 Proyectalis Gestión de Proyectos S.L.
Exercise: Scrum Ball
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Enough for a start…
© 2010 Proyectalis Gestión de Proyectos S.L.
Project Management
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
A tale of two states
Statewide Automated Child Welfare Information System (SACWIS)
Florida: started 1990, forecasted 8 years, $32M
2002: $170M spent, deadline estimates 2005, cumulative cost $230M
Source: Jim Johnson, Standish Group President, as quoted in “Lean Software Development,” , Mary&Tom Poppendieck
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Standish Group
68% project challenge / fail rate
64% functionalities never used
59¢ value for every $ of software
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Developers everywhere are in terrible pain
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Vicious cycle
Low quality
Hurry
Errors
Interruptions
Low productivity
Late
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Vicious cycle
Low quality
Hurry
Errors
Interruptions
Low productivity
Late
Unhappy customers
Lower profits
Higher costs
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Vicious cycle
Low quality
Hurry
Errors
Interruptions
Low productivity
Late
Unhappy customers
No training
Lower profits
Higher costs
Lack of skills
Demotivation
Pressure
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Meanwhile, in Minessota
Essentially the same system, same functionality, started in 1999
Finished at the beginning of 2000, costs $1.1M
Source: Jim Johnson, Standish Group President, as quoted in “Lean Software Development,” , Mary&Tom Poppendieck
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Is luck the whole story?
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Rule Set
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
First Rule
Good, Cute, Cheap…Choose any two!
?
Time Scope
Resources
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Project Buffers
Measure buffer consumption velocity Work against the average (not accuracy) Avoid hidden “padding” or wild sandbagging
Buffer
80% project done
60% buffer used
Min T Max T
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Traditional vs. Agile
Fixed
Estimate
Scope
Scope
Cost Time
Cost Time
Plan oriented
Value oriented
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Change is the only constant
Second rule
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Uncertainty cone
(Tip: estimate here )
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Uncertainty cone
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Uncertainty
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Estimation is not THIS: Probability
Estimation Value
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Estimation is not even THIS: Probability
Estimation Value
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Estimation is THIS: Probability
Estimation Value
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Accuracy vs. effort
Good enough!
Accuracy
Estimation effort
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Accuracy vs. effort
Good enough!
50-70% accuracy
100% accuracy Accuracy
Estimation effort
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Gedanken: the perfect P.O.
…..
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
…..
Gedanken: the perfect P.O.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
…..
Gedanken: the perfect P.O.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
…..
Gedanken: the perfect P.O.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Histogram
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Histogram Average
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Histogram
95% SLA
80% SLA
Average
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Different kind of stories
T-Shirt size XS – 2 days S – 4 days M – 9 days L – 15 days XL – 22 days
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
It is complex (maybe impossible) to give a perfect up-front design for a software system
Third Rule
Req
uire
men
ts
Technology
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Software is not THIS:
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Software is THIS:
© 2010 Proyectalis Gestión de Proyectos S.L.
Agile
© 2010 Proyectalis Gestión de Proyectos S.L.
Exercise: human circle
© 2010 Proyectalis Gestión de Proyectos S.L.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Principios: Our highest priority is to satisfy the customer through early and continuous
delivery of valuable software. Welcome changing requirements, even late in development. Agile processes
harness change for the customer's competitive advantage. Deliver working software frequently, from a couple of weeks to a couple of
months, with a preference to the shorter timescale.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Principios: Business people and developers must work together daily throughout the
project. Build projects around motivated individuals. Give them the environment
and support they need, and trust them to get the job done. The most efficient and effective method of conveying information to and
within a development team is face-to-face conversation.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Principios: Working software is the primary measure of progress. Agile processes promote sustainable development. The sponsors,
developers, and users should be able to maintain a constant pace indefinitely.
Continuous attention to technical excellence and good design enhances agility.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Principios: Simplicity--the art of maximizing the amount of work not done--is essential. The best architectures, requirements, and designs emerge from self-
organizing teams. At regular intervals, the team reflects on how to become more effective, then
tunes and adjusts its behavior accordingly.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Agile101
Estimate
Ouch!
Estimate
Replan R1.0 ¿R2.0?
BV
t
R1.0 ¿R2.0?
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Agile101
Estimate
Ouch!
Estimate
Replan R1.0 ¿R2.0?
BV
t
R1.0 ¿R2.0?
- Self-organized, Motivated team - Working on a sustainable pace - Collaborates with customer and business people daily - Communicates face to face - Strives for technical excellence - Reflects on how to improve, eliminates waste
© 2010 Proyectalis Gestión de Proyectos S.L.
Values
Principles
Processes
Roles
Tools
Artifacts
Practices
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
5thAnnual ”State of Agile Development” Survey, 2010
Challenges:
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
5thAnnual ”State of Agile Development” Survey, 2010
© 2010 Proyectalis Gestión de Proyectos S.L.
Scrum
© 2010 Proyectalis Gestión de Proyectos S.L.
The name:
© 2010 Proyectalis Gestión de Proyectos S.L.
Some folks doing Scrum
© 2010 Proyectalis Gestión de Proyectos S.L.
What Scrum is NOT
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Scrum 101
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Agile101
Estimate
Ouch!
Estimate
Replan R1.0 ¿R2.0?
BV
t
R1.0 ¿R2.0?
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Scrum 101
Product Owner
Team
Scrum Master
Product Backlog
Sprint Backlog
Stakeholders
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Organizational Anti-Pattern
? ? ?
?
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Scrum 101
Product Owner Team
Scrum Master
Product Backlog
Sprint Backlog
Stakeholders
?
© 2010 Proyectalis Gestión de Proyectos S.L.
Scrum structure / same product
?
?
?
? ?
© 2010 Proyectalis Gestión de Proyectos S.L.
Scrum structure / same product
?
?
?
? ?
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Agile Hyper-specialists?
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Skills Matrix
© 2010 Proyectalis Gestión de Proyectos S.L.
Scrum structure / same product
?
?
?
? ?
?
© 2010 Proyectalis Gestión de Proyectos S.L.
Organizational anti-pattern
? ?
© 2010 Proyectalis Gestión de Proyectos S.L.
Scrum structure / several products - clients
?
?
?
? ?
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Communities of practice
?
?
?
? ?
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Communities of practice
?
?
?
? ?
© 2010 Proyectalis Gestión de Proyectos S.L.
The framework:
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Our 10 rules for healthy Scrum 1. Individuals 2. Not a silver bullet 3. Retrospect, retrospect, retrospect 4. Daily Scrum, Daily control 5. Working software is our measure of
progress 6. Self-organizing self-committing
teams: Scrum Master is not a boss, but a team’s servant
7. Iterative and incremental development
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
8) “Done, done”
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
9) “Orcs at the gates”
?
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
9) “Orcs at the gates”
?
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
10) “The Muffins Oven”
?
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
!!
?
!! +3
10) “The Muffins Oven”
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
?
Options: Queue the cake (can affect
value delivery) Delay red muffins and use
that space for the cake (equal clients)
Put the cake first (priority client, delays the whole muffin portfolio)
Have spare capacity for cakes (Scrumban)
Drop quality, build technical debt, ask for overtime (not Agile)
© 2010 Proyectalis Gestión de Proyectos S.L.
This ten commandments are bound by a Supreme Command:
¡Time Boxing!
© 2010 Proyectalis Gestión de Proyectos S.L.
Agile Planning
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Exercise: burning man project
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project
?= 12.000 Scrum$ / sprint ~20 work units / sprint
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project
?= 12.000 Scrum$ / sprint ~20 work units / sprint
…..
120 work units (~72.000s$)
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project
?= 12.000 Scrum$ / sprint ~20 work units / sprint
…..
120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project
Estimated Real Left Should be Deviation
20 18 102 100 -2
?= 12.000 Scrum$ / sprint ~20 work units / sprint
…..
120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project
Estimated Real Left Should be Deviation
20 18 102 100 -2
22 15 (-5) 92 80 -12
?= 12.000 Scrum$ / sprint ~20 work units / sprint
…..
120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project
Estimated Real Left Should be Deviation
20 18 102 100 -2
22 15 (-5) 92 80 -12
25 20 72 60 -12
?= 12.000 Scrum$ / sprint ~20 work units / sprint
…..
120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project Estimated Real Left Should be Deviation
20 18 102 100 -2
22 15 (-5) 92 80 -12
25 20 72 60 -12
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project Estimated Real Left Should be Deviation
20 18 102 100 -2
22 15 (-5) 92 80 -12
25 20 72 60 -12
Delay: 0 days V=24 S$=0
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project Estimated Real Left Should be Deviation
20 18 102 100 -2
22 15 (-5) 92 80 -12
25 20 72 60 -12
Delay: 0 days V=24 S$=0
V=20 Delay=-12 (1/2 sp.)
S$=6.000S$
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project Estimated Real Left Should be Deviation
20 18 102 100 -2
22 15 (-5) 92 80 -12
25 20 72 60 -12
Delay: 0 days V=24 S$=0
V=20 Delay=-12 (1/2 sp.)
S$=6.000S$
V=15 Delay=-27 (2 sp.)
S$=24.000S$
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project Estimated Real Left Should be Deviation
20 18 102 100 -2
22 15 (-5) 92 80 -12
25 20 72 60 -12
Delay: 0 days V=24 S$=0
V=20 Delay=-12 (1/2 sp.)
S$=6.000S$
V=10 OMG!
V=15 Delay=-27 (2 sp.)
S$=24.000S$
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project Estimated Real Left Should be Deviation
20 18 102 100 -2
22 15 (-5) 92 80 -12
25 20 72 60 -12
Delay: 0 days V=24 S$=0
V=20 Delay=-12 (1/2 sp.)
S$=6.000S$
V=10 OMG!
V=15 Delay=-27 (2 sp.)
S$=24.000S$
V=18 Delay=-18 (1 sp.)
S$=12.000S$
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project
Delay: 0 days V=24 S$=0
V=20 Delay=-12 (1/2 sp.)
S$=6.000S$
V=10 OMG!
V=15 Delay=-27 (2 sp.)
S$=24.000S$
V=18 Delay=-18 (1 sp.)
S$=12.000S$
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project
Delay: 0 days V=24 S$=0
V=20 Delay=-12 (1/2 sp.)
S$=6.000S$
V=10 OMG!
V=15 Delay=-27 (2 sp.)
S$=24.000S$
V=18 Delay=-18 (1 sp.)
S$=12.000S$
We can: - Drop scope (~18pt.) - Give more time (~1sp.) - Add more resources (Brooks law!!)
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project
Estimated Real Left Should be Deviation
20 18 102 100 -2
22 15 (-5) 92 80 -12
25 20 72 60 -12
22 25 47 40 -7
?= 12.000 Scrum$ / sprint ~20 work units / sprint
…..
120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project
Estimated Real Left Should be Deviation
20 18 102 100 -2
22 15 (-5) 92 80 -12
25 20 72 60 -12
22 25 47 40 -7
25 28 19 20 +1
?= 12.000 Scrum$ / sprint ~20 work units / sprint
…..
120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project
Estimated Real Left Should be Deviation
20 18 102 100 -2
22 15 (-5) 92 80 -12
25 20 72 60 -12
22 25 47 40 -7
25 28 19 20 +1
19 19 0 0 0
?= 12.000 Scrum$ / sprint ~20 work units / sprint
…..
120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project
Estimated Real Left Should be Deviation
20 18 102 100 -2
22 15 (-5) 92 80 -12
25 20 72 60 -12
22 25 47 40 -7
25 28 19 20 +1
19 19 0 0 0
?= 12.000 Scrum$ / sprint ~20 work units / sprint
…..
120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)
????
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burning Man Project
Estimated Real Left Should be Deviation
200 18 102 100 -2
2,2 15 (-5) 92 80 -12
2500 20 72 60 -12
22M. 25 47 40 -7
0,25 28 19 20 +1
2¶/3 19 0 0 0
?= 12.000 Scrum$ / sprint ~20 work units / sprint
…..
120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)
????
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Estimation is WASTE!
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
“The emphasis is on steering the project - wich is quite straitghtforward - rather than an exact prediction of what will be needed and how long will it take - which is quite difficult”
Ron Jeffries, XP co-founder
How?
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Velocity
Min. V
Max. V
Sure we’ll make it
Are you freakin’ kidding me?
We’ll probably end somewhere over here
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Bell curve / Gauss curve
Min. V
Max. V
Worst case: minimum scope or maximum time
Better case: maximum scope / minimum time
Estimate
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Capacity 105
80
90
80
93
86
100
86
90
100
¡¡900 points in 9 weeks!!
+5 -5 -25 -32 -46 -46 -59 -70 -70
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Capacity 105
80
90
80
93
86
100
86
90
100
¡¡900 points between 9 and 11 weeks!!
+15 +5 -5 -2 -6 +4 +0 +0 +10
¡¡Between 700 and 900 points in 9 weeks!!
+5
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Backlog= Bunch of
functionalities, Prioritized and
Estimated
(Following that sequence, in fact)
Scrum Planning
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Functionalities
SMART (Specifical, Measurable, Achievable, Reasonable, Time Boxed)
INVEST (Independent, Negotiable, Valuable, Estimatable, Small, Testable).
MOSCOW (Must, Should, Could, Wish…)
© 2010 Proyectalis Gestión de Proyectos S.L.
Iceberg Backlog
Sprint
Product
Version
© 2010 Proyectalis Gestión de Proyectos S.L.
IEEE-830
“Entree comes with soup or salad and bread”
(Mike Cohn)
© 2010 Proyectalis Gestión de Proyectos S.L.
An office virus:
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
© 2010 Proyectalis Gestión de Proyectos S.L.
Common Understanding
© 2010 Proyectalis Gestión de Proyectos S.L.
User stories
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Product specs:
Product must have petrol engine Product must have four wheels Product must have at least one seat for human
driver Product must have metalic framing Product must have steering wheel Product must be able to move through
countryside Product must be cheap
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
User story:
“As a frequent gardener, I want to mow lawn fast and comfortably, so I don’t get tired or hurt ”.
Acceptance criteria: mown lawn using traditional method. Then use new system: should be at least 2x faster, virtually no tiring and much more fun.
© 2010 Proyectalis Gestión de Proyectos S.L.
What did we build / What did user need?
Describe solution Understad user need
© 2010 Proyectalis Gestión de Proyectos S.L.
Story maps
Time
need
“Épics”
Stories
© 2006-2008 Jeff Patton, www.agileproductdesgin.com
© 2010 Proyectalis Gestión de Proyectos S.L.
Story map
Time
Release one
Release two
Release three
nece
sida
d Neccesary
Less optional
More optional
© 2006-2008 Jeff Patton, www.agileproductdesgin.com
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
MVP / MMFS
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
MVP / MMFS
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
MVP / MMFS
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
MVP / MMFS
?
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
MVP / MMFS
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
MVP / MMFS
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
MVP / MMFS
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
MVP / MMFS
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
MVP / MMFS
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Walking Skeleton:
1 2 3
1 2 3
© 2006-2008 Jeff Patton, www.agileproductdesgin.com
© 2010 Proyectalis Gestión de Proyectos S.L.
Important
The story or the card are not as important as the conversation they
come from
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Important
Engineering is not to be described in the story
≠
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Backlog= Bunch of
functionalities, Prioritized and
Estimated
(Following that sequence, in fact)
Reminder:
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Prioritize
Consensus Voting Buy a feature Dot voting Story maps Iterative rounds (rate 1-5) Cost benefit analysis (Uh?)
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Dish washing Dog walking Lawn mowning Plants watering Beds changing Laundry Ironing Oven cleaning Monthly shopping Groceries shopping Floor cleaning Windows cleaning Paint bedroom
Estimation
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Planning Poker
© 2010 Proyectalis Gestión de Proyectos S.L.
Roles, processes and tools
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Scrum Framework
Artifacts
Product Backlog Sprint backlog
Scrum board
Impediment backlog
Roles
Product owner
Scrum Master
Team
Processes Product planning Sprint planning Daily Scrum
Retrospectives Demo
© 2010 Proyectalis Gestión de Proyectos S.L.
The roles:
© 2010 Proyectalis Gestión de Proyectos S.L.
The roles:
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Product Owner
Manages vision and roadmap Gathers specs, writes user
stories Manages Product Backlog:
decides on scope and priority Defines acceptance criteria for
every user story Accountable for financial
success and customer satisfaction
Business & stakeholders interface with Scrum
“Feathered pig”
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Gives estimates, reports progress Committed to deliver working
software at the end of the iteration Cross-functional, self-managed Accountable for quality and velocity 7±3 people (“feed them two pizzas”)
Team
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Scrum Master
“Shepherd dog”, servant leader, Coach
Close to the team Maintains process Manages impediment
backlog Makes the team improve Maker team life better Moderator - facilitator If necessary, acts as an
interface with Product Owner
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
The evolution of the Scrum Master
ScrumButt Scrum Agile Nirvana
“The Scrum guy”
- Schedule meetings - List impediments
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
The evolution of the Scrum Master
ScrumButt Scrum Agile Nirvana
“The Scrum guy”
“Scrum Mom”
- Schedule meetings - List impediments
- “I’ll take care of that” - Moderator - Diagnoses & Decides - Directly removes impediments - Team interface - Evades conflict (artificial harmony) - Does not really trust the team, still bossy
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
The evolution of the Scrum Master
ScrumButt Scrum Agile Nirvana
“The Scrum guy”
“Scrum Mom”
True Scrum Master
- Schedule meetings - List impediments
- “I’ll take care of that” - Moderator - Diagnoses & Decides - Directly removes impediments - Team interface - Evades conflict (artificial harmony) - Does not really trust the team, still bossy
- Trainer, mentor - Facilitator - Motivator - Team gardener - Involves everyone - Progressively delegates - Collaboration - Innovation - Deals with Conflict - Change agent - Agile evangelist - Leader
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
The evolution of the Scrum Master
ScrumButt Scrum Agile Nirvana
“The Scrum guy”
“Scrum Mom”
True Scrum Master
Scrum Sensei – Agile Coach
- Schedule meetings - List impediments
- “I’ll take care of that” - Moderator - Diagnoses & Decides - Directly removes impediments - Team interface - Evades conflict (artificial harmony) - Does not really trust the team, still bossy
- Listen - Master silence - Ask - Be a mirror
- Trainer, mentor - Facilitator - Motivator - Team gardener - Involves everyone - Progressively delegates - Collaboration - Innovation - Deals with Conflict - Change agent - Agile evangelist - Leader
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
The evolution of the Scrum Master
ScrumButt Agile Nirvana
“The Scrum guy”
Scrum Sensei – Agile Coach
- Schedule meetings - List impediments
- Listen - Master silence - Ask - Be a mirror
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
The evolution of the Scrum Master
ScrumButt Scrum Agile Nirvana
“The Scrum guy”
“Scrum Mom”
True Scrum Master
Scrum Sensei – Agile Coach
Decide Sell Consult Participate Advice Delegate Inquire
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
The evolution of the Scrum Master
ScrumButt Scrum Agile Nirvana
“The Scrum guy”
“Scrum Mom”
True Scrum Master
Scrum Sensei – Agile Coach
Decide Sell Consult Participate Advice Delegate Inquire
Sprint Length
Estimate stories
Definition of done Team composition
Business strategy
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
The evolution of the Scrum Master
ScrumButt Scrum Agile Nirvana
“The Scrum guy”
“Scrum Mom”
True Scrum Master
Scrum Sensei – Agile Coach
Decide Sell Consult Participate Advice Delegate Inquire
Sprint Length
Estimate stories
Definition of done Team composition
Business strategy
TEAM
SM
PO
Manager
Manager
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
The evolution of the Scrum Master
ScrumButt Scrum Agile Nirvana
“The Scrum guy”
“Scrum Mom”
True Scrum Master
Scrum Sensei – Agile Coach
Decide Sell Consult Participate Advice Delegate Inquire
Sprint Length
Estimate stories
Definition of done Team composition
Business strategy
TEAM
SM
PO
Manager
Manager
C&C Coach (leader?)
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Procesos
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Planificación de producto
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Planificación de Sprint
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Scrum diario
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Demo
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Retrospectiva
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Retrospectives
© 2010 Proyectalis Gestión de Proyectos S.L.
Formatos
© 2010 Proyectalis Gestión de Proyectos S.L.
Muy importante:
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Prueba cosas nuevas
© 2010 Proyectalis Gestión de Proyectos S.L.
Pero no es esto…
© 2010 Proyectalis Gestión de Proyectos S.L.
Artifacts
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Pending Develop Test Done Stories Project:
Team: Scrum, Demo:
Burn-down::
Release Plan:
Impediments
Scrum Board
© 2010 Proyectalis Gestión de Proyectos S.L.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
© 2010 Proyectalis Gestión de Proyectos S.L.
© 2010 Proyectalis Gestión de Proyectos S.L.
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
“Olores”
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Pendiente Desarrollo Test Terminado Historia Proyecto:
Equipo: Scrum, Demo:
Burn-down::
Release Plan:
Impedimentos:
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Pendiente Desarrollo Test Terminado Historia Proyecto:
Equipo: Scrum, Demo:
Burn-down::
Release Plan:
Impedimentos:
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Pendiente Desarrollo Test Terminado Historia Proyecto:
Equipo: Scrum, Demo:
Burn-down::
Release Plan:
Impedimentos:
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Burn-down Trabajo
Tiempo
OK!
KO!
© 2010 Proyectalis Gestión de Proyectos S.L.
Release Plan
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
“Olores”
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Trabajo
Tiempo
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Trabajo
Tiempo
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Trabajo
Tiempo
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Trabajo
Tiempo
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Trabajo
Tiempo
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Trabajo
Tiempo
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Trabajo
Tiempo
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Trabajo
Tiempo
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Trabajo
Tiempo
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Trabajo
Tiempo
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Trabajo
Tiempo
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Trabajo
Tiempo
© 2010 Proyectalis Gestión de Proyectos S.L.
Kanban & Scrumban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Exercise: serial or parallel
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Kanban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Kanban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Kanban
Start where you are Map your value stream Visualize flow Limit WIP – adjust
workload to capacity Measure and improve lead
time and cycle time Make policies explicit
(definition of done, WIP limits, coding standards, bloqued tasks…)
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Capacity
50l/sg 20/sg
10l/sg
100/sg
30/sg
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Capacity
50l/sg 22/sg
11l/sg
110/sg
33/sg
¡¡+10%!!
- Old troughput: 10 - New troughput: 11 (10% ok) - Cost: 16
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Capacity
50 23l/sg
23/sg
23l/sg
100l/sg
33l/sg
¡Kaizen!
- Old troughput: 10 - New troughput: 23 (130%) - Adjust workload to capacity - Cost: 16
- R&D+i - Tech Debt - Decouple
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Capacity
Bottlenecks: exploit, subordinate, rise (beware of the “need more resources” song)
Be sure your bottleneck operates at full capacity (eliminate waste at the bottleneck)
Be sure the system works at the pace of the bottleneck
Be sure the entrance to the bottleneck has good quality
Be sure your bottleneck is not idle / blocked Use the “slack” around your bottleneck to
work the bottleneck Treat your bottleneck as a national
emergency
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
The 40 hour week fallacy:
100% (40 hours a week)
Programming (value adding tasks, focus factor, sprint dedication, project
advance…)
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
A more realistic approach:
50%
10%
15%
10%
10%
5%
Bugs, technical debt, stoppers, blocked tasks, rework, context switching, other forms of waste…
Reports, e-mail, internal meetings, hiring interviews, admininistrative stuff, bureaucracy…
Slack
Research, Development, training, innovation
Programming ( value adding tasks, focus factor, sprint dedication, project
advance…)
Overhead
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Naked truth:
35%
10%
10%
10%
5%
30% Bugs, technical debt, stoppers, blocked tasks, rework, context switching, other forms of waste…
Reports, e-mail, internal meetings, hiring interviews, admininistrative stuff, bureaucracy…
Slack
Research, Development, training, innovation
Programming ( value adding tasks, focus factor, sprint dedication, project
advance…)
Overhead
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Naked truth:
35%
10%
10%
10%
5%
30% Bugs, technical debt, stoppers, blocked tasks, rework, context switching, other forms of waste…
Reports, e-mail, internal meetings, hiring interviews, admininistrative stuff, bureaucracy…
Slack
Research, Development, training, innovation
Scrum (measured & known)
Overhead
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Naked truth:
35% Scrum (measured & known)
65%
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Selected. Dev. Valid. Pending Integration Done! Burn-down::
Release Plan:
Selected. Dev. Valid. Pending Integration Done!
Scrumban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Selected. Dev. Valid. Pending Integration Done! Burn-down::
Release Plan:
Selected. Dev. Valid. Pending Integration Done!
This was definitely a 3…
5
1
Scrumban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Selected. Dev. Valid. Pending Integration Done!
Selected. Dev. Valid. Pending Integration Done!
V Scrum
V buffer
Scrumban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
V Scrum V buffer
80 20
85 20
75 30
70 35
75 25
80 25
? ?
¿Your prediction?
Scrumban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
V Scrum V buffer
80 20
85 20
75 30
70 35
75 25
80 25
? ?
¿Your prediction?
Uuuh… Well, on average we make something like 75 scrum points per sprint. Guess we can commit on that as long as you keep the buffer level safe…
That means somewhere below 25 buffer points
Scrumban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
V Scrum V buffer
80 20
85 20
75 30
70 35
75 25
80 25
60 50
Yaaargh! You failed on your commitment!
No, in fact we did 110 points of aggregated velocity, which is quite good. It was YOU who told us to prioritize 50 buffer points during the Sprint and made us fail the sprint goal !
Scrumban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
V Scrum V buffer
80 7500
85 7000
75 8000
70 8500
75 7500
80 7000
? ?
¿Your prediction?
Uuuh… Well, on average we make something like 75 scrum points per sprint. Guess we can commit on that as long as you keep the buffer level safe…
That means somewhere below 7500 buffer points
Scrumban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Selected. Dev. Valid. Pending Integration Done!
Selected. Dev. Valid. Pending Integration Done!
V Scrum
V buffer +
V buffer -
Scrumban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Velocity
Vavg Scrum
Vavg Kanban +
Vavg Kanban -
Scrumban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Selected. Dev. Valid. Pending Integration Done! Burn-down::
Release Plan:
CO
MM
ITTE
D
PR
IO
Fire!
ASA
P
Scrumban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
ASA
P Pr
io
Fire!
Selected. Dev. Valid. Pending Integration Done! Sprint Burn-down:
CO
MM
ITTE
D
Buffer burndown:
Uh-oh, hold the Kanban, guys!!
Mmm…Guess I’d like some Scrum done too…
Scrumban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
ASA
P Pr
io
Fire!
Selected. Dev. Valid. Pending Integration Done! Sprint Burn-down:
CO
MM
ITTE
D
Buffer burn-up:
Uh-oh, hold the Kanban, guys!!
Mmm…Guess I’d like some Scrum done too…
Scrumban
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Add queues and WIP limits!
Selected - 3 Backlog Code Test
Done! Design
Rdy Rdy Rdy On- 3 On -2 On - 2 S
PR
INT
FIRE!
PRIO
ASAP
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Bonus: drop estimations!
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
Epilogue…
© 2010 Proyectalis Gestión de Proyectos S.L.
© 2010 Proyectalis Gestión de Proyectos S.L.
© 2010 Proyectalis Gestión de Proyectos S.L.
© 2010 Proyectalis Gestión de Proyectos S.L.
© 2010 Proyectalis Gestión de Proyectos S.L.
There’s no road…
© 2010 Proyectalis Gestión de Proyectos S.L.
Let’s swim!
© 2010 Proyectalis Gestión de Proyectos S.L – htttp://slideshare.net/proyectalis.
© 2010 Proyectalis Gestión de Proyectos S.L.
Read this books!
© 2010 Proyectalis Gestión de Proyectos S.L.
This presentation is based upon the ideas and work of many people. And while I’ve tried to recognize copyrights and give credit and attribution where possible, I cannot possibly list them all, so if you feel like there’s something that should be added, changed or removed from this presentation, please drop me an e-mail at [email protected]
Special thanks to Henrik Kniberg. Mike Cohn, Lyssa Adkyns and Jeff Patton. I owe you so much I’ll have to buy you some drinks if you ever happen to come to Spain ;). BTW, have you ever considered a holiday here? Drop me a line! :D
http://creativecommons.org/licenses/by-nc-nd/3.0/