The Agile Buffet Rule

Take all you want, but eat all you take. – Jay Packlick

I learned about the Agile Buffet Rule from the ever loquacious @jpacklick. This is not to be confused with the Warren Buffett Rule or even the Jimmy Buffett Rule. The concept, as it applies to Agile, is simple: Take as many stories as you want from the backlog, but make sure you have the available capacity to complete the work you take. I’ve noticed a trend at some companies where teams are not completing all of the work they have committed to, but calling the sprint successful. Often they are close to completing all their work; however I was taught to finish everything on my plate. Maybe it was the way I was taught Scrum in the old days, but I still feel if you don’t complete all the work you commit to, your sprint was not successful. It is very empowering for a team to be able to use velocity and capacity to plan their work, and have the costumer’s confidence that you will be able to finish what was committed.  For Agile to be successful, you need to to win the trust of the business. You do that by delivering what you promise.  It should be uncommon when you don’t finish all the work you signed up for. To be clear, I don’t have any problem with teams adding stretch goals to the sprint, so long as everyone understands they are stretch goals, and not part of the sprint commitment. You have a ten pound sack of potatoes and that’s all that will fit. Don’t try to put fifteen pounds in a ten pound sack. When I’ve observed teams committing to more work than they have in the past, the common question I ask is: what is different about this sprint versus the last one? In other words, what has changed since the last sprint that enables you to commit to a higher velocity?

So that begs the question: how do we ensure that we complete all the work we commit too? We can break the answer into two parts: Planning and Executing the Sprint.

Planning

The obvious answers are to make sure  you are not going over your velocity or capacity thresholds (velocity in points and capacity in ideal hours). Your velocity is an average of your points over time (sprints), which should be relatively stable. So do not take more story points than your velocity. Likewise, if you are doing your planning via WIP, Cycle Time, etc. the same rule applies: Don’t take more than your WIP allows, unless something has changed.

Your capacity takes into account the number of hours available for this sprint. So make sure you are accounting for any changes in team personnel, holidays, vacations, etc. One way to achieve this is to create a capacity sheet which takes into account a simple formula for each team member: number days in the sprint x number of ideal hours per days x % dedicated = available capacity. Here’s a quick explanation of the variables:

  • Number of days in the sprint: This is the total number of days, less any holidays, training, conferences, vacation days, etc.
  • Number of ideal hours per day: This is the amount of hands-to-keyboard-time you actually do on project work each day. It could be based on an 8 hour work day, less meetings, breaks, lunch, phone calls, responding to emails, etc. I’ve seen teams use as little as 2 and as high as 6. Never more than 8 unless they plan to work 12 hours days. To give you some relevant data, from a study we did at Nokia, the average team only spends a 1/3 of their day on actual project work.
  • % dedicated: It’s unfortunate, but many organizations continue to loan team members across teams. As a result, you may have team members dedicated less than 100% to the team. Thus, you must adjust their capacity accordingly. I don’t condone this, but it is reality.  For those that are interested in  why this is a bad idea, you can find it here in Kenny Rubin’s most excellent presentation on Economically Sensible Scrum.

The end result is the total number of hours, each team member has available to commit to the sprint. During Sprint planning, when tasks are created and assigned, the Scrum Master (or other team member) can reduce the number of hours available, per team member, each time a task is assigned.  You are free to sign up for tasks until your total reaches 0. Here’s and example of a capacity worksheet I typically use:

Capacity Planning Chart

Capacity Planning Worksheet

Sprint Execution (aka How to Finish what’s on your plate)

On what he thought of his team’s execution: “I’m in favor of it.” – The late Tampa Bay Buccaneer’s Football Coach John McKay

Using the information radiators in Scrum is paramount. Use of the burndown chart and other information radiators (Cumulative Flow Diagrams, Cycle Time, WIP, etc.) to make timely decisions is critical. If it becomes clear that you are not going to be able to complete everything on your sprint backlog, when should notify your customer/product owner? The answer is immediately. The more time the PO has, the better the options become. Don’t make the mistake of waiting, thinking things will improve, when the data is telling you otherwise. As pilots, we are taught to trust our instruments and not our gut. Why? Because wishing the situation was different won’t help. The data is telling you that failure is on the horizon, it is better to admit it and come clean. Doing anything else erodes trust. Be decisive and be proactive. What strategies can we employ to make sure we finish the sprint? Here are some suggestions (in no specific order):

  • Remove impediments – This strategy should be obvious, and hopefully, is being done on a daily basis.
  • Swarm – Can we gang up on unfinished work?
  • Add people/experts – perhaps we are struggling with a difficult story and the expertise exists outside of the team. With this strategy, you are essentially trying to increase your velocity.
  • Move the stories to different owners – It could be that the person working on the story, isn’t the best one suited for the work.
  • Work overtime – Not ideal, but can work as long as it doesn’t happen very often.
  • Move into a team/war room – Sometime getting together in a crisis can help bring ideas out faster.
  • Out of ideas? – Ask for help. This is not the time to be shy. Ask the team, ask your manager, ask your coach, the Internet, etc.

The key of course, to making use of these (or other) strategies, is early detection. None of these will work if you procrastinate.

 

Why Agile Projects Fail

I’m always interested in hearing about Agile projects that have failed. So, what do I mean by fail? An overly simplistic answer might be, failing to deliver on release commitments. In other words, customers and stakeholders have an expectation of your team to deliver X, and you end up delivering Y. Not simply a scope change, but something completely different than what was expected. Or perhaps there is a definitive release date and the team fails to meet it. I have encountered many reasons for Agile project failure: lack of people, lack of commitment, unexpected risks, failure to manage dependencies, etc. Arguably however, the most egregious is the failure to embrace the organizational and culture changes of the Agile Manifesto and principles. Many companies believe that simply doing the mechanics of an Agile methodology, such as Scrum (e.g. daily planning, demos, retrospectives, sprint planning, etc.) is all that is needed to be Agile. I submit that doing the mechanics of Scrum, doesn’t make your project Agile. What makes a project Agile is adherence to the principles and values of the Agile Manifesto.

To further illustrate my point, I present the following true story. Names are removed to protect the incompetent:

COO: You suggested we try using Scrum, however we’ve tried it before and it didn’t work for us.

Me: That’s unfortunate but interesting, I’d like to hear more. What happened?

COO: Well, one of our teams read some books on it, then tried to implement it for a couple of days. During that time, we didn’t observe any improvement, meanwhile the rest of the project fell behind.

I wish I could say that the last sentence was the punchline to a joke, but as mentioned previously, it is a true story. More commonly, when I hear about Agile projects that have failed, the methodology being used (FDD, Scrum, Kanban, etc.) is blamed for causing projects to fail; when in reality, the Agile methodology being used is merely exposing existing problems. Thus Agile is blamed for project failure due to the problems it caused.
As a coach, I try to set the expectations that Agile is similar to a spotlight: it is going to expose problems you didn’t even know you had. In addition, simply using an Agile methodology won’t solve your problems. True, Agile methodologies will give you some tools to help you solve the problems (e.g. retrospectives), however you won’t get the benefits of Agile unless you take action and solve the issues that have been exposed.

Better Daily Planning Meetings: Asking the Right Questions

When coaching teams and observing their daily planning (aka standup) meetings I often hear the following questions asked:

  • What did you work on yesterday?
  • What will you work on today?
  • What is impeding your work?

These same questions are asked even with experienced teams. But are these the right questions to ask in a daily planning meeting? I submit that teams that ask these questions are in need of a paradigm shift. Are the answers to these questions really what we want to hear? I doubt it. What we really want to know is: How are we doing towards our goals in this iteration? So the focus should be less on the work and more on what actually got completed. Try these questions instead:

What did you get done yesterday?

What will you get done today?

What is preventing you from getting work done?

In other words, the focus should be on completing work, not just doing work. It is a somewhat subtle yet important point, that has other ramifications on how we do Scrum: We need to be breaking tasks down into small enough chunks to get accomplished in a day. If our goal is to complete user stories and get them accepted every two-three days, then tasks should be one day or less in length (in ideal time). It also means if tasks (or work) are not getting completed on a daily basis, we may have hidden impediments.