agile estimation @ lean agile manchester: make estimates small!

43
What’s Wrong With Estimates? A Journey with LEGO and Maths A Well Known Brand of Plastic Blocks

Upload: dynacognetics-ltd

Post on 17-Nov-2014

122 views

Category:

Technology


0 download

DESCRIPTION

Lean-Agile Manchester Presentation by Ethar Alali on 17/09/2014.

TRANSCRIPT

Page 1: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

What’s Wrong With Estimates?

A Journey with LEGO and Maths

A Well Known

Brand of

Plastic Blocks

Page 2: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

In My World (Agile-EA)

Page 3: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

In My Head (Helpful?)

Page 4: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

…And It Works!

Example: Custom Load Balancing Algorithm in 2000

Focused on computational cost of calculating Averages <- SERIOUSLY!!

Page 5: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

…And It Works! (Contd)

Page 6: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Healthy Respect for New Stuff!

Page 7: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Estimates

• Traditionally Blamed for Project Failure• We Don’t Like Being Held to Them• Blame Ensues – “You told me it would take this long” (external)– “I failed to hit my own deadline” (internal)

Page 8: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

However, Estimates…

• Never Killed A Project!– Variance Between Estimate & Actual Time/Cost Killed it!

• Set Expectations– Uncertainty & Stakeholder Expectation Badly Managed

• Deliver one ‘half’ of Value Equation– Like it or not, cost is the other

• Salaries, Recruitment, Capex, Opex, SaaS…

• Stakeholders Don’t Understand Variance• Larger Estimates = Uncertainty Higher• Humans Better At Smaller Estimates!

Page 9: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

ACTIVITY: Audience Participation

• Score-sheet Coming Round1. Shown Patterns of Red

Dots for 2 seconds2. Count/Estimate

Number of Dots3. 5 Second Countdown4. This will be repeated

10 times5. Swap Scorecards &

Total Results Yes, there is 3!

Page 10: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Question 1

Page 11: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

5

3

12

4

Page 12: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Question 2

Page 13: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

5

3

12

4

Page 14: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Question 3

Page 15: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

5

3

12

4

Page 16: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Question 4

Page 17: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

5

3

12

4

Page 18: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Question 5

Page 19: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

5

3

12

4

Page 20: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Question 6

Page 21: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

5

3

12

4

Page 22: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Question 7

Page 23: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

5

3

12

4

Page 24: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Question 8

Page 25: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

5

3

12

4

Page 26: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Question 9

Page 27: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

5

3

12

4

Page 28: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Question 10

Page 29: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

5

3

12

4

Page 30: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

End of Activity(You can now relax)

Page 31: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Relevant Concepts…

• Humans Naturally Remember (& Process) 5 to 9 items– More Leads to Confusion & Complexity– Less and You’re Easily Confused :o)– Stories of 8+ Points Need Breaking Down

• Regularity Makes Estimates Easier– Low/Zero Variance– Use Lessons Learned/Code Libraries As-is– e.g. Squares Easiest to Estimate (measure one side and

square it)

Page 32: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

However…• Coder’s World is [Mostly]

Uncertain!!• Regularity Doesn’t Exist!

– No two projects/Components are exactly the same.

• Usually > 9 items of ANYTHING– Components– Classes– Methods– Lines of Code

• Continually look at points distribution! Or do ‘1-point’ stories (e.g. #NoEstimates)

Time

Freq

uenc

y

Actual Client Data

Page 33: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Tackling Uncertainty• Split into Predictable Chunks, Then Aggregate• Use Small Chunks - Lowers Variability (& Confusion)• Beware Relationships! Any Relationship is Complex! Especially if Shared!• Use what you know as a baseline and LEARN!

• = More ‘Accurate’ Delivery!

= 14,4

4

3

3= + = 10

9 1

Page 34: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Cone of UncertaintyLarge Chunk Project (BDUF/RUP) = Long

Feedback Cycle. Slow journey to certainty

Small Chunk Project (Sprint/Iteration) = Frequent

Learning, Moves towards Certainty, Descends Cone

Faster

Predictability

Time

Uncertainty Curve

KEY

Page 35: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

So, Get Feedback Fast!

• Make Small Changes• Change one thing!• Deploy & Evaluate Efficacy

Bigger Tasks Lose Accuracy, Reduce Certainty and ‘Quality’ of Knowledge!

Page 36: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Which Looks More Accurate?

Hamley’s Queen Ethar’s Lego Queen

OR

Page 37: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

TAKEAWAY: KEEP STUFF SMALL!

Small tasks, small batches, small cycles, small timescales, small change, small planning…

Page 38: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

BUT…

Page 39: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

ACTIVITY: Can it be Too Small?

Team A: 2 Dev + Product Owner

• 8 sticks x 5 blocks each• Each block is a task• Each task

– Pull in stack– Take 2 blocks from stack– Place into ready

• Pay Per Delivery

Team B: 4 Dev + Product Owner

• 8 sticks x 5 blocks each• Each block is a task• Each task

– Pull in stack– Take 1 block from stack– Place in ready

• Pay Per Delivery

Question: Who Wins? Why?

Page 40: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Beware Context Switching

• What are context switches?– Task Done that Doesn’t

Add Value!

• The ‘Zero’ cost switch…– …Doesn’t exist!

• Switching yourself between tasks…

• But what else?

Tasks Between Stages!!– Columns, People,

Boards…

Total ReplatformsLarge Business PivotsMass Change ProgrammesEntire Codebase Rewrite…

Page 41: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

TAKEAWAY: KEEP STUFF SMALL!

Small tasks, small batches, small cycles, small timescales, small change, small planning…

(INCLUDING CONTEXT SWITCH COST)

Page 42: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Thanks for Watching

LinksKanban Simulator

http://www.kanbansim.org/ Queuing Theory

http://en.wikipedia.org/wiki/Queueing_theory

Attribution All images courtesy of Google images and are the property of their respective owners

Ethar Alali @EtharUK @Dynacognetics

Managing Director & Chief ArchitectPolymath-MathMo. Programming since 9 years old. TOGAF 9 Certified, change agent. Blog: GoadingtheITGeek.blogspot.co.uk

Managing Director/CEO of Dynacognetics.Specialist Agile-EA, ICT Strategist & Advisor. Member of HiveMind Network.

Accredited Growth Voucher Advisor certified to deliver IT & Web Growth Consultancy to SMEs and Startups as part of the government’s Growth Voucher Scheme.

About Me

Accreditations & Associations

Page 43: Agile Estimation @ Lean Agile Manchester: Make Estimates Small!

Q & A