Agile in Style 2013 Preso by Agilish Ganesh Chandrasekaran

Preview:

DESCRIPTION

Agile Coaching using the slides in this deck. Happy learning/reading/viewing.

Citation preview

Agile in StyleCourse Material for CSM

byGanesh Chandrasekaran,

BE, SCJP, CCD, CWD, PMP,CGBL, CSM, CGTG, CCCertified ScrumMaster

Vice President Public Relations of Cupertino Toastmasters

One Minute Thanks• “

The energ y of the m ind is the essence of life.”

• - The Philosophy of Aristotle • http://en.wikipedia.org/wiki/Aristotle

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

How I started this?• Giving a person one fish and you feed him

for a day.• Teaching a person how to fish, then you

feed him for a lifetime.• - Chinese Proverb

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Agile World• Agile Projects

• Agile Labs

• Agile Experiments

• Agile Strategies

• Agile Organizations

• Agile Families

• Agile SchoolsSource: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

• Agile Sports

• Agile Games

• Agile Sales

• Agile Marketing

• Agile Vacation

• Agile PLM

• Agile Leaders

What is Agile?

• Dictionary - Able to move quickly and easily

• Steve  Jobs truly embraced • agility • throughout his life

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Agile Frameworks

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc. - Survey is from Version One 2011 on overall Agile Projects

Scrum

Scrum+XP

Hybrid

Don’t Know

Agile Projects Success

Source: 2011 CHAOS report from the Standish Group. Analysis 2002-2010

ROI on AgilityStagesStages Team w/o testsTeam w/o tests Team with Team with

teststestsImplementatio

n 7 days 14 daysIntegration 7 days 2 days

Testing and bug fixing

Testing, 3 daysFixing, 3

daysTesting, 3 daysFixing, 2

daysTesting, 1 dayTotal: 12 days

Testing, 3 daysFixing, 1 dayTesting, 1 dayFixing, 1

dayTesting, 1 dayTotal: 8 days

Overall release 26 days 24 daysBugs in PROD 71 11 (85% decrease)

Source: William West all materials are copyright of iTech Argus Inc.

Topics to be coveredOverview of ScrumSprintsProduct BacklogThe TeamTracking ProgressMeetingsRelease Planning

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Overview of Scrum

Source: Online Sources

Scrum Process Inventors

•Scrum formalized at OOPSLA 1995

Source: Wikipedia

Dr. Jeff Sutherland Ken Schwaber

Agile where it started• “ The... ‘relay race’ approach to

product development...may conflict with the goals of maximum speed and flexibility. Instead a holistic or ‘rugby’ approach - where a team tries to go the distance as a unit, passing the ball back and forth-may better serve today’s competitive requirements.”

Source: Hirotaka Takeuchi and Ikujiro Nonaka, “The New New Product Development Game,” Harvard Business Review, January 1986.

Agile/Scrum Overview• A cross-functional team• self organized to develop, • improve continuously, and• deliver working software every sprint.

• Product Owner Owns the “What to build” decisions• ScrumMaster Owns the “Scrum process” decisions• Team Owns the “How to build” decisions

Source: William West & Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

The Agile ManifestoProcess and ToolsIndividuals and

Interactions over

Following a PlanResponding to Change over

Comprehensive DocumentationWorking Software over

Contract Negotiation

Customer Collaboration over

Source: www.agilemanifesto.org

Rugby Gamehttp://www.espnscrum.com/

Source: Online Sources

What is Agile/Scrum?• Scrum is an agile framework for

completing complex projects. Scrum originally was formalized for software development projects, but works well for any complex, innovative scope of work. The possibilities are endless. The Scrum framework is deceptively simple.

Source: http://www.scrumalliance.org/learn_about_scrum

What is Agile/Scrum?

Source: http://www.scrumalliance.org/learn_about_scrum

1. A product owner creates/updates product backlog.

2. Sprint planning, the team picks top priority stories.

3. Team creates a sprint backlog.

4. The team works on a sprint, usually two to four weeks.

5. Team meets every day to assess its progress.

6. The ScrumMaster keeps the team focused on its goal.

7. Sprint review to showcase the product.

8. The sprint ends with a retrospective.

9. Next sprint begins, with Step 1.

What is Agile/Scrum?

Source:http://swansegarconsulting.com/

What is Agile/Scrum?

Source: http://www.mitchlacey.com/resources/scrum-framework-flow-diagram

What is Agile/Scrum?

Source: Unknown

Sprint

A Sample SprintMonMon TueTue WedWed ThuThu FriFri MonMon TueTue WedWed ThuThu FriFri

9am9am10am10am11am11am12pm12pm1pm1pm2pm2pm3pm3pm4pm4pm5pm5pm

Spr int Spr int Rev iewRev iew

Re tro -Retro -spectivspectiv

eeSp ri nt Sp ri nt

Pla n ni ngPla n ni ng

Backlog Backlog

grooming

grooming

Daily Sync MeetingDaily Sync Meeting

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

5 Levels of Planning

Source: http://www.rallydev.com/

Level Frequency Who What

1 Vision 1 or 2 years once Product Owner, Executives Vision Statement

2Product Roadmap

1 or 2 years once Product Owner, Executives

Product Evolution / Schedule

3 Release1 or 2 years once

(Varies as per needs)

Team, Product Owner, ScrumMaster, Stakeholders

Features (aka “User Stories”)

4 Iteration Every Iteration Team & Product Owner Features (aka “User Stories”) + Tasks

5 Daily Daily Team Tasks, To Do, BurnDown

5 Levels of Planning

Source: wikipedia, all materials are copyright of iTech Argus Inc.

Sprint DonenessPotentially shippable productHigh QualityTestedCompleteTeam decides the DonenessWhat it does, it does very wellShow sample Doneness document

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Doneness DocumentDate Task

FALSE 31-Dec-12 All code is checked in SVNTRUE 30-Dec-12 Performed code level checks as per code review checklist

TRUE 30-Dec-12 Tested the component using multiple browsers

TRUE 30-Dec-12 All known issues updated in the Product backlog

TRUE 30-Dec-12 Test Caching of all componentsFALSE 31-Dec-12 All error messages/warning appearing in the log file resolved

FALSE 31-Dec-12 All log instances are pointing to the correct logger with the appropriate log level

FALSE 31-Dec-12 Tested components with real data

TRUE 30-Dec-12 Performed boundary condition checks – null values, very long strings, empty values, negative values etc

FALSE 31-Dec-12 Code should be properly commented

FALSE 31-Dec-12 Design doc should be updated as per implementation changes

FALSE 31-Dec-12 Change history in the code should be updated

TRUE 30-Dec-12 Presentation (HTML) code should be well-commented and indented as per Company standards

FALSE 31-Dec-12 Designed & coded as per established standards

FALSE 31-Dec-12 Functional testing - all applicable use cases should be documented and tested

TRUE 30-Dec-12 Automated testing - unit tests should be written, run and passing for all features - unit test coverage for a component should exceed 80% code coverage - only in rare cases where unit testing is no possible will exceptions be made

FALSE 31-Dec-12 Code reviewed by development lead

FALSE 31-Dec-12 Documented as needed for the components

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Definition of DoneFor the business For developmentFeature richness Code / design review

Usability Testing (manual / automated)

Performance Unit testsTiming System tests

Scalability RefactoringReliability Integration

Cross-cutting concerns DocumentationRegression failures

Source: William West all materials are copyright of iTech Argus Inc.

Architecture in AgileArchitecture is built over timeMore time on Architecture initiallyGradual decrease following sprintsUser valued stories less initially Gradual increase following sprints

Source: Mountain Goat Software

Sprint CommitmentThe team commits to stories.The business commits to leave priorities alone during the sprint.Sprint ends on same day every time.Drop scope if needed, but don’t extend.

Source: Mountain Goat Software

Product Backlog

Story WritingAs a <user type>, I <want/need/can/etc.> some goal, [so that <reason>].As a boy, I would like to grow up faster, so that I can drive a fast car.Stories are written by anyone.Stories can be added anytime.

Source: Mountain Goat Software

Acceptance CriteriaAdding test conditions for the story.

Can drive in all roads. Can have music during ride. Can go 0-60mph in 3secs.

Helps developer to code for needs.Helps tester to create test scripts.Test Driven Development to be followed.

Source: Mountain Goat Software

Acceptance CriteriaScenario 1: Account is in credit

Given the account is in creditAnd the card is validAnd the dispenser contains cashWhen the customer requests cashThen ensure the account is debitedAnd ensure cash is dispensedAnd ensure the card is returned

Source: http://dannorth.net/

Backlog GroomingReview the stories in backlogRe-prioritize due to changes in current demandsRemove unwanted storiesSplit epics to storiesProduct backlog healthy & up to date

Source: Mountain Goat Software

Product BacklogSource: Online Sources

Product BacklogSource: Online Sources

The Team

Product Owner RAR

Source: Mountain Goat Software

1 Defines the features of the product2 Prioritizes the product backlog3 Makes scope/schedule tradeoff decisions4 Responsible for the profitability of the

product5 Adjusts priorities as more is learned6 Accepts or rejects work results7 Product vision and strategies

ScrumMaster RAR

Source: Online Source

1 Be a team player2 Removes impediments from the team3 Information Radiator4 Support the Product Owner5 Facilitate creativity and empowerment6 Improve practices and tools as needed7 Communicate, communicate,

communicate

Scrum MasterSource: Online Sources

The Team

Source: Mountain Goat Software

1 Members should be full-time2 Self-organizing3 Self-discipline4 Self-awareness5 Typically 5-9 people6 Egos, gossip & attitudes are put aside 7 Common goal is Sprint GOAL

The Team8 Rather all of one thing at a time9 Does a little of everything all the time10 Decide doneness as a team11 Late to daily meetings have a rule12 Respond emails before leaving home13 Trust each other but verify14 Resolve conflicts in effective way

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

The Team1 Software Developers (UI/UX, Mid Tier, Back

End)2 Technical Architect(s)3 QA Engineer(s)4 Business Analyst(s)5 Technical Writer6 DBA7 Web Analytics Engineer

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Tenets of Tae Kwon DoCourtesy - to help each other Integrity - Team being whole & undividedPerseverance - Sprint GoalSelf-Control - Team is self-organizedIndomitable Spirit - Motivate Team SuccessVictory - Yes We Did IT!!!

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

“Tae Kwon Do and Scrum are both about doing the right thing in a situation rather than mastering a list of rules” - Mike Cohn

Team Building

Source: Five Dysfunctions of a Team and http://www.agilecoachinginstitute.com/student-stories/

Meetings

Sprint Planning• Who:

Team, ScrumMaster & Product Owner• Agenda:

Discuss top priority product backlog itemsTeam selects which items to do

• Why:Know what will be worked uponDiscuss backlog items enough to do them

Source: Mountain Goat Software

Sprint Planning contd.How full should a sprint be?

Unplanned timePlannable timeCorporate overhead

Estimate & AnalyzeTasks estimated 1-8 hoursHigh-level design is consideredTime boxed to 90 mins meeting time

Source: Mountain Goat Software

Sprint in DetailSprint 1 ActivitiesSprint 1 Activities

Sprint PlanningSprint Planning

Day 2 Eng. TasksDay 2 Eng. TasksDay 3 Eng. TasksDay 3 Eng. TasksDay 4 Eng. TasksDay 4 Eng. TasksDay 5 Eng. TasksDay 5 Eng. TasksDay 6 Eng. TasksDay 6 Eng. TasksDay 7 Eng. TasksDay 7 Eng. TasksDay 8 Eng. TasksDay 8 Eng. TasksDay 9 Eng. TasksDay 9 Eng. Tasks

Demo Prepare

Demo Prepare

Sprint ReviewSprint ReviewRetrospectiveRetrospective

Sprint Complete

Sprint Complete

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Sprint PlanningSource: Online Sources

Sprint PlanningSource: Online Sources

Exercise #1TEAM ATop 2 items for me1. ITEM No. 12. ITEM No. 2

TEAM BTop 2 items for me1. ITEM No. 12. ITEM No. 2

TEAM CTop 2 items for me1. ITEM No. 12. ITEM No. 2

TEAM DTop 2 items for me1. ITEM No. 12. ITEM No. 2

TEAM CTop 2 items for me1. ITEM No. 12. ITEM No. 2

Commitment DrivenPick high-priority story in backlogDecompose it into tasksEstimate each taskTeam members ask themselves: “Can we commit to this?”

If yes repeat with next story

Source: Mountain Goat Software

Velocity DrivenNeeds 4-5 sprints velocity chartUse average or previous sprint velocityGrab user stories equal to that velocityPossibly stop there, but some team:

Identify tasks for selected storiesSome then estimate those tasks

Source: Mountain Goat Software

Story PointsA measure of relative size of featureBased on the total effort involvedKey is the relative size of numbersTeam does best sizing in 2-3 sprints1,2,3,5,8,13,20,40,100Planning Poker once a month

Source: Mountain Goat Software

Daily Scrum/Sync UpDaily sync choose a time & stick to it15-minutes and that’s the maximumNot for problem solvingWhole world is invited, only team talkTo reduce other meetings

Source: Mountain Goat Software

Daily Scrum/Sync UpWhat did you do yesterday?What will you do today?What, if anything, is in your way?Each team member max 1-2 mins Prepare 5 mins previous day - 3Qs.

Source: Mountain Goat Software

Famous Story on Scrum• A Pig and a Chicken are walking down the road.

• The Chicken says: "Hey Pig, I was thinking we should open a restaurant!"

• Pig replies: "Hm, maybe, what would we call it?"• The Chicken responds: "How about 'ham-n-

eggs'?"• The Pig thinks for a moment and says: "No

thanks. I'd be committed, but you'd only be involved!"

Source: wikipedia

Daily Scrum/Sync StandupSource: Online Sources

Scrum Task BoardSource: Online Sources

Scrum Task BoardSource: Online Sources

Role: QA Engineer

Part A: I watched the Bond movie yesterday.The scene where friends take it on bad guys is awesome. I liked that scene very much. I am a Bond Fan.

Role: Tech Architect

Part A: I was googling about Automatic Hot Deploy in WebLogic 12C, this is an interesting theme. We should look at exploring this more for our project as well.

Role: Developer 1 Front EndPart A: I had a flat tire today morning, hence was delayed to work. I called AAA but they are slow in service. Does anyone know better road side services?

Role: Developer 2 Middle TierPart A: I saw the weather channel, tomorrow is going to snow. I am going to work from home. How about you guys?

Role: Developer 3 Back EndPart A: I saw the news channel, looks like Obama is going to create a new fund called Developer Association Fund. We all should discuss on this topic today, how it will impact us?

Exercise #2

Role: Not a Team Member (Chicken)Part A: I see you guys gather everyday same time. What exactly you guys discuss here?

Role: QA Engineer

I tested the story 123 User Login and completed 2 acceptance criteriaI will test today story# 321 File Upload No impediments

Role: Tech ArchitectI worked on story 234 Handling Large Files in upload designing the performance tuningI will continue today as well. No impediments

•Role: Developer 1 Front End•I had completed task 8 in story 245 authoring form English Today will take task 3 in story 246 authoring form multiple languages. I have impediment on detail of task 3. Impediment is how many languages to be translated is not in story. Need answer from product owner.

Role: Developer 2 Middle TierI had completed task 7 in story 245 authoring form English. Today will take task 2 in story 246 authoring form multiple languages. I have no impediment.

Role: Developer 3 Back EndI had completed task 6 in story 245 authoring form English. Today will take task 1 in story 246 authoring form multiple languages. I have no impediment.

Exercise #2

Role: Not a Team Member (Chicken)He/She should just watch the action - No talk.

Sprint ReviewTeam presents the productDemo of new features or architecture2 hours prep guidelineWhole team participatesInvite the world

Source: Mountain Goat Software

Sprint ReviewSource: Online Sources

Sprint ReviewSource: Online Sources

• “You improvise. You adapt. You overcome.”

• - Clint Eastwood • http://en.wikipedia.org/wiki/Clint_Eastwood

• “Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.”

• - Steve Jobs • http://en.wikipedia.org/wiki/Steve_Jobs

• “Without continual growth and progress, such words as improvement, achievement, and success have no meaning.”

• - Benjamin Franklin • http://en.wikipedia.org/wiki/Benjamin_Franklin

Sprint RetrospectiveWhat worked very well?What went wrong?How can we improve?Did we improve from last Sprint?30-60 minutes maximumDone after every sprintScrumMaster, Product Owner & Team

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Sprint RetrospectiveSource: Online Sources

Sprint Retro

Start - Stop - Continue

ROTI - Return On Time Invested

Sprint RetrospectiveSource: Online Sources

Agile Estimation

Estimation1 Relative Sizing2 Story Points3 Wideband Delphi (WBD Technique)4 PROBE Technique5 Planning Poker6 Ideal Time7 Affinity Diagram Estimating

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Relative SizingPick one and estimatePick second and compare and estimateQuestion yourself while estimatingIf any unknowns raise red flagMismatch then discuss and debateT-shirt sizes S,M,L,XL,XXL

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Wideband DelphiA consensus-based techniqueModerator finds experts for opinionModerator gets data from expertsModerator collates, sends for votingError by 40% accuracy by 80%Done after every sprintScrumMaster, Product Owner & Team

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

PROBE Technique

Proxy Based Estimating(PROBE)Experience on same type of featureEstimated quickly with accuracy

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Story PointsA measure of relative size of featureBased on the total effort involvedKey is the relative size of numbersTeam does best sizing in 3-4 sprints1,2,3,5,8,13,20,40,100Planning Poker once a month

Source: Mountain Goat Software

Planning Poker

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

BookBook NoNo Pts.Pts.1 Minute Manager 100 3

Winning Formulas 200 5

The Talent Code 176 5

Succeeding with Agile 450 8“Good friends, good books,

and a sleepy conscience: this is the ideal life.” ― Mark Twain

Planning Poker

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

RoomRoom Run 1Run 1 Run 2Run 2KitchenGarageLiving

WasherM Bed

1Bed 2Bed 3

House Moving Project

Ideal Time

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Time to complete no interruptions• Often expressed in days• 8hrs of ideal time could take 3

days• Longer if more distractions

“We provide reliable estimates” - James Shore

Affinity Diagram

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

1. Silent Relative Sizing2. Editing of wall3. Place Items into relative buckets4. Product Owner Challenge5. Get it into electronic tool

Velocity

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

1. Sum of story point in an iteration2. Varies from iteration to iteration3. Varies between different teams4. Helps Release Planning5. 3-4 iterations to stabilize velocity

Cycle Time

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

1.Story entered into the backlog date2.Date when team starts the story3.Date when the story is “done”• Working cycle time = Difference

between start and end date of story

Tracking Progress

Tracking Progress• Task Boards with task current view• Burndown Charts

• Release burndown chart• Sprint burndown chart

• Velocity chart• Show net progress• Promote transparency• Bad News is Good News (fail early than late)

Source: Mountain Goat Software

Velocity Chart

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Burndown Chart

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Combined Chart

Release Planning

Release Planning• Sprints to complete the total backlog • Use team velocity and total story points • Hardening Sprint as needed• Release Sprint as needed• Mean Time Between Failure(MTBF) test• Stress, performance or usability testing• Compliance testing, documentation

touchupsSource: Mountain Goat Software

Sample Release PlanPhase 1 ReleasePhase 1 Release

Regular SprintRegular SprintRegular SprintRegular SprintRegular SprintRegular Sprint

Hardening SprintHardening Sprint

Regular SprintRegular SprintRegular SprintRegular SprintRegular SprintRegular Sprint

Hardening SprintHardening Sprint

Regular SprintRegular SprintRegular SprintRegular Sprint

IT SprintIT Sprint

UAT SprintUAT Sprint

Release SprintRelease Sprint

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Succeeding with Agile

-Mike Cohn

Succeeding with Agile• Change is not top-down or bottom-up.• The end state is unpredictable. • Scrum is pervasive.• Scrum is dramatically different.• Change is coming more quickly.• Best practices are dangerous.• Cohn, Mike (2009-10-20). Succeeding with Agile: Software Development Using Scrum (p. 5). Pearson Education (USA).

Kindle Edition.

Source: Mountain Goat Software

Q&A

Good Luck Good Health Good Karma

Hope this has given an intuitive and informational sessionBest Regards

Ganesh ChandrasekaranScrumMaster 2.0

Global Agile CoachAgile Leader

Sample Projects

QuickTemp ThermometerProject CharterOverall Objective• To implement a robust thermometer that will allow for

easy use to read temperature quickly and accurately. Strategy• Re-usable strips to measure the temperature• Alternative to ear, nose, mouth temperature readers• Hygienic and child safe for appropriate usage

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

QuickTemp ThermometerProject CharterScope• QuickTemp Designer• Health specialist for Quality testing• QuickTemp to be better, faster, and cheaper• Easy to read temperature for children in 5 secs

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Critical Success FactorsKey Success Elements

Critical Success Factor Today Target

1 Ease of use for children Current thermometer not easy to use Ease of use

2 Better, Faster, and Cheaper 10 secs to read temp 5 secs to read temp

3 Accuracy to be close to 95% Not sure of accuracy 95% accuracy

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

QuickTemp Project1 Market Analysis2 Base Model3 Cost vs Benefit Analysis4 Safety measures for children5 Hygienic for re-use6 Ease of use7 Pediatric Certified

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Vacation Planning Guide• Show creating a backlog

• Show how backlog is prioritized• Exercise the Poker game for top 10

stories• Exercise commitment with story cards• Exercise the Daily Scrum Meeting• Show the artifacts displayed in demo

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

Build an Agile School• Teachers and Principal• Students admission• School policies and rules• School building construction• Monthly sprint cycle for grades• Retrospective for areas to improve

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.

• “Change is good. Changing frequently towards good makes you great.”

• - Ganesh Chandrasekaran

Source: Ganesh Chandrasekaran all materials are copyright of iTech Argus Inc.