Discussion: Agile not suitable for governmental IT?
Join the DZone community and get the full member experience.Join For Free
the recent article agile will fail govit, says corporate lawyer is rather controversial but very valuable. its value lays not in its claim that agile cannot work in governmental environment, something i quite disagree with, but in its presentation of how (inaccurately) agile is/may be perceived in this environment and of obstacles posed by such an environment to any (and especially to agile) development.
the article reveals a fundamentaly psychological and social issue. it doesn’t question the ability of agile to deliver projects much more successfully than waterfall. the laywer, alistair maughan, doesn’t speak at all about projects’ results. he speaks about fear (to bear the consequences of a failure) and constraints present in governmental environment. thus it’s pointless to argue about benefits of the agile and absurdity of the waterfall approaches. the key to a successful project is to understand those constraints, lift them as much as possible, and create a security structure for both governmental officials and the supplier to be able to work within those constraints safely. we shouldn’t forget that there are also smart people in the government agencies who will gladly accept a methodology that leads to better results as long as they are safe from being denounced on the front side of newspapers as bad public servants when something goes wrong.
that, of course, isn’t easy. but successful agile projects in the public domain prove that it is possible.
an agile approach will never be able to deliver a large, multi-year project within budget, with agreed upon (detailed) features, and on time. of course a waterfall approach won’t be able to do that either – but, contrary to agile, it can pretend that it can do it. it will fail (or maybe “succeed,” producing something that nobody really wants), but everybody concerned will be safe enough – only tax payers will mourn.
perhaps the only feasible way to realize an agile project in the public domain is to break the task into multiple projects small enough to be estimated with sufficient reliability (and if the estimates are wrong, such short time frame that they cannot go too wrong) so that the supplier can commit to a fixed price and scope 1 . the customer would be then obliged to take over the deliverable and pay for it (to avoid “it’s great, but we need these two more features to make it usable”).
an experienced team, knowing both the domain and technology, can estimate quite reliably in perhaps a three months horizon. so the supplier can make an umbrella contract, which breaks the task into individual 3-months fix-price projects, each starting with a new detailed contract and ending with a working, paid-for deliverable. if the task cannot be broken into such incremental deliverables than it is heading into big troubles and you don’t want to be there anyway.
there is a nice example of how to form a contract so that the customer can feel safe in the blog post selling software projects by demonstrating value early . it also mentions the time & material contract, mistakenly taken as an essential characteristics of “agile” by some, including likely the a. maughan:
we will work time and materials, it will cost you approximately this much per sprint, and we think it will take about this many sprints but are not really sure. furthermore, we don’t know exactly how long it is going to take, or what we are going to deliver.
of course most customers – not only governmental ones – would have problems accepting this.
i will quote some interesting parts of the article and its comments, for a full picture i’d recommend you reading them for yourself.
1) the idea of breaking project down into fixed-price (1-)3 months projects doesn’t come from me but one clever person who i’d need to ask for permission to name.
i’m prepared to accept on trust that, if all goes well, agile may reduce the risk of project failure. but agile simply won’t work in the real world of government ict.
it means customers don’t pay a fixed price for a complete project. they pay for a commitment of resources.
but the lack of clearly defined project roles and requirements is a problem for agile.
agile projects rely on decisions based on mutual trust. they are therefore well suited to in-house projects. but the faith they ask customers to have in service providers makes them ill-suited for external developments.
you can have an ict project with a watertight contract, clear deliverables, openly and legally procured, with a fixed price and appropriate remedies if you don’t get what you want. or you can have an agile project. you can’t have both.
according the the laywer, there are four clear reasons why agile won’t work in government ict
- government customers want to know up-front how much a system will cost; “under agile [..] can’t guarantee a specified outcome for a specific price”
- government has to compare different bidders on a like-for-like basis but “agile can’t give you a clear specification of outputs up-front. nor can it give a definitive up-font price.”
- “agile offers insufficient means of remedy if things go wrong” – for “agile makes it hard to apportion blame because the customer is intimately involved in the work.” (wohoo – blame & fear-driven development! )
- decision-making is centralised in government, every important decision flows up to senior levels
as i understand it, the main challenge in governmental project is the bureaucratic nature of the customer. more exactly the following implications:
- requirement of fixed price, time and scope
- paralyzed decision-making process – nobody but the top decision makers really dares to make a decision and they are not available and/or too far away from the problem beeing solved to be able to decide properly and timely
- need to “apportion blame,” absence of trust
these factors are very real and every project has to deal with them, being agile or not. both the agile development methodology and the governmental environment must be adjusted to make a project possible at all.
development happens in 4d space: time, money, scope, quality. you can ever fix only 3 of these axis (and it cannot be quality for quick&dirty is a contradiction). pretending that you can fix all of them is a lie. agile can guarantee fixed price and time but the scope (expressed as a high-level business values and epics) must vary – to a certain degree – to provide for inherent complexity of the domain and to provide flexibility for finding out what the customer really needs. it should be noted that detailed up-front specifications lead to the customers trying to add any possible feature they may think of even though 45% of them will never be used and 19% only rarely (standish group study reported at xp2002 by jim johnson, taken from mary poppendieck’s lean software development slides). wouldn’t it be better to develop only those ~ 20-35% features whose benefit justifies their cost to get the software at a much lower cost and shorter time?
without some level of trust (which, of course, cannot just “happen,” but must be gradually built) and a decision structure that actually works, every project will most likely terribly fail. a “watertight contract” and “clear deliverables” are not a solution as the history of failed waterfall projects has shown because only rarely does the customer really know what exactly he needs and mis-trust based relation hinders cooperation and communication, the very essential precondition of a successfull project. “appropriate remedies” won’t really help anyone, even if the customer gets most money back, he will have wasted many resources. on the other hand, trust is not something you can expect from a bureaucratic ogranization so, as mentioned, you must construct a security structure to get rid of the fear preventing cooperation.
by the way, this reminds me of mary poppendieck’s explanation while other us airlines cannot reproduce the success of the lean southwest airlines – they are too much stuck where they are and driven by short-term profits and thus visions – due to their dependency on the short-sighted stock holders – rather than (potentially much higher) long-term ones.
the culture in government agencies is often little suitable for agile development, but it is possible to a feasible way of introducing agile there by breaking projects into small, few-months ones or perhaps by using a hybrid agile approach, as described in the comments by dylan jay.
i’ve extracted (for me) interesting parts of the comments; doing so i might have inadvertently changed what the author intended to express.
i’ve actually copied so much of the comments that the rest of this post feels more like a steal-work than a creation of my own. i hope the authors will forgive me, even though i’ve violated the basic rule of quoting and decency and failed to include their names for the most part.
you should absolutely check three comments - a. maughan’s reaction to the comments (right below), an overview of the dsdm method by the dsdm consortium’s technical director andrew craddock ( original ), and dylan jay’s description of a successful hybrid agile project ( original ). you should also consider looking at the follow-up post by nik silver, agile government it can succeed .
author’s response to the comments
the author, alistair maughan, responds to the comments among others by saying:
i don’t actually think waterfall is the best idea since sliced bread, nor that agile is the worst idea since the sinclair c5.
but i really do believe the public sector environment leaves agile little chance of being adopted properly, let alone applied widely.
project staff should be allowed to work without fear of procurement challenge, public humiliation and the blame culture that seems to come with major public sector projects. if that changes, agile in government may blossom. sadly, there’s no chance of that happening, but it’s a nice thought.*
*) emphasized by me
among other problems, he mentions eu-mandated procurement regime and losing bidders challenging procurement awards, the centralization of ict governance within (uk) government, the fear of failure caused among others by “baying media, the hyper-critical parliamentary accounts committee, and the national audit office”, the scrutinization of every penny spent to death andthe requirement of accounting each penny up-front.
from what i’ve read in research literature (and heard anecdotally about failed government it projects) i don’t think the waterfall method has been particularly successful in guaranteeing a specified outcome either!
government agencies are “a system whereby apportioning blame after the fact is more important than ever delivering anything”
on outcome specification (btw, the dsdm case studies include a governmental agency):
with the latter [the dsdm method] it is possible to guarantee a minimum specified outcome for a set price. (as much of a guarnatee as can be given for more tradtional methods at any rate).
at least some government agencies can succeed with agile:
i have personally been involved in delivering a fixed price agile project to a government customer. the project was a huge success that delivered something a traditional waterfall approach had spent 3 years trying to deliver and failing.
agile fails (too) simply because the customer is paralyzed by bureaucracy:
i’ve worked on several “agile” public sector projects, and none of them have delivered any of the promised advantages of agile. the reasons are probably familiar to anybody who’s worked on government it projects: slow and bureaucratic internal processes, inability to take decisions, inability to decide on requirements (ever), lack of commitment from business users, lack of understanding of agile in it departments, inability to deliver rapid iterations, lack of rapid feedback between users/developers, lack of empowered business representatives, [...]
“[...] but you can’t guarantee a specified outcome for a specific price.”
that is true. it is equally true of the methods governments and others have used in the past, and of the methods recommended for government ict today. it is true of all software development methods, past and present. therefore, the statement does not distinguish between any two methods.
about the faulty culture:
i broadly agree with this article. it’s clear to me the mismatch in social capital culture between government and the conditions under which agile is designed to work.
rob knight’s comment quoting demarco is correct. managing cost is most relevant where the payoff is closely matched to the cost. most it projects have massive asymmetric payoffs. it is better to manage schedule and scope and to launch early in order to realize the opportunity “costs” of delay. recognizing greater benefit early.
what this article does well is demonstrate that current government procurement procedures and governance are unsuitable for managing it projects on behalf of tax payers.
it would be better to advocate for this change. [to align the governmental culture with agile/lean thinking]
on the contract:
of course, continuing to use old-style contracts won’t work with lean & agile approaches (of course, they mostly don’t result in the desired outcomes anyway).
hence, the move toward outcome-based agreements, predicated on output-based pricing regimes. these aren’t new. they’ve been used for over 15 years to my knowledge. but they may be unfamiliar to specific individuals, naturally.
an ‘agile contract’ does not have to be an agreement to buy a certain amount of effort at an agreed price. that’s not agile. that’s ‘time & materials’.
another success of agile @ governmental env.:
[..] agile has been used very successfully in government projects by valtech, see my blog post http://www.pharmarketeer.com/2010/05/16/agilenorth.html#agile-in-waterfall-case-studies [..]
on the “agile makes it hard to apportion blame [...]“
yes its true that agile focuses on heading off problems early when they are still small problems rather than waiting until the end when its too late and you need to find someone else to sue and hold accountable for your disaster.
on non-agility of one of the two failed “agile” project cases:
i worked on a system that was downstream from the one eds built for sky and i can assure you, whatever the publicity, that it didn’t look agile. from what i remember, the court case turned on the untrustworthiness of the lead salesman. no agile project i’ve worked on could run to completion without that sort of issue being raised and addressed earlier.
ex-public servant who experienced agile in the public domain:
i am an ex-public servant who has worked in teams that have delivered highly successful agile projects using dsdm coupled with prince2, and in the interests of being balanced, worked on a really bad ‘agile’ project that is currently stalled owing to procurement rules – note the ‘a’, but it still delivered a working product. in fact i learned my agile trade as a civil servant.
fixed-price, fixed-scope projects results in additional hidden costs (making the described process open actually results in the proposed break down into multiple projects ):
with a typical fixed scope fixed price contract there is a lot of “discussion” between government purchaser and it vendor to come to an arrangement of agreement that the delivery meets the initial scope requirements. nobody in government wants to have backed a loser, so its best if the system is agreed to have met its scope. once this has happened, then a number of expensive change requests are put through to change the system into one that is deployable. these change requests are often budgeted separately, so its harder to see the true cost of the system.
is it really necessary to blame somebody?
is it fair to label agile projects as failed when all they did was surface issues much more quicker than in a traditional approach? and thereby save tons of money that would otherwise be wasted?
fear-based culture of the bureaucratic agencies (the last sentence of the second paragraph made me really lough):
this blog post isn’t about succeeding at delivering useful working systems. it’s about limiting the impact of inevitable failure.
i worked with a developer once who devoted most of his time to making sure when we failed he wouldn’t get any of the blame. he was absolutely horrified when he realised we were actually setting out to succeed. he now works in the public sector, and is thriving.
on the dsdm method by andrew craddock, the dsdm consortium’s technical director (including partly as an overviw of dsdm):
well, as a director of the dsdm consortium i am delighted to say that for dsdm at least this ‘fad’ has now lasted well over 15 years and, during that time, has even been used successfully in government it.
it is true to say that i have seen some very poorly controlled agile projects in my time. i have also seen the ill-discipline of those projects being fraudulently passed of as ‘the way it is with agile’. i can only assume that messrs maughan and/or ballard have experienced this ‘cowboy’ agility and been suckered by the ‘that’s the way it is’ fob off.
dsdm atern includes a clearly defined foundations phase which considers, but avoids the detail of, business need and process, technical architecture and delivery approach, timelines and the precise way the project will be configured for success.
it has a set of 10 core roles each with clearly defined responsibilities. it is more complex than the role sets of other agile approaches and for some smaller organisations running simpler projects it might be seen as over-kill but for large projects in complex environments such as those often a reality in government it is ideal.
it has a set of 5 core practices with moscow prioritisation and timeboxing heading the charge in making a fixed time, fixed cost, fixed quality expectation for a project a reality. iterative development supported where appropriate by modelling and facilitated workshops ensure that the right solution with the optimum value is delivered within these constraints.
reality of development:
government then needs to accept what software development is. software projects are never delivered [the author likely means that it is never finished, it always needs to evolve]. maintenance will always cost, and changes will always be needed. agile processes accept this from day one, waterfall never faces this reality.
a successful hybrid approach by dylan jay (full copy):
hybrid agile models can work and has worked very successfully for us with a large government project.
it worked liked this:
first the project was broken down to two phases, business analysis and development. there was a fixed price for both ba and development. in ba we did upfront use case analysis to create an accurate spec and quote for the development phase, but this could have been tendered for and performed by another party.
for development we used a version of scrum. it was clear what was
getting created but as others have pointed out it wasn’t determined
upfront how the functionality would be developed and when, just what the
final cost was, and the number and length of the iterations. progress
payments were tied to the delivering each iteration however the success
criteria for the progress payments was only determined when the contents
of the iteration was determined at the beginning of that iteration, ie
it was semi-dynamic user acceptance criteria.
in the end the scope of the project didn’t change that much and when it did it was dealt with how it would in a normal fixed price contract, as a variation to the contract. the real advantage however was those variations were discovered much earlier and in many cases didn’t result in increased cost to the customer as almost as many stories were discarded as were added. fixed price waterfall models have equal chance of changing scope and all changes to scope will require contract variations and those variations result in more money being paid. the agile model above gave us the flexibility remove functionality the customer didn’t need and replace it with functionality they did need.
there is a presentation on some aspects of this job but most of the focus of this presentation was on the way we combined usecase analysis with functional test driven developmenthttp://www.slideshare.net/djay/test-browser-driven-development
Opinions expressed by DZone contributors are their own.