Mostly, with any endeavour, you never start in advanced state, you have basic solution, then refine and grow it. I guess formula would be: tech skills x organisational quality x budget x iterations already under the belt. Any of these factors can bring down the total result to zero. Not an easy task trying to control all of these.
Nasa, congrats on successful mission, which now ended.