Agile interview questions
29 questions with answers. 3,076 open jobs in India ask for Agile.
Why do we use story points instead of man days when estimating user stories?
I think one of the main advantages is that humans and developers specifically are actually pretty bad at estimating time. Think of the nature of development too -- it's not some linear progression from start to finish. It's often "write 90% of the code in 10 minutes and then tear your hair out debugging for 17 hours." That's pretty hard to estimate in the clock timing sense.
But using an abstraction takes the focus off of the actual time in hours or days and instead puts the focus on describing the relative expense and complexity of a task as compared to other tasks. Humans/developers are better at that. And then, once you get humming with those point estimates and some actual progress, you can start to look at time more empirically.
I suspect that there is also an observer effect that happens with time estimates that wouldn't happen with point estimates. For instance, the incentive to sandbag an estimate and deliver way "ahead of schedule" is going to be muted with indirection in a point based system.
From Software Engineering Stack Exchange: asked by Louis Rhys, answered by Erik Dietrich (CC BY-SA 3.0)
Agile for the Solo Developer
- By doing test-driven development
- By developing in small sprints
- By having a lot of contact with the customer
I remember reading a thesis about Cowboy Development, that is essentially Agile for solo developers. The thesis can be read here: Cowboy: An Agile Programming Methodology For a Solo Programmer (PDF)
From Software Engineering Stack Exchange: asked by kelleystar, answered by Federico klez Culloca (CC BY-SA 4.0)
Relationship between user story, feature, and epic?
They are very generic term actually. There is many way to interpret them, varying in the literature and how people see them. Take everything I say with a huge grain of salt.
Usually, an Epic comprise a very global and not very well defined functionality in your software. It is very broad. It will usually be broken down into smaller user story or feature when you try to make sense of it and making them fit in an agile iteration. Example :
Epic
- Allow the customer to manage its own account via the Web
Feature and User Story are more specific functionality, that you can easily test with acceptance tests. It is often recommended that they be granular enough to fit in a single iteration.
Features usually tend to describe what your software do :
Feature
- Editing the customer information via the web portal
User stories tend to express what the user want to do :
User story
As bank clerk,
I want to be able to modify the customer information
so that I can keep it up to date.I don't think there is really a hierarchy between the two, but you can have one if you want or if it fit how you work. A user story can be a specific justification for a feature, or a specific way to do it. Or it can be the other way around. A feature can be a way to realize a user story. Or they can denote the same thing. You can use both : User stories to define what bring business value and feature to describe constraint of the software.
User story: as a customer, I want to pay with the most popular credits cards
Feature support the GOV-TAX-02 XML API of the government.There is also the question of scenario, which are usually a way a Feature/User story will be executed. They usually map cleanly to a specific acceptance test. For example
Scenario : Withdrawing money
Given I have 2000$ in my bank account
When I withdraw 100$
Then I receive 100$ in cash
And my balance is 1900$That is how we define those terms where I work. Those definitions are far from a mathematical definition or a standardized term. Its like the difference between a right wing politician or a left wing politician. It depend where you live. In Canada, what is considered right wing may be considered left-wing in the United State. It's very variable.
Seriously, I wouldn't worry too much about it. The important is that everyone on the team agree on a definition so you can understand each other. Some method like scrum tend to define them more formally, but pick what work for you and leave the rest. After all, isn't agile about Individuals and interactions over processes and tools and Working software over comprehensive documentation?
From Software Engineering Stack Exchange: asked by nivlam, answered by Laurent Bourgault-Roy (CC BY-SA 4.0)
Are deadlines Agile?
Deadlines are a reality. Most times you have to have something by a certain date. It's unavoidable. Without deadlines, even agile projects can succumb to Parkinson's Law:
Work expands so as to fill the time available for its completion.
In other words, if your project can go on forever, it will.
In relation to deadlines, Agile tries to do a few things:
- Ensure that everybody can always see how much work will get done by the deadline
- Ensure that the most important features are completed first
- Ensure that the completed features are usable, in the sense that they don't depend on features that haven't yet been completed
- Ensure that development continues at a sustainable pace
That way, when the inevitable day comes, you don't have a useless pile of code, but a working, tested product with, hopefully, only the least important stuff unfinished. And nobody is surprised by the finished product.
So yes. "Agile" and "deadlines" can be perfectly compatible.
From Software Engineering Stack Exchange: asked by stevebot, answered by Eric King (CC BY-SA 3.0)
Does Scrum turn active developers into passive developers?
However, I now feel like I'm always getting told to do something, instead of deciding to do something.
This is a serious indicator that something has gone off the rails. An agile project should not feel like this. That "people over process" rhetoric should include "we don't force our people to do things that suck." Here are some ideas:
Are you doing "scrum but"? That is, part scrum, part some other thing. (ie: "We're doing scrum, but all our stories have to come from our PMO, not a product owner.") Lots of crazy crap is called Scrum these days.
Are you, personally, not involved in the process where you should be? I've known a number of people to be upset at the contents of stories, and it turns out that they only get involved once the story is in the sprint backlog. Talk with the product owner early on in the development of the story, and get your feedback in. (As the PO, they have the final say, but that doesn't mean they have to do it alone.)
In Scrum, the team is supposed to own the process, and it's expected that the process will change over time to suit the team's needs. Bring up your concerns at the retrospective. If you can come up with a process tweak to suggest, that tends to make it easier to sell for some teams.
From Software Engineering Stack Exchange: asked by Saeed Neamati, answered by Sean McMillan (CC BY-SA 3.0)
Is a large increase in velocity realistic in a Scrum environment?
Well, it's perfectly simple to increase velocity by 40% - just add 40% more points to all your estimates and do the same amount of work.
Given that this is so, it should be apparent why using velocity as a target is wrong, it just encourages inflated estimates.
A less glib answer is that your estimate already assumes you are going as fast as you can while doing everything correctly. The only way to really increase productivity by 40% is either to work overtime or to not do everything correctly. Both of these speed things up in the short term, but slow things down in the long term. And the long term in this case isn't very long, a month at the outside. The optimal long term strategy is to never go faster than your sustainable pace.
Peopleware talks eloquently about the issues of trying to force programmers into higher productivity , and is an often cited classic. But in general it won't be easy to change the mind of a manager that is going down the path that yours is. Your project may well be in trouble - this is certainly a red flag.
From Software Engineering Stack Exchange: asked by P2l, answered by psr (CC BY-SA 3.0)
Is Agile the new micromanagement?
You're describing managerial dictatorship, not agile. Agile is about incremental development in a field of changing requirements, not about dictating people how they individually go about doing their work.
From Software Engineering Stack Exchange: asked by Smith James, answered by Sami Lehtinen (CC BY-SA 2.5)
Dealing with failed sprints and deadlines
I see several fundamental management issues in your example:
if a Scrum-Addicts manager signs a "hard-deadline" contract, but adds only a safety margin of 33% in a situation where "a new system is involved", that is pretty reckless.
the availability of delivering at least x% of the features after one month could have been used to negotiate a contract where the customers pays the money at least partially when he gets only 80% of the features at the deadline. An all-or-nothing contract is something neither the software vendor nor the customer will benefit from - this means not just 0 money for the vendor, but also 0 features for the customer. And an all-or-nothing development methodology like "Waterfall" will only let you write such contracts, an agile approach offers additional possibilities.
looking at the results of the first one or two sprints should have made obvious to the manager that the team cannot meet the deadline. So he should have taken earlier actions, and re-prioritize the remaining tasks and features, or try to re-negotiate with the customer earlier. For example, the manager could have tried to downsize the scope of some of the remaining features, so the team could have delivered all features mentioned in the contract, but each of them in a reduced scope.
If a task turns out to take longer than you thought, no development methodology will save you from that. But an agile approach like Scrum gives management more opportunities to control what happens in that situation. If they don't make use of those opportunities, it is clearly their fault, not the team's, not the fault of "Scrum", and not the customer's fault because "he does not accept agility".
From Software Engineering Stack Exchange: asked by Andre Borges, answered by Doc Brown (CC BY-SA 3.0)
Why is agile all about the test-driven development (TDD) and not development-driven test (DDT)?
One of the benefits of a TDD approach is only realised when you also do emergent design.
So in your first analogy, you wouldn't write 100 tests, as there's no possible way that you'll know what your software will look like.
You write one test. You run it. It fails. You write the smallest unit of code to make your test pass. Then you run your test again. It passes.
Now write the next test, repeating the process above.
This might seem like a wasteful approach at the very beginning, when it's obvious what your code is meant to do, but the great thing with this approach is your test coverage is always high, and the code design is cleaner this way.
As a method, it goes hand-in-hand with pair programming; one pair writes the test, the next writes the code to make it pass, then writes the next test, and so on.
I even use this approach when writing a new class; the first test is a call to initiate the class constructor. But I haven't yet written the class, so it fails. Next I write the simple, empty class, and my first test passes.
Once you get into the mindset, it is very difficult to not be in it and code the "old fashioned" way.
I'd recommend working in a good Agile environment to learn this, or reading a few good Agile books (Clean Code and Clean Coder are both very good) to better understand.
From Software Engineering Stack Exchange: asked by nerdlyist, answered by Phil Riley (CC BY-SA 3.0)
Is the agile approach too much of a convenient excuse for cowboys
I believe if you're using Agile development as an excuse for cowboy-style programming, then you're not really following Agile development. Cowboys will always be cowboys, no matter what process you give them.
From Software Engineering Stack Exchange: asked by sipsorcery, answered by Dean Harding (CC BY-SA 2.5)
Can Agile/Scrum be used by 1 or 2 developers?
You sure can use certain agile principles in your projects, you don't have to use scrum, use whatever will work best for you. You can definitely benefit from some of XP methods and some scrum practices. But probably not "by book", 1-2 person team is just too small even for that little overhead scrum brings, start with what book says and then drop whatever you'll feel irrelevant after some time. Just don't drop retrospectives, it sure is worth the time spent discussing the problems you have, and finding solutions for them.
From Software Engineering Stack Exchange: asked by Dillie-O, answered by Dmitry (CC BY-SA 2.5)
When does pair programming work? When to avoid it?
Research compiled by Laurie Williams indicates that pair programming works best on industrial teams when
- Pairs work on specification, design, and complex programming tasks - experiments indicate that no quality improvement is shown when working on simple tasks in a pair but there may be speed improvements. Also note that pair "programming" often includes activities other than writing code.
- Each individual in a pairing has about the same level of expertise - while pair programming is great for training, pairs are most engaged when they are about on the same level.
- Roles rotate regularly - rotating regularly helps keep the current copilot engaged as individuals tend to contribute most when they drive or sense they are about to drive.
- Pairs rotate regularly - teams have expressed comfort in knowing about different parts of the system they are building. Pair rotation helps with knowledge transfer which reduces certain risks in the project. In an academic setting pairs are often assigned, however industry they are generally self-assigned often during stand-ups. In both cases, the pair is most effective when both individuals are willing participants who see value in the pairing activity.
In my personal experience I've found that my XP team spends about 60% of our development time pair programming on average. The remainder of the time is spent doing individual development. It is not uncommon to pair up to create an initial design, work alone on the design for a few hours, then come back together to finish tricky or difficult parts of the code.
I've also found that pair programming is most effective in approximately 1.5 to 2.5 hour blocks. Anything much less tends to require too much overhead to setup while much more and the pairs tend to get cranky and tired. Cranky and tired means you're not communicating well and might be letting defects slip into the system.
From Software Engineering Stack Exchange: asked by Paddyslacker, answered by Michael (CC BY-SA 2.5)
How to develop excellent software with agile methods?
The formal answer is you misunderstood agile, agile does not dictate requirements, stakeholders do. The core of agile is not to carve your requirements in stone but rather have them emerge as you go, in close contact with your client, benefiting from progressive insights.
But that's all theory. What you have witnessed is indeed a common trait of many software production lines that adopted an agile way of working.
The trouble is, listening to the customer and swiftly responding to the customer's needs often soon ends up in not doing any thinking about the product or doing any design at all. What used to be a pro-active process fed by vision and expertise can and often will deteriorate into a passive, entirely reactive process fed by the customer's wishes. This will lead to making just the bare necessities that "will do the job".
The automobile would never have been invented if manufacturers at the time would have been "agile" because all the customers were asking for was a faster horse.
This does not make agile bad though. It is a bit like communism. A great idea that hardly ever works out well because people are just people, doing people things. And the method/ideology/religion lulls them into the idea that they are doing well as long as they are going through the motions and/or following the rules.
[edit]
Slebetman:
It is ironic then that agile evolved out of the automative industry (namely Toyota).
Remember the golden rule of automation? "First organize, then automate". If you automate a broken process, the best that could happen is that you accelerate everything that goes wrong. The people at Toyota were not idiots.
The typical reason for adopting any new methodology is that things are not going well. Management acknowledges it, but they may not understand the core problems. So they hire this guru that gives a resiliant speech about Agile and Scrum. And everyone loves it. For their own reasons.
The developers may think "Hey, this might work. We would be more involved with business issues and we could provide input for filling this backlog. This could be an oppotunity to make sales and customer service understand what we do, why it is necessary, and we would have them out of our hair while we are transparently burning down what we agreed on." No more "stop what you are doing, this needs to be done now" by some dude you do not want to put off popping up at your desk.
Sales, customer service or the owner on the other hand may see it as a way to gain (back) control over this black box of a department that is presumably doing stuff that is necessary. They do not see what is happening in there but they are pretty sure the core of the problem is burried somewhere in there. So they introduce Scrum, install a product owner of their choice and all of a sudden they have all control, all the strings are in their hand. Now what?... Ehrr...
The real problem is often that the shop was not organized well in the first place and this has not changed. People have been assigned resposibilities they cannot handle, or perhaps they can but Mr. Boss is constantly interfering and ruining what they did, or (most often in my experience), crucial responsibilities have not been recognized or assigned to anyone at all.
Sometimes over time an informal organization will emerge in between the formal lines. This may then partly compensate for the lack of a formal structure. Some people just end up doing what they are good at, whether they have a business card to prove it or not. The blunt introduction of Agile/Scrum may ruin that instantly. Because people are now expected to play by the rules. They feel what they used to do is not appreciated, they get yellow little papers with little stories on it instead, the message will be: "whatever you were doing, no one cared". Needless to say this will not be particularly motivating on those individuals. They will at best start waiting for orders and not take any initiative anymore.
So things get worse and the conclusion will be that Agile sucks.
Agile does not suck, it is great for maintenance projects and can even be good for new developments if applied carefully but if the wrong people do not understand it or adopt it for the wrong reasons, it can be most destructive.
From Software Engineering Stack Exchange: asked by Frank Puffer, answered by Martin Maat (CC BY-SA 3.0)
How do you track what you and your team are working on day-to-day?
I talk to them.
Technology cannot solve social problems. You have short morning standups. What did you do yesterday? What will you do today? Any impediments?
If something sounds fishy (or I'm curious), I stop and ask questions: "You were working on XYZ yesterday, how'd that turn out?". This forces people to pay attention, and to actually know what's going on. It also keeps you the team lead in the loop (and paying attention, and knowing actually what's going on). This needs to be on time, and short (10 minutes max). Anything else and people won't "shelve" work. They'll stop and wait for the standup and then take time to get started again. Some will do that anyways, but it's largely unavoidable.
Then I stop by everyone's desk in the afternoon. Not every afternoon (though it might be more than every afternoon for new people), not at the same time, but around the same time (so it's both informal, and regular). "Any problems? Any impediments?"
You'll be surprised how often you'll encounter problems when people are one on one.
If people have no problems, great; get back to work. If they don't have problems all week? Problem. You're not challenging them enough, or they're not opening up. Ask how XYZ (that they mentioned in standup) is going. Make them explain things.
This isn't micromanagement. You're not telling them how to do their jobs. You're not babysitting them. You're there to remove impediments from their day to day life. You need information to do that. As long as you keep your team out of meetings, and project managers out of their cubes, then one person stopping by to help once a day isn't going to cause them grief. But all these interactions need to come from the "I am here to help you" vein.
Another thing I will do is review changesets (by myself, informally). I can then see how frequently people check in, how large their changesets are, how that matches what they reported, how often they re-do things, how many bugfixes they have, and so on. A work item changing status to "done" is nearly meaningless. Look at the code. Does it seem done?
note: One extremely serious side point: how big is your team? Is it more than 7 people? Of course you won't be able to keep track of everything going on if your team is too big.
From Software Engineering Stack Exchange: asked by Brian Brunner, answered by Telastyn (CC BY-SA 3.0)
How is architectural design done in an agile environment?
Disclaimer: I am an architect in an agile environment but, as Helmuth von Moltke the Elder says, "No battle plan survives contact with the enemy". In other words, practicalities mean that the exact letter of the guidelines cannot always be followed.
Most of the points raised above are followed as best the team can. However, principle 1 (The teams that code the system design the system) is really hard to follow when the team consists of tens (or hundreds) of developers split across different continents and time zones. This is nothing to do with the developers' skills or attitudes, more the logistical problem of them all being present to gather requirements from customers and understand existing complex systems.
So, how is the system design done? Using UML? Or a document that defines interfaces and major blocks? Maybe something else?
Often the architect identifies the major components then defines the interfaces between them (including nonfunctional requirements like security, speed and reliability) and delegates the internal design of the components to individual teams. This is a good compromise between letting the teams design their own components without requiring everyone to know everything about the system.
Every organization has its own set of standards for architectural designs and this sometimes varies from project to project within the organization. This design done before the team starts coding or as early as possible and usually contains (and is not a complete list):
- Expanded requirements and scope definition. These include use cases or user stories that flesh out the higher level business requirements. I personally like to use RFC 2119 for non-functional requirements. Design is based on and traced back to these. Although it may not fit the common definition of design, these are often just as important.
- An overview consisting of a high level network or component diagram and a page of text. This is for a very wide audience, from upper management down to dev and QA. This rarely uses UML or a defined notation due to the wide audience.
- Details for individual components, often focusing on the interfaces or APIs between them as mentioned above. Interfaces may be specified as method signatures in the target language with precondition and postcondition details. Components may have network diagrams, such as showing the layout of VMs in a cloud or data center and their networking arrangements. Relational databases will usually have Entity-Relationship diagrams.
- A list of architectural risks and their mitigations, if known. Like requirements, these demonstrate design decisions and trade-offs.
In short, the design of a system in an agile process is exactly the same as one in a traditional waterfall process. However, in agile environments, less of the design is done upfront and more of it is delegated to component teams. The key is determining how deep to go initially, which decisions to defer and identifying when decisions need to be made. Decisions that impact multiple development teams should be made earlier, especially scalability and security. Decisions like adding additional languages to an already internationalized product can be deferred until very late.
After the initial design is created, the architect works with each of the teams and reviews their designs. If additional design or design changes are required for a unit of work (such as a scrum sprint), the architect aims to have it available by the time that unit of work starts. The architect is also responsible for communicating any changes to affected teams or stakeholders.
From Software Engineering Stack Exchange: asked by BЈовић, answered by akton (CC BY-SA 3.0)
Story points for bug fixing tasks: Is it suitable for Scrum?
Ideally, your software should be bug-free after each iteration, and fixing bugs should be part of each sprint, so the work required to fix bugs should be considered when assigning story points (i.e., a task that is more likely to produce bugs should have more story points assigned to it).
In reality, however, bugs surface post-deployment all the time, no matter how rigid your testing; when that happens, removing the bug is just another change, a feature if you will. There is no fundamental difference between a bug report and a feature request in this context: in both cases, the application shows a certain behavior, and the user (or some other stakeholder) would like to see it changed.
From a business perspective, bugfixes and features are also the same, really: either you do it (scenario B), or you don't (scenario A); both scenarios have costs and benefits attached, and a decent business person will just weigh them up and go with whatever earns them more profit (long-term or short-term depending on business strategy).
So yes, by all means, assign story points to bugs. How else are you going to prioritize bugs vs. features, and bugs against bugs? You need some measure of development effort for both, and it better be comparable.
The biggest problem with this is that bugfixes are often harder to estimate: 90% or more of the actual effort lies in finding the cause; once you have found it, you can come up with an accurate estimate, but it is almost impossible to judge how long the search will take. I've even seen a fair share of bugs where most of the time was spent just trying to reproduce the bug. On the other hand, depending on the nature of the bug, it is often possible to narrow down the search with some minimal research before making an estimate.
From Software Engineering Stack Exchange: asked by palacsint, answered by tdammers (CC BY-SA 3.0)
Bug reopen vs. new
Characteristics do not equal causes. The new bug could have a different underlying reason, even though it appears to be the same. So, open a new bug and point it to the old one to help the developer.
From Software Engineering Stack Exchange: asked by KMoraz, answered by Dibbeke (CC BY-SA 3.0)
Should bugs be treated as stories or as tasks?
I use a modified version of Scrum with my teams in week long sprints. The product backlog is ordered from top to bottom in order of importance. The development team takes items off the top of the stack and works on them.
If the feature isn't done at the end of the week, we talk about what will be done at the end of the next sprint, and work continues on the incomplete items.
In Managing Bugs in Scrum, the author, Mark Summer, suggests treating bugs as the same as a partially implemented feature. If you really think about it, that's exactly what a bug is. It's a specific part of a feature that is not completely implemented.
I currently have a bug list and a feature list. I am considering merging them and treating the bugs as incomplete features, as suggested by the blog author. This will greatly simplify the challenges I face in prioritizing tasks, and it will make it easier for developers to pull tasks off the product backlog stack.
From Project Management Stack Exchange: asked by Vanuan, answered by jmort253 (CC BY-SA 4.0)
Daily standup vs. Micro-management
The Daily Scrum is not an update-to-management meeting!
From the Scrum Guide (emphasis mine):
The Daily Scrum is a 15-minute time-boxed event for the Development Team [...] This optimizes team collaboration and performance [...] The Scrum Master ensures that the Development Team has the meeting, but the Development Team is responsible for conducting the Daily Scrum. [...] The Daily Scrum is an internal meeting for the Development Team. If others are present, the Scrum Master ensures that they do not disrupt the meeting.
If someone outside the Team is asking for progress reports or otherwise attempting to micromanage during the Daily Scrum, the Scrum Master should request for him/her to stop.
If the developers are automatically reporting to someone outside the Team during the meeting (you can tell this if they always face someone during the meeting) even without being asked, then that someone should be removed from the meeting to remove this temptation.
If the developers are automatically reporting to someone inside the Team during the meeting (such as the Scrum Master), then steps should be taken by the Scrum Master to discourage this. For example, the Scrum Master could make certain to move about the room during the meeting, to prevent the person speaking from being able to see him/her (and, thus, force the person speaking to shift his/her attention to the group at large).
From Project Management Stack Exchange: asked by Danny Schoemann, answered by Sarov (CC BY-SA 4.0)
Why do all the teams that I have worked with always finish a sprint without completion of all the stories?
I cannot speak to your particular situation but yes, it is pretty common that not everything is done.
This is in fact a logical consequence of the structure of the team, and you being a developer are in a prime position to appreciate it.
Load and delay
If I were to ask you “do you run a server at 100% load?” you would likely laugh in my face. So I might follow up with “OK if that is ridiculous, what sort of load is acceptable?” and you might offer a number of responses including simply “how do you define load?”
But I think we could settle on the idea that more or less no matter what the definitions are, you would not like server loads above, say, 10-25% of capacity: certainly not much above 50%. And were I to ask you “why not?” you would very likely first give the Wrong Answer: that you’re worried about hardware failure. That’s a fair point but usually if you’re doing it right you’re already guarding against that risk. And then second you would give the Right Answer: that you’re worried about latency spikes. If the server doesn’t have spare capacity, it can’t begin a new request until it is done finishing up old ones. And that’s true of people, too.
The core problem is that a sprint model typically assumes one way or another that there is 100% developer load, and developers respond by padding out their estimates with safety buffer so that they can hopefully only operate under 50% load or so. Then you have natural problems dealing with the same two problems: hardware failure (employee burnout) and latency spikes (hey, Legal said one week ago that Floozels must only be awarded for the Flotsam that is also Jetsam—why isn’t this fixed now?!). In practice nobody wants to accept the latency spikes and so they simply throw story points of developer time out of the current sprint in order to keep latency low with their bosses and the business at large. Similarly any “some other issues came up” workloads appearing in stand-up have the same origin. So your developers are taking care of their own health and that means some amount of doing non-work, and this sometimes bleeds into losing story points; and your developers are doing one-off requests or unexpected workloads, and that sometimes bleeds into losing story points. Those are the two main sources.
In fact the problem is somewhat larger than this because safety factor in estimates is much much bigger than even the typical advice to “always multiply estimates by N” suggests. The reason is that the private estimate for completion completes the goal with, say, a 90-95% probability, which for realistic situations might already add a factor of 2 of safety versus the 50/50 chance of completion that we should idealistically be able to target; furthermore a PM then buffers those estimates with some additional padding anywhere from 20-100% when communicating with the business as a whole. Take any software project, and something like three-quarters or more is safety buffer. We devs would be completely scandalized at the idea that any project would ever run over-time or over-budget if we understood how much safety buffer we have to spare to complete it. The typical excuses we give, “oh we will be late because in our last week a hurricane took out our data center causing all of our systems to be down for several days, but the team worked together and pushed really hard and we got everything working and we’re only going to be late by three days” are laughable simply because given the safety buffer we should have delivered way before that hurricane hit.
Waste and purpose
Read the rest at the sourceFrom Project Management Stack Exchange: asked by GauravEdekar, answered by CR Drost (CC BY-SA 4.0)
Strict or pragmatic Scrum?
Scrum and Agile are loosely-defined. Every company implements it differently depending on how much they can "tolerate." I've worked on projects where we don't use sprints, and other projects where we break down stories to hourly items.
The best way to implement it is to use whatever practices benefit you, and leave whatever doesn't. While some "puritans" may complain that it's not scrum, reality dictates that unless people get benefit out of it (or see benefit in the process parts of it) they won't want to implement it.
From Project Management Stack Exchange: asked by Bastian Spanneberg, answered by ashes999 (CC BY-SA 2.5)
How long should an Agile Sprint be?
If you were new to Scrum and sprints, I would say you should start with some given length (3 weeks or 30 days) and check if it works for you and make changes if necessery. Instead, it looks like you are already familiar with sprints, so question is: what is your experience with sprint duration? Do you have any doubts which makes you ask the question?
I can see couple of influencing factors:
- Sprints come bundled with some additional time cost (meetings, plannings, demo, free day also?). Too short sprint means work/cost ratio will be low.
- Sprints should deliver. If you choose too short sprints, some of them will be dummy ones: with sprint goal not achieved, with almost nothing interesting to show on demo, sprint goal will be a stub itself and retrospectives will tend to be dull. In other words, sprint will fail to deliver.
- ...and deliver frequently. If you choose too long sprints, you will probably notice: overcrowded demo, too many goals per sprint and retrospectives where nobody remember what happened at the begining of the sprint. Client will be "flooded" with features once the sprint is over, so sprints are not frequent (agile) enough.
- There should be no delays between sprints. Do the demo, retrospective, backlog evaluations, (day off if there is such rule) planning meeting and start the next sprint. You should take a closer look at the 5th week as it takes 20% of your time. You can probably eliminate bugs in sprint time, make deployment easier and regarding PO's: they should have tasks for the next sprint prepared already, shouldn't they?
I can not give you the exact number of days sprint should take, as what I said above is tightly connected to the team quality, technology and architecture used, and product you are working on. It is probably not the best idea to change the sprint length too often because it affects your and team ability to predict velocity.
From Project Management Stack Exchange: asked by amelvin, answered by Bartosz Rakowski (CC BY-SA 3.0)
How can a Scrum daily not be a status pull?
Collaboration at the Daily Scrum
Where is the collaboration part?
The collaboration is based on the assumption that the Developers are not working in silos, and that they have interdependencies. The purpose of the Daily Scrum is to plan the upcoming daily work cycle. The 2020 Scrum Guide says:
The Developers can select whatever structure and techniques they want, as long as their Daily Scrum focuses on progress toward the Sprint Goal and produces an actionable plan for the next day of work.
In other words, the reliance on the "three questions" is no longer prescribed or recommended, but you can still use them in the unlikely event that the Developers actually find them useful. However, they were dropped primarily because they shifted the focus away from collaboration and towards status reporting, especially about individual progress or specific Sprint Backlog items. That's why it's now considered an anti-pattern: the focus of the meeting should be on collaborative progress towards the Sprint Goal.
Instead, the Developers should be discussing the current day's work (or possibly the next day's, if the Scrum is held at the end of the day). Assuming the Daily Scrum is held closer to the start of the day, there are some core things the Developers need to collaborate on, such as:
- What do they need from each other today?
- Are there things they need help from the rest of the team with today?
- Are they waiting on something from someone else today?
- Does the team need to set up a meeting to discuss something today?
- Et cetera, so forth, and so on.
The point here is that it's just-in-time coordination and planning between Developers, not a status report. The content of the coordination and planning is really up to the Developers, so long as it meets the objectives of building the Increment and advancing towards the Sprint Goal.
Planning Additional Meetings
Note that the Scrum Guide also says:
The Daily Scrum is not the only time Developers are allowed to adjust their plan. They often meet throughout the day for more detailed discussions about adapting or re-planning the rest of the Sprint’s work.
So, the Daily Scrum is ultimately about just-in-time planning and coordination between Developers. This goes beyond just the current day's work, although that's the primary focus; it's also about coordinating whatever else is needed to make progress towards the Sprint Goal, including setting up additional meetings or discussions. The Daily Scrum itself is time-limited and scoped to things that need to be planned or coordinated short-term (including additional meetings) rather than trying to boil the ocean within a fifteen-minute time box.
From Project Management Stack Exchange: asked by Vorac, answered by Todd A. Jacobs (CC BY-SA 4.0)
How to allow developers to get enough quality development time while keeping to support & maintenance obligations?
I'm a bit unclear how you are managing the management/support requests. Actually, I'm unclear whether you are managing them at all. You need to manage these requests, to protect your developers.
Software developers can only be productive if they have extensive time "in the zone". Interruptions are the number-one thing that can kill developer productivity and morale. If you're constantly in interrupt mode, where you are interrupting them for some new request, then you're probably doing it wrong.
Instead, it sounds like you need to have a queue for support/maintenance requests, where they are assigned a priority. Rather than immediately implementing them, why don't you let them wait in the queue until when you are scheduled to work on them?
Have you considered deciding what fraction of time you want to spend on maintenance vs new development, and then assigning your developers a schedule accordingly? For instance, if you want to spend 25% of your time on maintenance/support and 75% of your time on new development, then you have several options: you could assign each developer one week of the month where they are on maintenance/support and 3 weeks of the month where they are on new development. When a new support/maintenance request comes in, it goes into the queue, gets assigned a priority, and then when a developer has scheduled time for maintenance/support, they start pulling the highest items from the queue until their scheduled time is over.
One thing is clear: you need to start making some prioritizations. If any time someone sends you a maintenance/support request, you immediately "jump right on it", then you've implicitly made a priority decision: you've decided that every maintenance/support request (no matter how minor) is more important than new development (no matter how important). If that doesn't match the priorities that make the most sense for your business, maybe you need to re-consider how you are prioritizing and how those priorities are reflected in your team's work.
Once you start prioritizing, it's possible you may discover you can't do everything with your existing team. At that point, you have two choices: hire more developers, or accept that there are some tasks you cannot and will not do with your existing resources.
From Project Management Stack Exchange: asked by 3urdoch, answered by D.W. (CC BY-SA 3.0)
Advice for dealing with a cowboy programmer in an agile team
By the sounds of it you have isolated this issue to the developer and that (imo) means you need to modify your process to ensure issues like this don't continually occur or modify the interactions with this developer.
On a side note, don't count out the tasks / stories on the board as being a potential cause of this scope creep.
Scope creep is resulting from a poorly understood user story:
Have you INVEST'ed in writing good user stories?
Do your stories have clearly defined acceptance criteria (Acceptance criteria are the requirements that have to be met for a story to be assessed as complete) ?
If your answer to these questions is yes, then you may want to talk to the team about modifying the process when a team member picks up a task from the board to include a discussion with the Product Owner (or whom ever is representing the PO). This discussion is simply intended to make sure the developer has a clear understanding of what "Done" means.
Scope creep is a symptom of the developer and not the process:
You need to have a candid discussion with this individual. They need to know that the scope creep they are adding to the stories they work on is affecting the project and the desired outcome of the story. If they have "ideas" you should encourage that they bring them forward but not blindly code them into the story.
If their behavior does not change after having this discussion then I would remove them from the team.
Scope creep is a symptom of the teams definition of done:
How are stories accepted as done on your team? By the sounds of it you are saying that when the story is moved to "done" is has a large amount of bloat added to it, but it is still moved to done and "accepted".
On any team I have worked on, if the "bells and whistles" did not add to the user story (or sometimes even if they existed) I would have rejected it and moved it back to in progress until the acceptance criteria had been met for that story. You do this a few times and it become pretty evident to individuals they should be developing the bare minimum that meets the stories acceptance criteria
Scope creep is a symptom of the individuals design:
Is design being vetted by the team prior to a developer coding on the story? If not, this could be something you add to your process in the form of a design session. Be sure to include the PO or PO representative to ensure that the proposed design is the bare minimum to meet the stories acceptance criteria. Note, that this design session could simply be an ad hoc discussion in front of a whiteboard.
From Project Management Stack Exchange: asked by eMgz, answered by Jesse (CC BY-SA 3.0)
How do you schedule delivery dates in Scrum?
TL; DR
Agile release planning is based on fixed-length, normed-capacity cycles that operate on dynamically-planned and dynamically-scoped features. In Scrum, fixed-date release planning must be handled by controlling scope to meet the deadlines, as you cannot have both fixed-date and fixed-scope deadlines simultaneously. This is rarely a practical problem, but can be a political one in non-agile shops.
How to Perform Agile Release Planning
Agile release planning is based on iterations. In order to do calendar- or time-based release planning in Scrum:
- The entire Product Backlog is given a rough estimate, usually at the level of epics rather than detailed user stories.
- A fixed Sprint length is determined. 2-4 weeks are common values; this length should not change during the lifecycle of the project without recalculating Sprint capacity and adjusting release schedules.
- A velocity is calculated based on the team's past performance, or on an "educated guess" if no past performance is yet available.
- A fudge factor for the cone of uncertainty is applied. This is commonly 0.6 for new teams or for projects with large cones of uncertainty during initial project planning, but fudge factors are inherently variable and can be adjusted to fit currently-available knowledge about the problem domain, the team, and available resources.
- A planning velocity is calculated, e.g.
estimated velocity * fudge factor. Number of iterations for a release are calculated using the following variables and formula:
- e = aggregate estimate of all Product Backlog Items
- v = planning velocity
- i = estimated iterations for release, rounded up to nearest whole number
e / v = i
The i value can be turned back into a calendar or time estimate by multiplying interations by the length of the Sprints in weeks or months, e.g.
i * 2.
A Worked Example
Let's say you have a total backlog of 200 story points, and plan to use a two-week Sprint length. Your team's historical velocity is 20, but this is a brand-new project with a large cone of uncertainty, so your fudge factor is the standard 0.6 multiplier; as a result, your planning velocity is 12 story points per Sprint after applying the fudge factor.
So, your release plan for all of the Product Backlog Items would be:
200 / 12 = 17 SprintsYou then turn this into a calendar or time estimate with:
17 * 2 = 34 weeksBased on this information, your project schedule will state that it will take approximately 34 weeks to ship all the features currently in the Product Backlog. This is an estimate based on the information currently available, and should be treated as a planning value rather than an ironclad guarantee.
Adjust Scope During Inspect-and-Adapt Inflection Points
As the project progresses, the cone of uncertainty narrows and the team can make more accurate estimates about the amount of remaining work on the Product Backlog. In addition, a properly-functioning Scrum team will become more accurate about measuring its velocity as the project continues, so the release-schedule calculations should be redone from time to time to "true up" the schedule based on more accurate data as it becomes available.
In addition, the Product Owner may add or remove scope (in the form of Product Backlog Items) throughout the project. This will expand or reduce the scope of the project, and will obviously impact the estimated schedule. Changing project scope should generally trigger a recalculation of the release date when that happens.
Read the rest at the sourceFrom Project Management Stack Exchange: asked by John, answered by Todd A. Jacobs (CC BY-SA 3.0)
Should I cancel the daily scrum if the team has only minor issues to discuss?
If You Aren't Planning Together, You Aren't Working Together
The Daily Scrum is not for addressing "issues," minor or not. It's a just-in-time planning meeting for the Developers to collaborate on the current day's work. If there are issues or blockers identified that won't easily fit within the time box of the Daily Scrum, then this is the time to coordinate who will meet to discuss it, and when that discussion will happen—in other words, coordinating and planning around the issue!
The Daily Scrum is a mandatory framework event. In fact, the 2020 Scrum Guide says (emphasis mine):
To reduce complexity...[the Daily Scrum] is held at the same time and place every working day of the Sprint.
If the team routinely has nothing to discuss during the Daily Scrum, then that's a whiffy project smell indicating that the team is not actively collaborating around a central coherence for the Increment, or that the team may not actually be doing Scrum.
The Daily Scrum Can Be Shortened, When Appropriate
You can certainly trim the length of the Daily Scrum on days when the just-in-time planning and coordination takes less than the maximum of 15 minutes. If you meet for five minutes and none of the Developers have anything else to talk about, everyone gets ten minutes back in their day. If the purpose of the meeting has been fulfilled, you don't have to keep going until you exhaust the time box. However, to implement Scrum properly, you need to provide the framework events like the Daily Scrum at predictable intervals on a reliable cadence. This ensures the entire Scrum Team can rely on the event cadence to coordinate things you may not have thought about ahead of time, and that last-minute planning concerns have a clear place to be addressed each day.
Doing anything else actively works against the empirical control process and the underlying framework. Don't do that.
From Project Management Stack Exchange: asked by user43394, answered by Todd A. Jacobs (CC BY-SA 4.0)
Which Scrum certification provider is most widely recognized or accepted?
There isn't much of difference in recognition/acceptability of both certifications.
One big difference is that to get Scrum.org Professional Scrum Master I you don't have to go to the training. They offer trainings, but they're optional. You only need to pass online exam and you can even try out your knowledge for free in online assessment. Despite requirement of getting 85% on PSM I exam, it's very simple and most of the questions are obvious.
For scrumalliance.org Certified Scrum Master, their training is mandatory and for many years training was all it took to get certification. That's right: no exam. So, the value of certification was next to nothing. Now it changed and you need to pass exam.
I'm holding both of these and attended both what I would recommend: if you're looking to get certification, go with Scrum.org PSM I - you won't have to invest money in training.
If you want to get to Scrum training, I would focus not on ScrumAlliance vs Scrum.org, but rather on specific trainer. Unfortunately both organizations have great and bad trainers and before investing money into Scrum training I would suggest asking someone for opinion on specific trainer.
From Project Management Stack Exchange: asked by Incognito, answered by Piotr Uryga (CC BY-SA 3.0)
Why does management have to "buy into" Scrum?
Speaking from experience...
I once attempted to bring Scrum into a situation where:
- We currently had little-to-no defined process for development - people just got assigned work, did it, then got more work.
- Our direct manager was indifferent/mildly hostile (think "I don't like this new-fangled way of doing things, but I'll let you work how you want. Just keep me out of it.")
- The Team was relatively enthusiastic but used to a non-Agile mindset
- The CEO was very waterfall-oriented (and communicated only with other executives, who were also waterfall-minded).
- I, someone who had 3 months' experience as a developer in Scrum, was chosen as the Scrum Master (as no one else knew anything about it), with no budget for training or hiring an Agile Coach.
Now, while this might sound like a disaster, it wasn't... terrible. We completed our big, 2-year project only about half a year late, and having completed all features.
However, we could have done better.
We tried to keep the manager aware of our process and status, but he grew increasingly uncomfortable (due to how strange he found it), and eventually simply wanted no part of it... and was later upset at being blind-sided by a certain delay in the project that, had he been involved, he could have mitigated.
As I noted, we completed all features... because once a feature was accepted, it must be included... even if the users never really wanted it in the first place. There were some features that, years later, had never been used once. Had we started by developing a Minimum Viable Product and then soliciting further requirements, those features would have shriveled up and died. But we were forbidden from showing the incomplete product to the users.
Nonetheless, both my Team and I felt, at the end, that our mangled, half-Scrum approach was better than what we'd had before. We didn't regret attempting it, even without stakeholder buy-in. It just could have been so much more.
You added:
What is it that Management doesn't see that they don't like not seeing? You don't have deadlines and budgets using Scrum?
in response to:
Many traditional managers are accustomed to "knowing" Scope, Budget and Deadline upon committing to a project.
The point is that in a Waterfall mindset, the idea is to plan enough that you are capable of divining the future, and therefore, once development has started, you get fixed scope and fixed cost and fixed schedule. Because they won't change, because you planned perfectly and the future never changes.
In an Agile mindset, you can only ever have, at most, 2 of those being fixed. Because you can't ever accurately predict the future, because the future will change. So there must be room to adapt. If all three iron triangle constraints are fixed, then there is no room to adapt.
Yeah, but you can't put them off forever. What do you say, "Oh, btw, this will change and we can't know when it will be complete?"
If you have fixed cost and fixed scope, then yes, you cannot know when a feature will be complete - until it is. As you get closer to that point, the cone of uncertainty narrows, but it only becomes a point once the feature is done.
Anything else is blinding yourself to reality by pretending you know when something will be done, when you actually don't.
From Project Management Stack Exchange: asked by johnny, answered by Sarov (CC BY-SA 3.0)
Related topics
Where these questions come from
Open-source collections on GitHub, official documentation, a government careers service and the Stack Exchange sites, each used under its own licence. The answers are the authors' own words: we only tidy the layout, leave out pictures, and cut a long answer with a link to the rest. Stack Exchange answers stay under CC BY-SA and name who asked and who answered.
- Software Engineering Stack Exchangeby its contributors, named on each answerCC BY-SA17 questions
- Project Management Stack Exchangeby its contributors, named on each answerCC BY-SA12 questions