SlideShare a Scribd company logo
1 of 65
Download to read offline
Lean from the Trenches
            Oct 6, 2012
     Agile Eastern Europe, Kiev


     Henrik Kniberg
     Agile/Lean coach
        www.crisp.se
Henrik Kniberg   2
3
Henrik Kniberg
4
Henrik Kniberg
Lean principles


                     Kanban



                                                XP



                 Scrum




Henrik Kniberg                                       5
<dislaimer>


        No solutions.
        Only examples.


</disclaimer>


Henrik Kniberg           6
Once upon a
time…



              7
                  7
PUST – Polisens Utrednings STöd




   2011          2010




Henrik Kniberg                    8
Timeline
                                               First pilot                           Nationwide

       Project launch
                                               1.0            1.1   1.2        1.3    1.4        1.5

  Q3            Q4      Q1   Q2           Q3             Q4               Q1                Q2

         2009                     2010                                           2011



   10 people
                              30 people                      60+ people




Henrik Kniberg                                                                               9
Slicing the elephant
                              Region
                              Östergötland,
                              Uppsala, etc

                  1.0
 Crime types      1.1
                        1.3      1.4
 (weapon,
 drunk driving,   1.2
 shoplifting,
 etc)                            1.5

                              PUST
Integrations




    Henrik Kniberg                            10
User involvement


                 Acceptance test            Pilot users
                 user group
  ”Customer”




                                   Onsite
               PUST Project        user




Henrik Kniberg                                            11
Team structure &
”Daily cocktail
party”

                   12
                   12
Team structure - before
  Requirements             3             Test
     analyst          Development        team
      team               teams


                  !                  !
                 #%                 #%


                 !?                 !?



Henrik Kniberg                                  13
Improved team structure
                 Requirements      3
                                          System test
                    analyst     Feature
                                             team
                     team        teams




Henrik Kniberg                                          14
”Daily cocktail party” 9:15 – 10:15




 Henrik Kniberg                       15
10:00 – 10:15


                                  Project sync



             9:45 – 10:00            9:45 – 10:00




                                    Requirements    Dev sync
                     Test               sync
                     sync



                 9:30 – 9:45      9:30 – 9:45          9:15 – 9:30




                 Feature team 1   Feature team 2       Feature team 3

                                                                     16
Henrik Kniberg
The project board




                    17
                    17
Next 10                              User
Ideas    Features              Development   System
                    features                          acceptance   Production
                                              test
                                                         test




                               FLOW




   Henrik Kniberg                                                     18
Henrik Kniberg   19
Cadences

                               week 1   week 2   week 3   week 4   week 5   week 6   week 7   week 8

   Retrospectives (2w)

       Planning (2w)

 Demo & systest (continuous)

       Release (2m)




                                                                                               20
21
Henrik Kniberg   22
Impediments & escalation
                 Feature                             General
                 blocked                           impediments




                                                Can’t
                                 2011-03-01!


                  Police car =   As          police!t!!
                                    asdfasdfasdf
                                                tes   r!
                                                ing fo der!
                                 I need tocode rea
                                        Wait scan!
                    urgent
                    (patch)
                                        bar
                                 So that JMmr! ch 12!
                                           !i a
Henrik Kniberg                                                   23
Scaling the boards




                 24  24
Feature swimlanes

                  Next 10        Dev       Ready for   Sys test
                  features   in progress    sys test   progress




 Henrik Kniberg                                                   25
Next 10          Dev       Ready for
                   features     in progress    sys test




Dev Team 1                    Dev Team 2                  Dev Team 3




                                                                       26
  Henrik Kniberg                                                       26
Definition of
                   ”ready for
                 development”

                            Definition of
                             ”ready for
                            system test”




Henrik Kniberg                              27
Henrik Henrik
       Kniberg   Kniberg   28   28
How we handle
tech stories



                29
                29
Tech stories
                  Next 10
                  features
 Ready for
Development




                  Next 5 tech
                    stories



 Henrik Kniberg                 30
Example: the 7 meter class




Henrik Kniberg               31
”Oh no, bottleneck
                   in System Test!




      FLOW




Henrik Kniberg                        32
Question of the week:
                        How can we best
                     contribute to system test
                              today?


                               Bottleneck


   ”Let’s stop
  building new
    features”




 ”... and focus on
test automation!”




    Henrik Kniberg                          33
Everyone
                 doing tech
                   stories




Henrik Kniberg                34
How we handle
bugs



                35
                35
Release
Before:
Test at end                                                    Test      Fix %&@#!

     Week 1   Week 2   Week 3     Week 4     Week 5     Week 6        Week 7   Week 8




Now:                                                                                 Release
Test continuously

     Week 1   Week 2   Week 3     Week 4     Week 5     Week 6        Week 7   Week 8


                                      Test            Fix

                       Test at end:
                                                %&@#!
                 Test continuously:


                                      Test       Fix        Time
                                                            saved!




   Henrik Kniberg                                                                              36
Bug fixing process
                   Bug found!



                                   Yes     Write sticky-note,
                    Blocker?                find developer,
                                                fix now!
                         No

                 More important      Yes     Replace one of
                 than any of the               the other
                 current top 30?              top 30 bugs
                                              with this one
                          No

                     Ignore
                       it



                                                 Don’t log it.
                                                 Fix it NOW!




Henrik Kniberg                                                   37
Three input queues


      Next 10
      features


      Next 5 tech
        stories



    Next 5 lower
    priority bugs




Henrik Kniberg       38
Recurring bugs




Henrik Kniberg                    39
How we
continuously
improve the
process
               40
               40
Retrospectives every
1-2 weeks




 Henrik Kniberg        41
Too much, too fast!




Henrik Kniberg        42
Limiting the rate of change

                    ”A4”
                    improvement
                    proposal

                      ”A4”
                      improvement
                      proposal


                    ”A4”
                    improvement
                    proposal


                       ”A4”
                       improvement
                       proposal




Henrik Kniberg                       43
Proposal:	
  More	
  Customer-­‐Valued	
  Stories	
  
Why?	
  What	
  Problem	
  Are	
  We	
  Trying	
  to	
  Solve?	
              DescripAon	
  /	
  FAQ	
  
                                                                              A	
  story	
  that	
  goes	
  into	
  development	
  must:	
  
•  Hard	
  to	
  get	
  an	
  overview	
  of	
  the	
  project	
  board	
     1.  Be	
  size	
  S	
  or	
  M	
  
   from	
  customer	
  perspec7ve,	
  many	
  stories	
  are	
                2.  Be	
  as	
  customer	
  valuable	
  as	
  possible,	
  as	
  long	
  as	
  we	
  don’t	
  
                                                                                       break	
  the	
  size	
  rule.	
  
   so	
  small	
  that	
  they	
  can’t	
  be	
  delivered.	
  
                                                                              The	
  requirements	
  team	
  ensures	
  that	
  each	
  card	
  under	
  ”Ready	
  for	
  
Who	
  Is	
  Affected	
  By	
  The	
  Change?	
                                Development”	
  is	
  a	
  customer-­‐valued	
  story	
  (regardless	
  of	
  size).	
  
•  Requirements,	
  development,	
  and	
  test	
  teams.	
                   However,	
  before	
  it	
  enters	
  development	
  it	
  must	
  be	
  S	
  or	
  M.	
  
                                                                              	
  
                                                                              Ques7on:	
  What	
  happens	
  if	
  the	
  story	
  is	
  L,	
  and	
  must	
  be	
  delivered	
  as	
  
What	
  Are	
  the	
  Change	
  ImplementaAon	
  Steps?	
                     a	
  whole	
  before	
  it	
  is	
  valuable	
  to	
  the	
  customer?	
  
•  Update	
  Defini7on	
  of	
  Done	
  for	
  ”Ready	
  for	
                 •  Break	
  it	
  down	
  to	
  smaller	
  stories	
  (new	
  cards)	
  which	
  are	
  size	
  M,	
  
                                                                                     but	
  with	
  highest	
  possible	
  customer	
  value	
  per	
  story.	
  
   Development”,	
  add	
  ”the	
  story	
  is	
  valuable	
  to	
            •  Visually	
  group	
  these	
  stories	
  by	
  wri7ng	
  the	
  name	
  of	
  the	
  higher	
  
   the	
  customer”.	
                                                               level	
  feature	
  in	
  big	
  blue	
  leSers	
  at	
  the	
  top	
  of	
  each	
  card.	
  

•  Go	
  through	
  the	
  board	
  &	
  iden7fy	
  stories	
  that	
  
   are	
  too	
  small	
  to	
  be	
  valuable.	
  Combine	
  these	
  
   into	
  bigger	
  stories	
  (as	
  long	
  as	
  they	
  don’t	
  
   exceed	
  Medium).	
  
    Example:	
                                    CONFISCATION
                                                   Register
                                                 Confiscation
                                                                     M
      Confiscation                              CONFISCATION
                         L                         Remove
                                                 Confiscation
       Henrik Kniberg                                                  S                                                                                            44
Limiting the rate of change

                    ”A4”
                    improvement
                    proposal

                      ”A4”
                      improvement
                      proposal


                    ”A4”
                    improvement
                    proposal


                       ”A4”
                       improvement
                       proposal




Henrik Kniberg                       45
How we capture
and use process
metrics

                  46
                  46
Process metrics

"   Velocity = feature per week
"   Throughput time = weeks per feature




                                          47
Velocity – stories per week
                                                Ready for
                                            acceptance test
                                           (this week so far)




                                          Ready for
                                       acceptance test
                                      (previous weeks)



                  Velocity per week




 Henrik Kniberg                                                 48
Velocity-based release planning
                                All of these will
                                    be done




# of
features              Week
delivered to                 Some of these
acceptance                    will be done,
test                           but not all




                                None of these
                                 will be done            49
     Henrik Kniberg                                 49
Henrik Kniberg   50
Bed
Total                                        time!
work

                                Play time!




                   Timeline
  Henrik Kniberg   (5 minute                  51
                   intervals)
Henrik Kniberg   52
Velocity improvement


                                            Q2
                                     6.5 features per
                     Q1                    week
# of             3 features
features         per week
delivered to
acceptance
test




                              Week




Henrik Kniberg                                          53
Throughput time – weeks per feature
                                                         Ready for
            Next 10                                     acceptance
                       Throughput time (elapsed days)
            features                                       test




Henrik Kniberg                                                 54
Elapsed
                 days




                           Feature




Henrik Kniberg                       55
Throughput time improvement

                         Q1
                     6-14 weeks
                     per feature       Q2
                                   3-6 weeks
                                   per feature
Elapsed
days




    Henrik Kniberg                          56
Surprising insight
                                                        Average throughput time
                                                        Small:	
  31	
  days	
  
                                                        Medium:	
  37	
  days	
  
Elapsed                  ”Small” & ”Medium”             Large:	
  59	
  days	
  
days
                     features take roughly same
                           amount of time




                                              Feature




    Henrik Kniberg                                                                  57
How we track the
high level goal



                   58
                   58
High level
         goal




       Milestone




Henrik Kniberg     59
Death March Detection
using gut feel

          Do you believe the
            current goal is
             achievable?


     5   =   certainly
     4   =   probably
     3   =   barely
     2   =   probably not
     1   =   forget it

Henrik Kniberg                 60
Henrik Kniberg   61
Wrapup




         62
         62
Setting the project up   Incremental delivery
for success
Co-location




                    Customer involvement




                                                63
Creating a culture of
continuous improvement
  Clarity
                 Communication




Data




                                 Henrik Kniberg 64
Perfection is a direction, not a place

                                   The important thing is not
                                        how you work.


                                    The important thing is
                              how you improve the way you work!




Henrik Kniberg                                              65

More Related Content

What's hot

Agile Transformation Defined
Agile Transformation DefinedAgile Transformation Defined
Agile Transformation DefinedChristoph Mathis
 
Webinar On Scaled Agile Framework (SAFe) | iZenBridge
Webinar On Scaled Agile Framework (SAFe) | iZenBridgeWebinar On Scaled Agile Framework (SAFe) | iZenBridge
Webinar On Scaled Agile Framework (SAFe) | iZenBridgeSaket Bansal
 
Enterprise Agile Transformation Strategies
Enterprise Agile Transformation StrategiesEnterprise Agile Transformation Strategies
Enterprise Agile Transformation StrategiesMike Cottmeyer
 
The Values and Principles of Agile Software Development
The Values and Principles of Agile Software DevelopmentThe Values and Principles of Agile Software Development
The Values and Principles of Agile Software DevelopmentBrad Appleton
 
Agile Transformation
Agile TransformationAgile Transformation
Agile TransformationMax Carlin
 
cPrime Agile Enterprise Transformation
cPrime Agile Enterprise TransformationcPrime Agile Enterprise Transformation
cPrime Agile Enterprise TransformationCprime
 
Foundations of the Scaled Agile Framework: Be Agile. Scale Up. Stay Lean. And...
Foundations of the Scaled Agile Framework: Be Agile. Scale Up. Stay Lean. And...Foundations of the Scaled Agile Framework: Be Agile. Scale Up. Stay Lean. And...
Foundations of the Scaled Agile Framework: Be Agile. Scale Up. Stay Lean. And...IBM Rational software
 
Exploring Agile Transformation and Scaling Patterns
Exploring Agile Transformation and Scaling PatternsExploring Agile Transformation and Scaling Patterns
Exploring Agile Transformation and Scaling PatternsMike Cottmeyer
 
Agile-overview: Agile Manifesto, Agile principles and Agile Methodologies
Agile-overview: Agile Manifesto, Agile principles and Agile MethodologiesAgile-overview: Agile Manifesto, Agile principles and Agile Methodologies
Agile-overview: Agile Manifesto, Agile principles and Agile MethodologiesBalaji Sathram
 
Scaled Agile Framework
Scaled Agile FrameworkScaled Agile Framework
Scaled Agile FrameworkKnoldus Inc.
 
Kanban on different flight levels - with an implementation example
Kanban on different flight levels - with an implementation exampleKanban on different flight levels - with an implementation example
Kanban on different flight levels - with an implementation exampleMichael Rumpler
 
Transform Agile Development With Practical DevOps
Transform Agile Development With Practical DevOpsTransform Agile Development With Practical DevOps
Transform Agile Development With Practical DevOpsGaurav Sharma
 
Agile Marketing: Exploring Scrumban
Agile Marketing: Exploring ScrumbanAgile Marketing: Exploring Scrumban
Agile Marketing: Exploring ScrumbanAndrea Fryrear
 
Successful Agile Transformation - The NCS Story
Successful Agile Transformation - The NCS StorySuccessful Agile Transformation - The NCS Story
Successful Agile Transformation - The NCS StoryNUS-ISS
 
Agile Transformation v1.27
Agile Transformation v1.27Agile Transformation v1.27
Agile Transformation v1.27LeadingAgile
 
Agile Everywhere! - Henrik Kniberg
Agile Everywhere! - Henrik KnibergAgile Everywhere! - Henrik Kniberg
Agile Everywhere! - Henrik KnibergAgile Montréal
 
Agile IT Operatinos - Getting to Daily Releases
Agile IT Operatinos - Getting to Daily ReleasesAgile IT Operatinos - Getting to Daily Releases
Agile IT Operatinos - Getting to Daily ReleasesLeadingAgile
 

What's hot (20)

Agile Transformation Defined
Agile Transformation DefinedAgile Transformation Defined
Agile Transformation Defined
 
Webinar On Scaled Agile Framework (SAFe) | iZenBridge
Webinar On Scaled Agile Framework (SAFe) | iZenBridgeWebinar On Scaled Agile Framework (SAFe) | iZenBridge
Webinar On Scaled Agile Framework (SAFe) | iZenBridge
 
Enterprise Agile Transformation Strategies
Enterprise Agile Transformation StrategiesEnterprise Agile Transformation Strategies
Enterprise Agile Transformation Strategies
 
The Values and Principles of Agile Software Development
The Values and Principles of Agile Software DevelopmentThe Values and Principles of Agile Software Development
The Values and Principles of Agile Software Development
 
Agile transformation KPIs
Agile transformation KPIsAgile transformation KPIs
Agile transformation KPIs
 
Agile Transformation
Agile TransformationAgile Transformation
Agile Transformation
 
cPrime Agile Enterprise Transformation
cPrime Agile Enterprise TransformationcPrime Agile Enterprise Transformation
cPrime Agile Enterprise Transformation
 
Foundations of the Scaled Agile Framework: Be Agile. Scale Up. Stay Lean. And...
Foundations of the Scaled Agile Framework: Be Agile. Scale Up. Stay Lean. And...Foundations of the Scaled Agile Framework: Be Agile. Scale Up. Stay Lean. And...
Foundations of the Scaled Agile Framework: Be Agile. Scale Up. Stay Lean. And...
 
Exploring Agile Transformation and Scaling Patterns
Exploring Agile Transformation and Scaling PatternsExploring Agile Transformation and Scaling Patterns
Exploring Agile Transformation and Scaling Patterns
 
Agile-overview: Agile Manifesto, Agile principles and Agile Methodologies
Agile-overview: Agile Manifesto, Agile principles and Agile MethodologiesAgile-overview: Agile Manifesto, Agile principles and Agile Methodologies
Agile-overview: Agile Manifesto, Agile principles and Agile Methodologies
 
Scaled Agile Framework
Scaled Agile FrameworkScaled Agile Framework
Scaled Agile Framework
 
Kanban on different flight levels - with an implementation example
Kanban on different flight levels - with an implementation exampleKanban on different flight levels - with an implementation example
Kanban on different flight levels - with an implementation example
 
Transform Agile Development With Practical DevOps
Transform Agile Development With Practical DevOpsTransform Agile Development With Practical DevOps
Transform Agile Development With Practical DevOps
 
Scaled Agile Framework SAFe 4.0
Scaled Agile Framework SAFe 4.0Scaled Agile Framework SAFe 4.0
Scaled Agile Framework SAFe 4.0
 
Agile Marketing: Exploring Scrumban
Agile Marketing: Exploring ScrumbanAgile Marketing: Exploring Scrumban
Agile Marketing: Exploring Scrumban
 
Successful Agile Transformation - The NCS Story
Successful Agile Transformation - The NCS StorySuccessful Agile Transformation - The NCS Story
Successful Agile Transformation - The NCS Story
 
Agile Transformation v1.27
Agile Transformation v1.27Agile Transformation v1.27
Agile Transformation v1.27
 
Agile Everywhere! - Henrik Kniberg
Agile Everywhere! - Henrik KnibergAgile Everywhere! - Henrik Kniberg
Agile Everywhere! - Henrik Kniberg
 
Implementing Scrum with Kanban
Implementing Scrum with KanbanImplementing Scrum with Kanban
Implementing Scrum with Kanban
 
Agile IT Operatinos - Getting to Daily Releases
Agile IT Operatinos - Getting to Daily ReleasesAgile IT Operatinos - Getting to Daily Releases
Agile IT Operatinos - Getting to Daily Releases
 

Viewers also liked

Piotr Burdylo: Managing developers is complex
Piotr Burdylo: Managing developers is complexPiotr Burdylo: Managing developers is complex
Piotr Burdylo: Managing developers is complexAgileee
 
Nick Oostvogels: 5 Arguments Against Kanban
Nick Oostvogels: 5 Arguments Against KanbanNick Oostvogels: 5 Arguments Against Kanban
Nick Oostvogels: 5 Arguments Against KanbanAgileee
 
Nataliya Trenina: Office magic
Nataliya Trenina: Office magicNataliya Trenina: Office magic
Nataliya Trenina: Office magicAgileee
 
Раскрась свой Бэклог! Или о том как принимать решения на основе разных типов ...
Раскрась свой Бэклог! Или о том как принимать решения на основе разных типов ...Раскрась свой Бэклог! Или о том как принимать решения на основе разных типов ...
Раскрась свой Бэклог! Или о том как принимать решения на основе разных типов ...Timofey (Tim) Yevgrashyn
 
Geeks vs Managers (part 2)
Geeks vs Managers (part 2)Geeks vs Managers (part 2)
Geeks vs Managers (part 2)Andrey Bibichev
 
Nathaniel Cadwell: The Art of Facilitation
Nathaniel Cadwell: The Art of Facilitation Nathaniel Cadwell: The Art of Facilitation
Nathaniel Cadwell: The Art of Facilitation Agileee
 
Henrik Kniberg: Agile at home
Henrik Kniberg: Agile at homeHenrik Kniberg: Agile at home
Henrik Kniberg: Agile at homeAgileee
 
The recent history of management
The recent history of managementThe recent history of management
The recent history of managementAlexey Krivitsky
 

Viewers also liked (11)

Anotherpm an example of agile survival
Anotherpm an example of agile survivalAnotherpm an example of agile survival
Anotherpm an example of agile survival
 
Agileee 2012
Agileee 2012Agileee 2012
Agileee 2012
 
Piotr Burdylo: Managing developers is complex
Piotr Burdylo: Managing developers is complexPiotr Burdylo: Managing developers is complex
Piotr Burdylo: Managing developers is complex
 
Nick Oostvogels: 5 Arguments Against Kanban
Nick Oostvogels: 5 Arguments Against KanbanNick Oostvogels: 5 Arguments Against Kanban
Nick Oostvogels: 5 Arguments Against Kanban
 
Nataliya Trenina: Office magic
Nataliya Trenina: Office magicNataliya Trenina: Office magic
Nataliya Trenina: Office magic
 
Раскрась свой Бэклог! Или о том как принимать решения на основе разных типов ...
Раскрась свой Бэклог! Или о том как принимать решения на основе разных типов ...Раскрась свой Бэклог! Или о том как принимать решения на основе разных типов ...
Раскрась свой Бэклог! Или о том как принимать решения на основе разных типов ...
 
Agile Evolution
Agile EvolutionAgile Evolution
Agile Evolution
 
Geeks vs Managers (part 2)
Geeks vs Managers (part 2)Geeks vs Managers (part 2)
Geeks vs Managers (part 2)
 
Nathaniel Cadwell: The Art of Facilitation
Nathaniel Cadwell: The Art of Facilitation Nathaniel Cadwell: The Art of Facilitation
Nathaniel Cadwell: The Art of Facilitation
 
Henrik Kniberg: Agile at home
Henrik Kniberg: Agile at homeHenrik Kniberg: Agile at home
Henrik Kniberg: Agile at home
 
The recent history of management
The recent history of managementThe recent history of management
The recent history of management
 

Similar to Agile Lean Principles for Police Investigation Software

'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014
'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014
'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014ColomboCampsCommunity
 
What is-agile henrik kniberg august 20 2013
What is-agile henrik kniberg august 20 2013What is-agile henrik kniberg august 20 2013
What is-agile henrik kniberg august 20 2013Richard P. Doerer
 
Henrik Kniberg - Essence of Agile
Henrik Kniberg - Essence of AgileHenrik Kniberg - Essence of Agile
Henrik Kniberg - Essence of AgileAgileSparks
 
What's Agile ? Introduction to Agile methods
What's Agile ? Introduction to Agile methodsWhat's Agile ? Introduction to Agile methods
What's Agile ? Introduction to Agile methodsBruno Sbille
 
Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...
Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...
Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...bjoern611
 
Leanforum Agile Everywhere
Leanforum Agile EverywhereLeanforum Agile Everywhere
Leanforum Agile Everywherebeskidek
 
Coming Together: integrating industrial design and interaction design
Coming Together: integrating industrial design and interaction designComing Together: integrating industrial design and interaction design
Coming Together: integrating industrial design and interaction designJoannes Vandermeulen
 
Visibility najaarsevent testnet
Visibility najaarsevent testnetVisibility najaarsevent testnet
Visibility najaarsevent testnetPascal Dufour
 
Kansas Elsas Klint 2011
Kansas Elsas Klint 2011Kansas Elsas Klint 2011
Kansas Elsas Klint 2011Philip Elsas
 

Similar to Agile Lean Principles for Police Investigation Software (10)

'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014
'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014
'What is an Agile tester': Henrik Kniberg @ Colombo Agile Conference 2014
 
What is-agile henrik kniberg august 20 2013
What is-agile henrik kniberg august 20 2013What is-agile henrik kniberg august 20 2013
What is-agile henrik kniberg august 20 2013
 
Henrik Kniberg - Essence of Agile
Henrik Kniberg - Essence of AgileHenrik Kniberg - Essence of Agile
Henrik Kniberg - Essence of Agile
 
What's Agile ? Introduction to Agile methods
What's Agile ? Introduction to Agile methodsWhat's Agile ? Introduction to Agile methods
What's Agile ? Introduction to Agile methods
 
Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...
Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...
Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...
 
Leanforum Agile Everywhere
Leanforum Agile EverywhereLeanforum Agile Everywhere
Leanforum Agile Everywhere
 
Coming Together: integrating industrial design and interaction design
Coming Together: integrating industrial design and interaction designComing Together: integrating industrial design and interaction design
Coming Together: integrating industrial design and interaction design
 
Culture over-process
Culture over-processCulture over-process
Culture over-process
 
Visibility najaarsevent testnet
Visibility najaarsevent testnetVisibility najaarsevent testnet
Visibility najaarsevent testnet
 
Kansas Elsas Klint 2011
Kansas Elsas Klint 2011Kansas Elsas Klint 2011
Kansas Elsas Klint 2011
 

More from Agileee

Robin Dymond: "Your Brain and Better Product Development"
Robin Dymond: "Your Brain and Better Product Development"Robin Dymond: "Your Brain and Better Product Development"
Robin Dymond: "Your Brain and Better Product Development"Agileee
 
Lyssa Adkins & Michael Spayd: The Essential Transformations: How Agile Calls ...
Lyssa Adkins & Michael Spayd: The Essential Transformations: How Agile Calls ...Lyssa Adkins & Michael Spayd: The Essential Transformations: How Agile Calls ...
Lyssa Adkins & Michael Spayd: The Essential Transformations: How Agile Calls ...Agileee
 
Anthony Marchenko: Опыт внедрения Kanban
Anthony Marchenko: Опыт внедрения KanbanAnthony Marchenko: Опыт внедрения Kanban
Anthony Marchenko: Опыт внедрения KanbanAgileee
 
Scrum and kanban
Scrum and kanbanScrum and kanban
Scrum and kanbanAgileee
 
How To Change The World
How To Change The WorldHow To Change The World
How To Change The WorldAgileee
 
The Extreme Decade
The Extreme DecadeThe Extreme Decade
The Extreme DecadeAgileee
 
Agile Testing. Risks, Uncertainty and Why It All Works
Agile Testing. Risks, Uncertainty and Why It All WorksAgile Testing. Risks, Uncertainty and Why It All Works
Agile Testing. Risks, Uncertainty and Why It All WorksAgileee
 
Movivation 3.0
Movivation 3.0Movivation 3.0
Movivation 3.0Agileee
 
Effective Software Development in the 21st Century
Effective Software Development in the 21st CenturyEffective Software Development in the 21st Century
Effective Software Development in the 21st CenturyAgileee
 
Myths, Legends and Monsters of Enterprise Agility
Myths, Legends and Monsters of Enterprise AgilityMyths, Legends and Monsters of Enterprise Agility
Myths, Legends and Monsters of Enterprise AgilityAgileee
 
Lightening Talk: Software craftsmanship
Lightening Talk: Software craftsmanshipLightening Talk: Software craftsmanship
Lightening Talk: Software craftsmanshipAgileee
 
Lightening Talk: Lean start up
Lightening Talk: Lean start upLightening Talk: Lean start up
Lightening Talk: Lean start upAgileee
 
Lightening Talk: lama sutra of retrospective
Lightening Talk: lama sutra of retrospectiveLightening Talk: lama sutra of retrospective
Lightening Talk: lama sutra of retrospectiveAgileee
 
Lightening Talk: Just do it eng
Lightening Talk: Just do it engLightening Talk: Just do it eng
Lightening Talk: Just do it engAgileee
 
Lightening Talk: Why do they leave
Lightening Talk: Why do they leaveLightening Talk: Why do they leave
Lightening Talk: Why do they leaveAgileee
 
Lightening Talk: definition of ready
Lightening Talk: definition of readyLightening Talk: definition of ready
Lightening Talk: definition of readyAgileee
 
Coaching creatives
Coaching creativesCoaching creatives
Coaching creativesAgileee
 
Agile and CMMI
Agile and CMMIAgile and CMMI
Agile and CMMIAgileee
 
20101008 agileee v11
20101008 agileee v1120101008 agileee v11
20101008 agileee v11Agileee
 
The art of the retrospective
The art of the retrospectiveThe art of the retrospective
The art of the retrospectiveAgileee
 

More from Agileee (20)

Robin Dymond: "Your Brain and Better Product Development"
Robin Dymond: "Your Brain and Better Product Development"Robin Dymond: "Your Brain and Better Product Development"
Robin Dymond: "Your Brain and Better Product Development"
 
Lyssa Adkins & Michael Spayd: The Essential Transformations: How Agile Calls ...
Lyssa Adkins & Michael Spayd: The Essential Transformations: How Agile Calls ...Lyssa Adkins & Michael Spayd: The Essential Transformations: How Agile Calls ...
Lyssa Adkins & Michael Spayd: The Essential Transformations: How Agile Calls ...
 
Anthony Marchenko: Опыт внедрения Kanban
Anthony Marchenko: Опыт внедрения KanbanAnthony Marchenko: Опыт внедрения Kanban
Anthony Marchenko: Опыт внедрения Kanban
 
Scrum and kanban
Scrum and kanbanScrum and kanban
Scrum and kanban
 
How To Change The World
How To Change The WorldHow To Change The World
How To Change The World
 
The Extreme Decade
The Extreme DecadeThe Extreme Decade
The Extreme Decade
 
Agile Testing. Risks, Uncertainty and Why It All Works
Agile Testing. Risks, Uncertainty and Why It All WorksAgile Testing. Risks, Uncertainty and Why It All Works
Agile Testing. Risks, Uncertainty and Why It All Works
 
Movivation 3.0
Movivation 3.0Movivation 3.0
Movivation 3.0
 
Effective Software Development in the 21st Century
Effective Software Development in the 21st CenturyEffective Software Development in the 21st Century
Effective Software Development in the 21st Century
 
Myths, Legends and Monsters of Enterprise Agility
Myths, Legends and Monsters of Enterprise AgilityMyths, Legends and Monsters of Enterprise Agility
Myths, Legends and Monsters of Enterprise Agility
 
Lightening Talk: Software craftsmanship
Lightening Talk: Software craftsmanshipLightening Talk: Software craftsmanship
Lightening Talk: Software craftsmanship
 
Lightening Talk: Lean start up
Lightening Talk: Lean start upLightening Talk: Lean start up
Lightening Talk: Lean start up
 
Lightening Talk: lama sutra of retrospective
Lightening Talk: lama sutra of retrospectiveLightening Talk: lama sutra of retrospective
Lightening Talk: lama sutra of retrospective
 
Lightening Talk: Just do it eng
Lightening Talk: Just do it engLightening Talk: Just do it eng
Lightening Talk: Just do it eng
 
Lightening Talk: Why do they leave
Lightening Talk: Why do they leaveLightening Talk: Why do they leave
Lightening Talk: Why do they leave
 
Lightening Talk: definition of ready
Lightening Talk: definition of readyLightening Talk: definition of ready
Lightening Talk: definition of ready
 
Coaching creatives
Coaching creativesCoaching creatives
Coaching creatives
 
Agile and CMMI
Agile and CMMIAgile and CMMI
Agile and CMMI
 
20101008 agileee v11
20101008 agileee v1120101008 agileee v11
20101008 agileee v11
 
The art of the retrospective
The art of the retrospectiveThe art of the retrospective
The art of the retrospective
 

Agile Lean Principles for Police Investigation Software

  • 1. Lean from the Trenches Oct 6, 2012 Agile Eastern Europe, Kiev Henrik Kniberg Agile/Lean coach www.crisp.se
  • 5. Lean principles Kanban XP Scrum Henrik Kniberg 5
  • 6. <dislaimer> No solutions. Only examples. </disclaimer> Henrik Kniberg 6
  • 8. PUST – Polisens Utrednings STöd 2011 2010 Henrik Kniberg 8
  • 9. Timeline First pilot Nationwide Project launch 1.0 1.1 1.2 1.3 1.4 1.5 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 2009 2010 2011 10 people 30 people 60+ people Henrik Kniberg 9
  • 10. Slicing the elephant Region Östergötland, Uppsala, etc 1.0 Crime types 1.1 1.3 1.4 (weapon, drunk driving, 1.2 shoplifting, etc) 1.5 PUST Integrations Henrik Kniberg 10
  • 11. User involvement Acceptance test Pilot users user group ”Customer” Onsite PUST Project user Henrik Kniberg 11
  • 12. Team structure & ”Daily cocktail party” 12 12
  • 13. Team structure - before Requirements 3 Test analyst Development team team teams ! ! #% #% !? !? Henrik Kniberg 13
  • 14. Improved team structure Requirements 3 System test analyst Feature team team teams Henrik Kniberg 14
  • 15. ”Daily cocktail party” 9:15 – 10:15 Henrik Kniberg 15
  • 16. 10:00 – 10:15 Project sync 9:45 – 10:00 9:45 – 10:00 Requirements Dev sync Test sync sync 9:30 – 9:45 9:30 – 9:45 9:15 – 9:30 Feature team 1 Feature team 2 Feature team 3 16 Henrik Kniberg
  • 18. Next 10 User Ideas Features Development System features acceptance Production test test FLOW Henrik Kniberg 18
  • 20. Cadences week 1 week 2 week 3 week 4 week 5 week 6 week 7 week 8 Retrospectives (2w) Planning (2w) Demo & systest (continuous) Release (2m) 20
  • 21. 21
  • 23. Impediments & escalation Feature General blocked impediments Can’t 2011-03-01! Police car = As police!t!! asdfasdfasdf tes r! ing fo der! I need tocode rea Wait scan! urgent (patch) bar So that JMmr! ch 12! !i a Henrik Kniberg 23
  • 25. Feature swimlanes Next 10 Dev Ready for Sys test features in progress sys test progress Henrik Kniberg 25
  • 26. Next 10 Dev Ready for features in progress sys test Dev Team 1 Dev Team 2 Dev Team 3 26 Henrik Kniberg 26
  • 27. Definition of ”ready for development” Definition of ”ready for system test” Henrik Kniberg 27
  • 28. Henrik Henrik Kniberg Kniberg 28 28
  • 29. How we handle tech stories 29 29
  • 30. Tech stories Next 10 features Ready for Development Next 5 tech stories Henrik Kniberg 30
  • 31. Example: the 7 meter class Henrik Kniberg 31
  • 32. ”Oh no, bottleneck in System Test! FLOW Henrik Kniberg 32
  • 33. Question of the week: How can we best contribute to system test today? Bottleneck ”Let’s stop building new features” ”... and focus on test automation!” Henrik Kniberg 33
  • 34. Everyone doing tech stories Henrik Kniberg 34
  • 36. Release Before: Test at end Test Fix %&@#! Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Week 8 Now: Release Test continuously Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Week 8 Test Fix Test at end: %&@#! Test continuously: Test Fix Time saved! Henrik Kniberg 36
  • 37. Bug fixing process Bug found! Yes Write sticky-note, Blocker? find developer, fix now! No More important Yes Replace one of than any of the the other current top 30? top 30 bugs with this one No Ignore it Don’t log it. Fix it NOW! Henrik Kniberg 37
  • 38. Three input queues Next 10 features Next 5 tech stories Next 5 lower priority bugs Henrik Kniberg 38
  • 41. Retrospectives every 1-2 weeks Henrik Kniberg 41
  • 42. Too much, too fast! Henrik Kniberg 42
  • 43. Limiting the rate of change ”A4” improvement proposal ”A4” improvement proposal ”A4” improvement proposal ”A4” improvement proposal Henrik Kniberg 43
  • 44. Proposal:  More  Customer-­‐Valued  Stories   Why?  What  Problem  Are  We  Trying  to  Solve?   DescripAon  /  FAQ   A  story  that  goes  into  development  must:   •  Hard  to  get  an  overview  of  the  project  board   1.  Be  size  S  or  M   from  customer  perspec7ve,  many  stories  are   2.  Be  as  customer  valuable  as  possible,  as  long  as  we  don’t   break  the  size  rule.   so  small  that  they  can’t  be  delivered.   The  requirements  team  ensures  that  each  card  under  ”Ready  for   Who  Is  Affected  By  The  Change?   Development”  is  a  customer-­‐valued  story  (regardless  of  size).   •  Requirements,  development,  and  test  teams.   However,  before  it  enters  development  it  must  be  S  or  M.     Ques7on:  What  happens  if  the  story  is  L,  and  must  be  delivered  as   What  Are  the  Change  ImplementaAon  Steps?   a  whole  before  it  is  valuable  to  the  customer?   •  Update  Defini7on  of  Done  for  ”Ready  for   •  Break  it  down  to  smaller  stories  (new  cards)  which  are  size  M,   but  with  highest  possible  customer  value  per  story.   Development”,  add  ”the  story  is  valuable  to   •  Visually  group  these  stories  by  wri7ng  the  name  of  the  higher   the  customer”.   level  feature  in  big  blue  leSers  at  the  top  of  each  card.   •  Go  through  the  board  &  iden7fy  stories  that   are  too  small  to  be  valuable.  Combine  these   into  bigger  stories  (as  long  as  they  don’t   exceed  Medium).   Example:   CONFISCATION Register Confiscation M Confiscation CONFISCATION L Remove Confiscation Henrik Kniberg S 44
  • 45. Limiting the rate of change ”A4” improvement proposal ”A4” improvement proposal ”A4” improvement proposal ”A4” improvement proposal Henrik Kniberg 45
  • 46. How we capture and use process metrics 46 46
  • 47. Process metrics "   Velocity = feature per week "   Throughput time = weeks per feature 47
  • 48. Velocity – stories per week Ready for acceptance test (this week so far) Ready for acceptance test (previous weeks) Velocity per week Henrik Kniberg 48
  • 49. Velocity-based release planning All of these will be done # of features Week delivered to Some of these acceptance will be done, test but not all None of these will be done 49 Henrik Kniberg 49
  • 51. Bed Total time! work Play time! Timeline Henrik Kniberg (5 minute 51 intervals)
  • 53. Velocity improvement Q2 6.5 features per Q1 week # of 3 features features per week delivered to acceptance test Week Henrik Kniberg 53
  • 54. Throughput time – weeks per feature Ready for Next 10 acceptance Throughput time (elapsed days) features test Henrik Kniberg 54
  • 55. Elapsed days Feature Henrik Kniberg 55
  • 56. Throughput time improvement Q1 6-14 weeks per feature Q2 3-6 weeks per feature Elapsed days Henrik Kniberg 56
  • 57. Surprising insight Average throughput time Small:  31  days   Medium:  37  days   Elapsed ”Small” & ”Medium” Large:  59  days   days features take roughly same amount of time Feature Henrik Kniberg 57
  • 58. How we track the high level goal 58 58
  • 59. High level goal Milestone Henrik Kniberg 59
  • 60. Death March Detection using gut feel Do you believe the current goal is achievable? 5 = certainly 4 = probably 3 = barely 2 = probably not 1 = forget it Henrik Kniberg 60
  • 62. Wrapup 62 62
  • 63. Setting the project up Incremental delivery for success Co-location Customer involvement 63
  • 64. Creating a culture of continuous improvement Clarity Communication Data Henrik Kniberg 64
  • 65. Perfection is a direction, not a place The important thing is not how you work. The important thing is how you improve the way you work! Henrik Kniberg 65