# Project Manager that wants to lock in time estimate with a signed contract

At a previous employment, a project manager (PM) wasn't satisfied with the delivery time of the code on a project I was on. I was told by my project lead that that the PM was considering having me sign a contract to lock-in my time estimates I gave for tasks and delivery dates.

The situation on the project was that we were working with new technologies, codebase, coding standards, and very prone-to-change requirements. I was learning new things and applying them the best I could on requirements that kept on changing. The requirements throughout the iterations grew by 2-3 times, with my estimate-to-complete growing by roughly 5-8 times. The only things that didn't change were the estimates and delivery dates.

Yes, I did end up missing most deadlines. And I was working on some very new technologies that no one else on the entire development team could really help out on because they wouldn't be familiar with it. At least not easily.

It seemed to me then, that the PM wanted his numbers to add up-- and thus wanted me to sign a contract to "ensure" that I would always deliver working code on time. I suppose with a signed contract the PM could use it against me if I couldn't deliver on time.

I believe what happened next was that other project managers and/or project leads defended me, and didn't let this happen.

My question is, should this raise a red flag about the manager? Is it common practice for a manager to lock-in time estimates of a software developer with a signed contract? Or in this case, try to.

Please note, I was a full time employee, not an independent consultant.

Update: I want to add that I did give new estimates weekly, but it seems the original estimates and delivery dates were what the PM was fixated on.

• Run away! Fleee – Nifle Jan 17 '11 at 19:59
• +1 for asking a question that ends up being relevant to nearly every programmer. Most of us have been caught in this situation long before we were experienced and wise enough to handle it correctly. – Adam Crossland Jan 17 '11 at 20:06
• Sounds like you need to multiply your initial estimates with a non-trivial number to be sure to make it on time. – user1249 Jan 17 '11 at 20:21
• You needed Cheops Law of Project Management - double the estimate and round up to the next unit of time - 1 hour becomes 2 days. – jqa Jan 18 '11 at 1:42
• If anyone ever asks for this, insist that they lock in the requirements in the same contract (and, of course, include a big fat safety factor in your estimates). Also, make sure that they can't make use of vague language in the requirements to say that you haven't delivered what was promised. (Or, yeah, just RUN.) – SamB Jan 20 '11 at 16:58

My question is, should this raise a red flag about the manager?

Yes. It means it is time for you to get your resume/CV up to date and start looking for a new job. Or it means that your manager is about to start playing some very nasty games with you.

Is it common practice for a manager to lock-in time estimates of a software developer with a signed contract?

I've never heard of this being applied to an employee.

Time and effort estimation is always difficult. Especially since our profession is full of excessive optimism. There are some estimation systems that could help with estimates in the future, but they need collecting historical stats from yourself. One is PSP. Another is Function Points. Many developers like neither, and you'll find very strong opinions against both of them.

The key difficulty in estimating time and effort is the lack of feedback in our estimation heuristics. One of the keys is to write down what you think the estimate is, and what parameters you used to estimate it. Then, based on what you actually get done, compare that with what you thought you'd do. And use that to modify your estimation parameters. In engineering, we call this "feedback."

• It could also mean that the manager is under a lot of pressure to deliver on time himself and due to a lack of experience with how real word projects work falls back to formalisms in an attempt to try and make the uncertainty tractable. – Michael Borgwardt May 2 '12 at 11:45

Yes, that should absolutely sound alarm bells.

Had I been in the position, for my personal entertainment, I would have asked the manager to sign a contract freezing all requirements. I imagine the manager would likely bail. Then I would leave.

• +1, I was thinking the same thing about having the requirements be frozen in the contract. It shows absurdity by being absurd. – Jeremy Heiler Jan 17 '11 at 20:02
• Worth note that even with frozen requirement, estimation is still an approximate number that can change from time to time. – Codism Jan 17 '11 at 20:15
• Feature creep is only one possible risk that effects schedules. I would bet that there is 100% probability that locking requirements is not enough to guarantee a schedule. – Pemdas Jan 17 '11 at 20:22
• @Pemdas The point of the counter-contract isn't really to lock the spec; it's to make the PM back off. – chrisaycock Jan 17 '11 at 20:25
• I am just saying...locking the requirements is not sufficient. – Pemdas Jan 17 '11 at 20:30

Well that's simple. Just tell your manager that you'll sign to lock-in your time estimate when he will sign to lock-in the specification. Because you can't, for sure provide any estimates for something that is unknown. Full project spec before you start, no changes - and you can finish it in time :)

One change to spec => contract is void. Probably the thing will be void just after 10 minutes on your first day :)

• +1, but remember locked specification is step 1 and locked estimates step 4. Step 2 is of course a working prototype of each area and risk, and step 3 a full and detailed estimation process (including external peer review by recognised technical and domain experts of course). "De-risking" is expensive... – Richard Jan 18 '11 at 9:11
• "Probably the thing will be void just after 10 minutes on your first day." Yeah, probably, but god help you if the contract stands and the work still takes longer than you thought it would! – PeterAllenWebb Jan 18 '11 at 15:45
• The problem is that the time required to create a detailed enough estimate given any (even locked in) spec is non-trivial. In fact, to get it really accurate requires you to do most of the work first. Software is a design project, not a construction project. You need to design because you haven't done it before. When you know what needs to be done, the design is done. At that point we just press Compile. – Scott Whitlock Jan 18 '11 at 21:43
• +1 Walking on water and writing software based on spec is possible provided both are frozen :) – Jacek Prucia Jan 20 '11 at 16:04

Yes, this is a red flag. What it tells you is that the manager does not understand how to manage risk in software projects. What he should be doing is figuring out what exactly caused the delay in first place and then start to instrument a process to effectively manage schedule risks that will inevitable happen during a software project.

NEVER in any circumstance would I sign a contract with my manager guaranteeing a schedule. Others have mentioned having him sign a lock-in on specifications. This in my opinion is not sufficient. This does not account for unforeseen difficulties with the tools or technology, incomplete or poor designs, the performance of other team members, etc.

• “This in my opinion is not sufficient.” – I don’t think it was meant to be. I guess we all expect that no sane manager would sign such a contract. – Konrad Rudolph Jan 17 '11 at 20:44
• No sane manager would propose that their developer sign a schedule contract either. – Pemdas Jan 17 '11 at 20:56
• that’s a different kind of insanity though. Requiring a contract-locked time estimate is stupid, but in a saving-my-own-ass kind of way. Signing a contract that holds the manager responsible for any future screw-ups is the opposite of that. – Konrad Rudolph Jan 18 '11 at 11:09
• +1 Best answer. Managing risk is the manager's job. He should be checking often how things are going, and offering help at sticking points, and he should have a generous buffer at the end that he doles out as necessary. (And the contract thing is stupid anyway; after the manager runs through two or three programmers who get canned over the contract, it will become obvious that the programmers aren't the problem.) – Kyralessa Mar 18 '11 at 19:19

This is not a red flag, this is weapons-grade stupidity.

If estimates and deadlines are consistently blown, the rational thing to do is identify causes and improve processes.

If you blame and kick the horse because you don't know where you're going, don't be surprised if the horse bites you and runs away!

While the manager was out of line with his demand. He's not fully to blame. If you were working in fully unfamiliar territory, there is nothing wrong with saying "I don't know." It took me a while to realize that "I don't know" is a perfectly acceptable answer, so I know how much it stings to utter those words. But if you truly don't know then that's the answer. And if they balk at that ask them to give you an estimate of how many pennies it will take to make a stack as tall as the Sears (make it Willis) Tower. And would they be willing to sign a contract paying you every penny they were off?

Any Project Manager worth his salary should know that some things don't fit nice and pretty in a spreadsheet. Sometimes things are done when they're done. I think you're doing well by giving progress on how much you've done. Just stop giving the number updates.

Another exercise is to break the large task down into smaller more estimable units. This exercise will help you understand better what you need to do as well. Check out Steve McConnell's Software Estimation and Stephen Withall's Software Requirements Patterns for tips on breaking down tasks and discovering hidden requirements, respectively.

Don't shoot from the hip on an estimate. Take the time to break it down. Estimating a large number of small tasks will give you a better overall estimate (due to the law of averages some of your estimates will be under but some will be over and they will tend to weigh each other out) of the big task.

• I don't have a problem saying "I don't know". The problem is that it's not a number that can be placed in the PM's spreadsheet for project/resource analysis or whatever it is they do with spreadsheets. – spong Jan 17 '11 at 20:28
• I updated my answer to give some more tips. – Michael Brown Jan 17 '11 at 20:40
• +1 for Mike Brown. When I started I have to say I was too optimistic,one day I've just decided to reveal the real deal: I don't know. In my case the problem was not the technology but the concept behind it. (From C++ and Java to Prolog for a specific algorithm) – dierre Jan 17 '11 at 23:45

Ask your "project manager": Are we selling software or deadlines?

• Hi ThomasW, welcome to Programmers.SE! You might've noticed the length of the other answers to this question: here, we believe that a good question invites users to provide answers that give explanations (see the FAQ for more information). Can you provide more detail? – user8 Jan 18 '11 at 8:38
• Dude the top answer is only 3 lines long what's the problem... I liked this answer. – Nobody Jan 18 '11 at 16:21
• Well actually both. Software that's sold brings in revenue. Software still under development has no revenue (hit #1); still costs money for the developer (hit #2); and has an opportunity cost of not doing the next thing (hit #3). So it's fair to try and deliver s/w on a schedule. Whether the schedule is REALISTIC is a separate matter! – quickly_now Jul 28 '16 at 5:44

I'm a project manager and a programmer :-) I could go on a long rant about how most PMs are from outside the industry and can't handle anything that doesn't fit nicely into a production line model... but I won't, not here. Instead here's a long polemic on what to actually do (Mr Mod, if it's too long do what you will with it). I agree with the comments already made here, some you should do before others, but here's what I think would have best been your first move. Oh, and obvious answer to your question is yes, but that's elaborated in colourful & detailed language below.

So to the actual situation/hole you described, because it's going to happen again to somebody, somewhere ( like about 5 minutes ago, and again in another 5, scheduleRepeat() ). Probably without the contract stupidity, but the basic storyline is always the same. Organise a meeting(!), they like meetings ;-) everyone can pat themselves on the back at the end like something was actually done. IMPORTANT: Make sure you include your technical project lead/team leader/architect/design manager in the meeting invite having already gone over the issue with them and gotten them on board. The higher up the hierarchy you can go for someone on your 'side', the better. Because your PM will see that and try and match your design manager with an equivalent. If not, they're dumb and you've already won. That in itself will generally pull them back into line, because now they are visible to someone who can probably sack them on the spot. If they are playing games with you, you are allowed to return the favour.

Keep the changing requirements issue as your trump card to use at the end... it will serve as an out for everyone. The project itself and the damn client/stakeholder will have their name taken in vain. The most painless way forward would be for a kind of reset to happen on the project, and maybe that PM would be quietly reassigned to a different area. Miracles do happen occasionally. If the contract issue was raised in the meeting by the PM, then hit back with the requirements freeze counter-contract demand - as far as I'm concerned they already burnt their bridges with you, and to the entire development team, when they started playing those kinds of mind games.

Before I sign-off: Changing scope/requirements - one of the best reasons to adopt the Agile methodology, so the clients/stakeholders are properly accountable for changing their minds about what they want...

Oh, one other thing: on the "I don't know" statement, has always been my personal benchmark on how to gauge the worth of a fellow technologist or member in one of my project teams. I find the only people who are able to say that straight to your face are the best there are, primarily because someone who knows they are out of their depth will never say that - opens them up to being clearly exposed by someone with actual ability in a heartbeat. On the other hand someone who will front up and say it, will also have a basic plan (even if it hasn't been thought thru) on how to tackle the unknowns so that in 24 hours there'll be a more useful answer, and in a week's time an even better one. When Apollo 13 was flying around the dark side of the Moon, there were a whole bunch of "I don't knows" happening. If you can't deal with that sort of thing, you're in the wrong game.

• you need to learn to bold the main ideas , and not when you shout to the screen. its hard to scan the post and get the general idea. – Display Name Jan 18 '11 at 13:20
• +1 for "the PM is most likely giving you grief, because someone else further up the food chain is giving them grief". Part of a manager's job is to be an umbrella to shield you from that - but even great managers have leaky umbrellas if the rain falls hard and fast enough. – Bob Murphy Jan 18 '11 at 20:02
• @bold Sorry. I know it was a loooong post, and it won't always be like that but this was a topic dear to my heart - enough to turn from long time listener to first time caller. I only bolded to mark out where to go for the counter strategy & skip the guff. Plus I used paragraphs the way the English language was designed before the internet even ;-) You can just scan the first line of each one to get a general jist. – nomaderWhat Jan 18 '11 at 23:16
• Also, needs more cowbell. – ocodo Jan 20 '11 at 12:39
• Why hasn't this inciteful comment been upvoted more? Milk shot out of my nose when I read it! – Mawg Apr 17 '15 at 14:45

Yes, this should raise a red flag, especially if you're a full-time employee. What were the conditions of the contract? Would you actually be fired if you'd missed deadlines? Or would you just miss a bonus? What would they do?

The flag this raises is that the manager has no idea how to manage a project dealing with new/unfamiliar technologies and shifting requirements that directly affect estimated effort. While hard deadlines sometimes happen, a manager who knows the situation shouldn't be trying to get employees to sign contracts to enforce them. Late nights and crunch times will be bad but that's probably par for the course. And still sometimes the deadline will slip. It happens, and like someone else posted, the only way to stick to the schedule is to freeze the requirements EARLY ON so that there's still enough room to keep the timeline.

• There was no actual contract. I only heard that the PM wanted me to sign a contract to try to hold me more responsible for my time estimates. I don't know how far the PM wanted the consequences to go if I couldn't deliver. – spong Jan 17 '11 at 20:06
• @sunpech: I've never heard of such a crazy thing. – FrustratedWithFormsDesigner Jan 17 '11 at 20:07

From what you've said, the alarm bells are a few months too late. It's normally risky to base a time-sensitive project on technologies the staff is not already familiar with. It's foolhardy to do so if you have no grasp of requirements gathering and scope management.

That said, I agree with the other answers. Also, you may want to update your resume if you haven't already done so.

Just like all the other respondents, I couldn't agree more that this should raise a red flag.

It seems like the PM doesn't want to be involved in the development process.

In my personal practice I've long moved away from dealing with detailed up-front specifications, sign-offs, full project estimate, or fixed-bid pricing (from a consulting perspective).

The reason for this is the realization, which many of the Agile and Lean Software gurus talk about, that software is not a fixed manufacturable entity, but it is mostly a process of discovery.

Many people still have trouble with this notion, and it sounds like your PM did too. It comes down to a simple understanding of trade-offs.

Rigid up-front specs and fixed estimates work for systems where the cost of change is high. Like building a high-rise. If you forgot to spec out the elevator shafts up-front, then it'll be really hard to retrofit the building once it's been erected. High cost of change requires a lot of up-front planning, learning the unknowns of components and technologies, and up-front experimentation. Only once you have done all this homework, can you estimate budget and cost.

In software people have grown very accustomed to the idea that the cost of change is low, and so they like to take advantage of being able to change things once they see a release, incorporate new understanding of the application, the business, the customer on an on-going basis. All of this is good and a huge opportunity when leveraged correctly. Most software people I've met and worked with actually don't enjoy spending a lot of time planning or investigating; most of us (PM's included) want to see on-going traction. This is where iterative development came from with its small, incremental releases of functionality. There are other practices that can be used, such as test-driven development to guarantee that the cost of change stays low and technical debt is contained.

Making this work involves a "contract" between both sides, the product owner (Agile speak for your PM or customers or QA team) and developers. Developers agree to only work on stuff that has been prioritized as most important for the given iteration and to not take forever with that, but strive to release fully integrated chunks of functionality frequently (e.g. weekly or monthly). Product owners, conversely, agree to continuously review the incremental releases and provide prompt feedback. They also agree to set the priorities for the next iteration and once set to not change their minds for the duration of the iteration.

This latter part of the agreement is something that your PM likely doesn't understand. Many traditional PM's actually don't. Some of them think their work is done when they drop off the spec; they don't want to hear about problems, alternatives, better ways, etc. The downside is that this is not only counter the flow of software development but also hurts the organization by leaving many opportunities on the table.

Take a look at the Agile Manifesto: http://agilemanifesto.org/ It may resonate with you. A good book to read is also Mary Poppendieck's "Lean Software Development"

Good luck.

Sounds like the manager is looking for someone to blame when he reports to his superior.

I find if you have an unreasonable manager who thinks an 'estimate' is the same as a 'fixed period', the best thing to do is to think of a very generous estimate period and then double it!

Also, force the manager to ensure the requirements are fully detailed and fixed. Any changes from then on will not be addressed without a 'formal renegotiation' with the project manager of the new completion time.

Eventually the project manager gets the idea and plans accordingly.

My personal experience with this sort of thing is that the project manager is trying to set up a paper trail to dispose of you while making your termination your own fault. That would make it a very red flag. Your mileage may, of course, vary somewhat.

Good answers all around, but let me add my 2 cents.

If you ever study probability, there is such a thing as a "random variable". That is a number whose value you don't know, but you may describe your not knowing with a distribution, like a normal (bell curve) distribution or another.

The point is, the job will take some amount of time, but any prior estimate will be wrong, by a little or a lot, on the negative side or positive, so there is risk, and somebody has to take the risk. Generally, if people take risk, they get paid for it. Insurance costs money.

When I was a consultant, I usually had a choice of signing a time-and-materials contract versus a fixed-price contract. With time-and-materials the client bears the risk. With fixed-price, I bear the risk. With fixed-price, I build in a margin of safety, because if I fail to meet the target, nobody wins.

Asking you to commit to a fixed delivery date, especially without fixed requirements, sounds like trying to transfer the risk to you, even though it's not clear what you're actually risking. In any case, one response is simply to put in a really generous margin of safety.

P.S. You see this all the time with government contracts. There's an initial request for proposals, bids get made, a low bid gets accepted, and then the change requests start coming in, so the cost balloons, and the contractor gets blamed. Things work much better if there's a teamwork relationship between client and contractor, rather than an adversarial one.

Yes, of course this raises a flag about the experience and competence of your former boss. Yes, as most people suggested, this would be a good time to update your CV.

Yes, as the other answers state, in most situations you wouldn't want to sign that agreement. However, I want to suggest that there might be some situations where you might consider signing it.

Most developers and managers are aware of the constant friction between the functionality, deadline and budget. Many would also nominate quality as a fourth dimension ("I can deliver any set of requirements you like, by tomorrow for a low budget, as long as you are willing to accept that it won't work!")

But there is yet another dimension: risk. If I only need to deliver successfully 50% of the time, I can lower my estimates immensely; they are padded to handle a much higher delivery rate.

We can address risk in a number of ways (and padding estimates is one of them). The manager isn't willing to accept any risk, and wants to put the risk on your shoulders. Normally, you should decline such a move... unless you are being well recompensed.

If you are able to nominate your deadline, with a mutually acceptable amount of padding to deal with unexpected delays, and are able to negotiate a (very large) bonus if you hit it, and are in a financial position to be able to handle the penalties (e.g. being fired) if you can't, you may find it is a worthwhile "gamble" to accept that risk yourself and sign the contract - with suitable clauses to handle requirement changes.

This is straight-on stupidity. I don't know what the ultimate goal was, but every halfway decent project manager responsible for software products should be aware that estimates are exactly what they are called: estimates. They are not promises and they can't be made such without either draining the software developer of all their energy or forcing them to break their "promise" anyway.

If you want to show how ridiculous such a contract is, here could be two suggestions:

a) Highly overestimate to the point where the project takes five or ten times as long as you would estimate without a contract. If the project manager asks why the estimates are so high simply say that you are just making sure that you can fulfill your contract.

b) This has already been suggested: Ask for a contract that makes sure that not a single requirement changes and make sure that this includes correcting spelling mistakes. In my experience there's not a single software project where requirements don't change at some point during development. The project manager is more likely to have to break their contract than you are.

If the project manager would agree to anyone of these two suggestions you'd know for sure that they're out of their mind.

By the way, how would a contract for a full-time employee work anyhow? I don't know about work regulations in other countries, but as a full-time employee in a company I don't think that anyone could force you to sign a binding contract to meet a deadline and have a valid case. Sure, they could give you hell if you don't meet the deadline, but they don't need a contract for that. Nobody could fire you or give you less money. They could cut your agreed bonus at worst. So, unless this is different in other countries this seems more like an empty threat than anything you should take seriously.

I'm going to go against the grain here.

The situation you describe is not all that unusual at the Engineering team level, especially following a particularly late project/release. In many situations, your management and your whole organization may in fact have have signed up for a particular release date, and other parts of the organization will be geared up for that date. There can be tremendous pressure on your management chain to hit that date.

This is where a general engineering process comes in. You've probably heard of the waterfall model. There are other models, but the end goal of all of them is to consistently deliver something when it is expected and containing what was agreed to. Functional specifications, designs, task lists, etc. all go towards making this a predictable process. Communication, risk analysis, and (as you said) regularly updating expectations about schedule reduce surprises and make information available as soon as possible so plans can be adjusted. And yes, there should be adjustments to the plan whenever features are added or removed.

In some of the teams I have worked with, I would not hesitate to treat to my estimates as signed commitments, but that reflects the quality of the teams and the management, and not any particular skill at estimating. A team that is willing to sign a contract for delivering on time is an indicator of a well-working team, not a red flag.

• I would guess that that's not "everything is new and the requirements change massively 2-3 times from start to deadline" areas, though? – Vatine Jan 18 '11 at 23:20
• From the inception of the release to actual GA, sure, the contents can change completely a few times. A good process will hammer that out early though, like before detailed designs or bottoms-up estimates. – TREE Jan 19 '11 at 20:18
• ++ Right. A good team will have good processes and be willing to accept risk. I think that works best when both client and contractor are part of the team and see all the issues from the same perspective. I don't see this often in software development. – Mike Dunlavey Jan 20 '11 at 13:59

I say put yourself in his/her shoes and try to understand what motivated that. From Managers/Accountants prospective they need a number to justify what is been happening and how things are going.

It might be that being ridiculed in the board room for shifting deadlines, missing too many dead line, he tried the simplest possible way to have them locked in. Give me a number and sign here! You being on the other end, could have only perceived that it is something against you. How ever making estimates and as going along realizing that they need to be adjusted is what he is more useful for him. If you understand what motivated the request and what is the real problem he is facing, you might be able to help him and yourself. As programmers we solve problems. This is no different, understand and solve his problem and he will be your best friend. There are so much work to be done that nobody has the time to plot a personal vendetta! He needs help with his work, the simplest solution was to have somebody sign a paper! Probably he got that from a management for dummies book, "Get your workers to sign and be help accountable for a number." Funny but sad

• ++ for "you might be able to help him and yourself". – Mike Dunlavey Jan 20 '11 at 13:49

"Walking on water and developing software from a specification are easy if both are frozen."

-Edward V. Berard

If your requirements are changing, then it's unreasonable to expect your initial estimates to be accurate. Yes, this should be a red flag.

Does the contract specify a penalty for not meeting the deadline? If it doesn't, it's not a problem at all-- you're merely signing off on an estimate based on your knowledge at the time.

## protected by gnatJul 28 '16 at 4:19

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?