SlideShare una empresa de Scribd logo
1 de 17
Descargar para leer sin conexión
24.11.2009




 Agile Planning

    Artem Marchenko
    AgilDays.ru, December 9, 2009


               © 2003–2009 Artem Marchenko and Mountain Goat Software®




Artem Marchenko - background




               © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                 1
24.11.2009




What’s a good plan?
•   A good plan is one that supports reliable
    decision-making
•   Will go from
    •   We’ll be done in the third quarter
    •   We’ll be done in August
    •   We’ll be done August 18th




                          © 2003–2009 Artem Marchenko and Mountain Goat Software®




What makes planning agile?
      Is more focused on
    planning than the plan

               Encourages change

                      Results in plans that
                      are easily changed
                                 Is spread throughout
                                      the project
                          © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                            2
24.11.2009




Starting assumptions
•   We have a product backlog (prioritized feature
    list)
•   Items on the product backlog (user stories is my
    preference) have been estimated in story points
    or ideal days
•   We have a team with a known velocity
    •   We’ll relax this assumption shortly




                          © 2003–2009 Artem Marchenko and Mountain Goat Software®




An example with velocity=14
                                         Story A            Story F
 Sprint 1                               Sprints 3-4
                                                      5                   5
                                         Story B            Story G

                                                      8                   1
                                         Story C            Story H
 Sprint 2
                                                      3                 13
                                         Story D            Story I

                                                      5                   5
                                         Story E             Story J

                                                       1                  8
                          © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                            3
24.11.2009




Release and sprint planning

  Release Plan
   Sprint    Sprint   Sprint       Sprints 4–7
     1         2        3




                                         Task A       8 hours
                                         Task B      16 hours
                                         Task C       5 hours
                                         Task D       8 hours


                         © 2003–2009 Artem Marchenko and Mountain Goat Software®




            Agenda

            • Sprint planning
            • Estimating velocity
            • Release planning
               • Contracting on fixed-date
                 & fixed-scope projects




                         © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                           4
24.11.2009




                      © 2003–2009 Artem Marchenko and Mountain Goat Software®




Two approaches
•   Velocity-driven sprint planning
•   Commitment-driven sprint planning




                      © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                        5
24.11.2009




Velocity-driven sprint planning
•   “We finished 15 story points last time, let’s plan
    on 15 story points this time.”
•   Very unreliable in what will be accomplished
    during an iteration
    •   Velocity is mostly useful over the long term




                           © 2003–2009 Artem Marchenko and Mountain Goat Software®




Commitment-driven sprint planning
• Discuss the highest priority item on the product
    backlog
• Decompose it into tasks
• Estimate each task
• Ask ourselves, “Can we commit to this?”
    • If yes, see if we can add another backlog item
    • If not, remove this item but see if we can add another
        smaller one. Possibly by splitting the original story



                           © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                             6
24.11.2009




It looks something like this
As a user, I want ...        • Code the abc class (8 hours)
                             • Code the user interface (4)
                             • Write test fixtures (4)      26
                             • Code the xyz class (6)
                    2        • Update performance tests (4)


         Team can commit, so they continue...

As a user, I want ...
                             • Prototype the UI (8 hours)
                             • Demo UI to 3 outside users (3)
                             • Code new UI (12)            26
                             • Update documentation (3)
                    3
                         © 2003–2009 Artem Marchenko and Mountain Goat Software®




                    1


                                                2
                  time


                                               time


                         © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                           7
24.11.2009




                     © 2003–2009 Artem Marchenko and Mountain Goat Software®




How to estimate velocity
1
    Use historical values

           2
               Don’t, until you’ve run
                  a sprint or two
                        3
                                      Forecast it


                     © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                       8
24.11.2009




Forecasting velocity
•   Just like commitment-driven sprint planning
    •   Estimate available hours for the sprint
    •   Repeat until full:
        •   Pick a story, break into tasks, estimate each task




                              © 2003–2009 Artem Marchenko and Mountain Goat Software®




An example
•   Estimating available hours

             Person           Hours per Day            Hours per Sprint

             Sergey                  4-6                       40-60

             Kimmo                   5-7                       50-70

             Jarmo                   2-3                       20-30

                         Total                               110-160

                              © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                                9
24.11.2009




An example
                At 110-160 available hours per
              sprint, what is the team’s velocity?

    Code the ...    12
                                                                     Code the UI         8
     Do the...      8
                              As a frequent flyer, I
                                                                   Write test fixture    6
          48
Document the...     8
                                    want to...          3                  31
                                                                   Code middle tier     12
    Test the...     8
                                                                      Write tests        5
 Analyze the...     4         As a user, I want to...   5
 Document ...       8        As a vacation planner,
                                   I want to...         5                  50
                                                                          ...           50
                              As a frequent flyer, I
          20
        ...         20              want to...          2


                                    © 2003–2009 Artem Marchenko and Mountain Goat Software®




Put a range around it
•     You’re unlikely to have precisely forecasted the
      exact velocity the team will average
•     So, put a range around your velocity estimate:
                   Known team, domain,                      +5%
                       technology                           −10%
                                                            +10%
                                                            −25%
                      Unknown team,                         +25%
                    domain, technology                      −50%
     †Numbers  based on PMI advice on progressive
     accuracy of estimates.       © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                                     10
24.11.2009




Expressing velocity as a range

                        1.10       20                200 ÷ 20 = 10
   Estimated velocity
         = 18
                        .75        14               200 ÷ 14 = 15

   Adjustments                Total of
 from prior page           estimates on
    or intuition             product
                             backlog

         “Right now, before we start this project,
           our best estimate is that it will take
              between 10 and 15 sprints.”
                          © 2003–2009 Artem Marchenko and Mountain Goat Software®




                          © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                           11
24.11.2009




Create a range from historical
data
                                           Mean (Best 3) = 37
                                           Mean (Last 8) = 33
                                           Mean (Worst 3) = 28




          Sprints
                © 2003–2009 Artem Marchenko and Mountain Goat Software®




Predicting where we finish


          At our slowest velocity we’ll finish here
          (5×28)

          At our long-term average we’ll finish here
          (5×33)
          At our best velocity we’ll finish here (5×37)




                © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                 12
24.11.2009




Planning on contracted projects
    Fixed-date projects
                                      Fixed-scope projects

    A caveat
•   There are times you need to do this
    • So let’s look at some good techniques
•   Better though is try for a collaborative
    relationship with your customer
    • “You’ll have this team for each sprint, can
       direct them at the start of each, and stop
       when you have enough”
                            © 2003–2009 Artem Marchenko and Mountain Goat Software®




Fixed-date planning
          How much can I get by <date>?
1. Determine how many sprints you have
2. Estimate velocity as a range
3. Multiply low velocity × number of sprints
    • Count off that many points
      • These are “Will Have” items
4. Multiply high velocity × number of sprints
    • Count off that many more points
      • These are “Might Have items”


                            © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                             13
24.11.2009




Fixed-date planning: an example
   Desired
               30 June
release date
                                             Will have
Today’s Date 1 January

 Number of                          6×15
           6 (monthly)                          Might
  sprints
                                                have
   Low                              6×20
               15
  velocity
   High
               20                       Won’t have
  velocity

                    © 2003–2009 Artem Marchenko and Mountain Goat Software®




Fixed-date contracting
                       If you write a contract
                       for just the will haves:
                       • You won’t likely win the contract
  Will have            • But you’ll probably make money if
                         you do

6×15                   If you write a contract that
       Might           includes the might haves:
       have            • You will likely win the contract
6×20                   • But probably not make money on it

 Won’t have              It’s a risk issue
                         Where do you want to be?
                    © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                     14
24.11.2009




Fixed-scope planning
         When will all of this be done?
1. Sum all the backlog items the customer needs
2. Estimate velocity as a range
3. Divide total story points by high velocity
  • This is the shortest number of sprints it could
    take
4. Divide total story points by low velocity
  • This is the “most” sprints it could take

                      © 2003–2009 Artem Marchenko and Mountain Goat Software®




Fixed-scope planning: an example
     Total story points desired                    120
            Low velocity                            15
           High velocity                            20

120÷20=



120÷15=


                      © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                       15
24.11.2009




Fixed-scope contracting
    If you write a contract
    for the short duration:

    • You’ll likely win the contract
    • But may not make any money

                                If you write a contract
                                for the long duration:
                                 • You probably won’t win the contract
                                 • But will make money if you


                    It’s a risk issue

                    Where do you want to be?
                                © 2003–2009 Artem Marchenko and Mountain Goat Software®




Ranges
•   Notice in both cases we had a range
•   For a fixed date project, use a scope range:
    •   “By that date you’ll have all of these features and
        some of these.”
•   For a fixed-scope project, use a date range:
    •   “It will take us between 5 and 8 sprints to deliver all
        of those features.”



                                © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                                 16
24.11.2009




Artem Marchenko contact info


        artem.marchenko@gmail.com
     http://AgileSoftwareDevelopment.com
         http://twitter.com/AgileArtem




                © 2003–2009 Artem Marchenko and Mountain Goat Software®




                                                                                 17

Más contenido relacionado

Similar a Agile Planning

Agile Planning
Agile PlanningAgile Planning
Agile PlanningAgileee
 
Scrum Out Of The Nutshell
Scrum Out Of The NutshellScrum Out Of The Nutshell
Scrum Out Of The NutshellDougShimp
 
Scrum Out Of The Nutshell V3
Scrum Out Of The Nutshell V3Scrum Out Of The Nutshell V3
Scrum Out Of The Nutshell V3Doug Shimp
 
Getting Agile with Scrum
Getting Agile with ScrumGetting Agile with Scrum
Getting Agile with ScrumMike Cohn
 
Zh Tw Introduction To Cloud Computing
Zh Tw Introduction To Cloud ComputingZh Tw Introduction To Cloud Computing
Zh Tw Introduction To Cloud Computingkevin liao
 

Similar a Agile Planning (6)

Agile Planning
Agile PlanningAgile Planning
Agile Planning
 
Scrum Out Of The Nutshell
Scrum Out Of The NutshellScrum Out Of The Nutshell
Scrum Out Of The Nutshell
 
Scrum Out Of The Nutshell V3
Scrum Out Of The Nutshell V3Scrum Out Of The Nutshell V3
Scrum Out Of The Nutshell V3
 
Becoming Indie
Becoming IndieBecoming Indie
Becoming Indie
 
Getting Agile with Scrum
Getting Agile with ScrumGetting Agile with Scrum
Getting Agile with Scrum
 
Zh Tw Introduction To Cloud Computing
Zh Tw Introduction To Cloud ComputingZh Tw Introduction To Cloud Computing
Zh Tw Introduction To Cloud Computing
 

Más de Nikita Filippov

Project Manager - Глупая идея
Project Manager - Глупая идеяProject Manager - Глупая идея
Project Manager - Глупая идеяNikita Filippov
 
Lego симуляция © Alex Krivitsky
Lego симуляция © Alex KrivitskyLego симуляция © Alex Krivitsky
Lego симуляция © Alex KrivitskyNikita Filippov
 
Simple steps to makes great products
Simple steps to makes great productsSimple steps to makes great products
Simple steps to makes great productsNikita Filippov
 
Scrum в Заказной разработке
Scrum в Заказной разработкеScrum в Заказной разработке
Scrum в Заказной разработкеNikita Filippov
 
Innovation games for Agileee
Innovation games for AgileeeInnovation games for Agileee
Innovation games for AgileeeNikita Filippov
 
Who is Scrum Master Today?
Who is Scrum Master Today?Who is Scrum Master Today?
Who is Scrum Master Today?Nikita Filippov
 
Распределенный SCRUM - to be or not to be collocated collocated
Распределенный SCRUM - to be or not to be collocated collocatedРаспределенный SCRUM - to be or not to be collocated collocated
Распределенный SCRUM - to be or not to be collocated collocatedNikita Filippov
 
Командный старт
Командный стартКомандный старт
Командный стартNikita Filippov
 
Rugby, Scrum и командная работа
Rugby, Scrum и командная работаRugby, Scrum и командная работа
Rugby, Scrum и командная работаNikita Filippov
 

Más de Nikita Filippov (20)

Project Manager - Глупая идея
Project Manager - Глупая идеяProject Manager - Глупая идея
Project Manager - Глупая идея
 
6 scrum master
6 scrum master6 scrum master
6 scrum master
 
7 retro
7 retro7 retro
7 retro
 
5 risk
5 risk5 risk
5 risk
 
3 story mapping
3 story mapping3 story mapping
3 story mapping
 
2 bmg
2 bmg2 bmg
2 bmg
 
Lego симуляция © Alex Krivitsky
Lego симуляция © Alex KrivitskyLego симуляция © Alex Krivitsky
Lego симуляция © Alex Krivitsky
 
4 woz
4 woz4 woz
4 woz
 
Simple steps to makes great products
Simple steps to makes great productsSimple steps to makes great products
Simple steps to makes great products
 
Vietnam
VietnamVietnam
Vietnam
 
Story mapping
Story mapping Story mapping
Story mapping
 
Vision Crafting
Vision Crafting Vision Crafting
Vision Crafting
 
Lean startup
Lean startupLean startup
Lean startup
 
Customer Development
Customer Development Customer Development
Customer Development
 
Scrum в Заказной разработке
Scrum в Заказной разработкеScrum в Заказной разработке
Scrum в Заказной разработке
 
Innovation games for Agileee
Innovation games for AgileeeInnovation games for Agileee
Innovation games for Agileee
 
Who is Scrum Master Today?
Who is Scrum Master Today?Who is Scrum Master Today?
Who is Scrum Master Today?
 
Распределенный SCRUM - to be or not to be collocated collocated
Распределенный SCRUM - to be or not to be collocated collocatedРаспределенный SCRUM - to be or not to be collocated collocated
Распределенный SCRUM - to be or not to be collocated collocated
 
Командный старт
Командный стартКомандный старт
Командный старт
 
Rugby, Scrum и командная работа
Rugby, Scrum и командная работаRugby, Scrum и командная работа
Rugby, Scrum и командная работа
 

Último

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 

Último (20)

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 

Agile Planning

  • 1. 24.11.2009 Agile Planning Artem Marchenko AgilDays.ru, December 9, 2009 © 2003–2009 Artem Marchenko and Mountain Goat Software® Artem Marchenko - background © 2003–2009 Artem Marchenko and Mountain Goat Software® 1
  • 2. 24.11.2009 What’s a good plan? • A good plan is one that supports reliable decision-making • Will go from • We’ll be done in the third quarter • We’ll be done in August • We’ll be done August 18th © 2003–2009 Artem Marchenko and Mountain Goat Software® What makes planning agile? Is more focused on planning than the plan Encourages change Results in plans that are easily changed Is spread throughout the project © 2003–2009 Artem Marchenko and Mountain Goat Software® 2
  • 3. 24.11.2009 Starting assumptions • We have a product backlog (prioritized feature list) • Items on the product backlog (user stories is my preference) have been estimated in story points or ideal days • We have a team with a known velocity • We’ll relax this assumption shortly © 2003–2009 Artem Marchenko and Mountain Goat Software® An example with velocity=14 Story A Story F Sprint 1 Sprints 3-4 5 5 Story B Story G 8 1 Story C Story H Sprint 2 3 13 Story D Story I 5 5 Story E Story J 1 8 © 2003–2009 Artem Marchenko and Mountain Goat Software® 3
  • 4. 24.11.2009 Release and sprint planning Release Plan Sprint Sprint Sprint Sprints 4–7 1 2 3 Task A 8 hours Task B 16 hours Task C 5 hours Task D 8 hours © 2003–2009 Artem Marchenko and Mountain Goat Software® Agenda • Sprint planning • Estimating velocity • Release planning • Contracting on fixed-date & fixed-scope projects © 2003–2009 Artem Marchenko and Mountain Goat Software® 4
  • 5. 24.11.2009 © 2003–2009 Artem Marchenko and Mountain Goat Software® Two approaches • Velocity-driven sprint planning • Commitment-driven sprint planning © 2003–2009 Artem Marchenko and Mountain Goat Software® 5
  • 6. 24.11.2009 Velocity-driven sprint planning • “We finished 15 story points last time, let’s plan on 15 story points this time.” • Very unreliable in what will be accomplished during an iteration • Velocity is mostly useful over the long term © 2003–2009 Artem Marchenko and Mountain Goat Software® Commitment-driven sprint planning • Discuss the highest priority item on the product backlog • Decompose it into tasks • Estimate each task • Ask ourselves, “Can we commit to this?” • If yes, see if we can add another backlog item • If not, remove this item but see if we can add another smaller one. Possibly by splitting the original story © 2003–2009 Artem Marchenko and Mountain Goat Software® 6
  • 7. 24.11.2009 It looks something like this As a user, I want ... • Code the abc class (8 hours) • Code the user interface (4) • Write test fixtures (4) 26 • Code the xyz class (6) 2 • Update performance tests (4) Team can commit, so they continue... As a user, I want ... • Prototype the UI (8 hours) • Demo UI to 3 outside users (3) • Code new UI (12) 26 • Update documentation (3) 3 © 2003–2009 Artem Marchenko and Mountain Goat Software® 1 2 time time © 2003–2009 Artem Marchenko and Mountain Goat Software® 7
  • 8. 24.11.2009 © 2003–2009 Artem Marchenko and Mountain Goat Software® How to estimate velocity 1 Use historical values 2 Don’t, until you’ve run a sprint or two 3 Forecast it © 2003–2009 Artem Marchenko and Mountain Goat Software® 8
  • 9. 24.11.2009 Forecasting velocity • Just like commitment-driven sprint planning • Estimate available hours for the sprint • Repeat until full: • Pick a story, break into tasks, estimate each task © 2003–2009 Artem Marchenko and Mountain Goat Software® An example • Estimating available hours Person Hours per Day Hours per Sprint Sergey 4-6 40-60 Kimmo 5-7 50-70 Jarmo 2-3 20-30 Total 110-160 © 2003–2009 Artem Marchenko and Mountain Goat Software® 9
  • 10. 24.11.2009 An example At 110-160 available hours per sprint, what is the team’s velocity? Code the ... 12 Code the UI 8 Do the... 8 As a frequent flyer, I Write test fixture 6 48 Document the... 8 want to... 3 31 Code middle tier 12 Test the... 8 Write tests 5 Analyze the... 4 As a user, I want to... 5 Document ... 8 As a vacation planner, I want to... 5 50 ... 50 As a frequent flyer, I 20 ... 20 want to... 2 © 2003–2009 Artem Marchenko and Mountain Goat Software® Put a range around it • You’re unlikely to have precisely forecasted the exact velocity the team will average • So, put a range around your velocity estimate: Known team, domain, +5% technology −10% +10% −25% Unknown team, +25% domain, technology −50% †Numbers based on PMI advice on progressive accuracy of estimates. © 2003–2009 Artem Marchenko and Mountain Goat Software® 10
  • 11. 24.11.2009 Expressing velocity as a range 1.10 20 200 ÷ 20 = 10 Estimated velocity = 18 .75 14 200 ÷ 14 = 15 Adjustments Total of from prior page estimates on or intuition product backlog “Right now, before we start this project, our best estimate is that it will take between 10 and 15 sprints.” © 2003–2009 Artem Marchenko and Mountain Goat Software® © 2003–2009 Artem Marchenko and Mountain Goat Software® 11
  • 12. 24.11.2009 Create a range from historical data Mean (Best 3) = 37 Mean (Last 8) = 33 Mean (Worst 3) = 28 Sprints © 2003–2009 Artem Marchenko and Mountain Goat Software® Predicting where we finish At our slowest velocity we’ll finish here (5×28) At our long-term average we’ll finish here (5×33) At our best velocity we’ll finish here (5×37) © 2003–2009 Artem Marchenko and Mountain Goat Software® 12
  • 13. 24.11.2009 Planning on contracted projects Fixed-date projects Fixed-scope projects A caveat • There are times you need to do this • So let’s look at some good techniques • Better though is try for a collaborative relationship with your customer • “You’ll have this team for each sprint, can direct them at the start of each, and stop when you have enough” © 2003–2009 Artem Marchenko and Mountain Goat Software® Fixed-date planning How much can I get by <date>? 1. Determine how many sprints you have 2. Estimate velocity as a range 3. Multiply low velocity × number of sprints • Count off that many points • These are “Will Have” items 4. Multiply high velocity × number of sprints • Count off that many more points • These are “Might Have items” © 2003–2009 Artem Marchenko and Mountain Goat Software® 13
  • 14. 24.11.2009 Fixed-date planning: an example Desired 30 June release date Will have Today’s Date 1 January Number of 6×15 6 (monthly) Might sprints have Low 6×20 15 velocity High 20 Won’t have velocity © 2003–2009 Artem Marchenko and Mountain Goat Software® Fixed-date contracting If you write a contract for just the will haves: • You won’t likely win the contract Will have • But you’ll probably make money if you do 6×15 If you write a contract that Might includes the might haves: have • You will likely win the contract 6×20 • But probably not make money on it Won’t have It’s a risk issue Where do you want to be? © 2003–2009 Artem Marchenko and Mountain Goat Software® 14
  • 15. 24.11.2009 Fixed-scope planning When will all of this be done? 1. Sum all the backlog items the customer needs 2. Estimate velocity as a range 3. Divide total story points by high velocity • This is the shortest number of sprints it could take 4. Divide total story points by low velocity • This is the “most” sprints it could take © 2003–2009 Artem Marchenko and Mountain Goat Software® Fixed-scope planning: an example Total story points desired 120 Low velocity 15 High velocity 20 120÷20= 120÷15= © 2003–2009 Artem Marchenko and Mountain Goat Software® 15
  • 16. 24.11.2009 Fixed-scope contracting If you write a contract for the short duration: • You’ll likely win the contract • But may not make any money If you write a contract for the long duration: • You probably won’t win the contract • But will make money if you It’s a risk issue Where do you want to be? © 2003–2009 Artem Marchenko and Mountain Goat Software® Ranges • Notice in both cases we had a range • For a fixed date project, use a scope range: • “By that date you’ll have all of these features and some of these.” • For a fixed-scope project, use a date range: • “It will take us between 5 and 8 sprints to deliver all of those features.” © 2003–2009 Artem Marchenko and Mountain Goat Software® 16
  • 17. 24.11.2009 Artem Marchenko contact info artem.marchenko@gmail.com http://AgileSoftwareDevelopment.com http://twitter.com/AgileArtem © 2003–2009 Artem Marchenko and Mountain Goat Software® 17