That is why megacorp software cost millions and generally work.
No, it costs a particular amount because somebody sat down forty years ago and made up a cost structure for all the programs used in the ship's computer. There was no great effort at rationalization of what the programs actually did and why it would cost so much.
When the rule says it could be written in a week, it reveals some of the actual rationalization of the scope of work. It isn't that much, really. The rule didn't differentiate between generating a J1 plot versus a J6 plot, one software package does it all equally well.
Second, nobody said it is megacorp software. Shipyards in some cases are government owned or local enterprises. Everything has been standardized for a couple thousand years. Any assumption of megacorp ownership of the code is just that.
When we hack things for our own use we can be vastly more productive. No-one said anything about regulated 40 h weeks.
When one says "one week" and requires the exclusion of all other tasks except eating and sleeping, then you'd have a point. As is, it just says "one week" without qualification. You don't have to be free of other duties or projects. That means the time requirement is standard 8 hours × 5 days and can be compressed with overtime. This 8 hour shift standard is mentioned many times in starship staffing requirements, which is the basis for all the tasks in Traveller.
Of course, you may GM as you please.
Generate can be written by a highly skilled professional (Comp-3) with the help of an extremely skilled astrogator (Nav-4) in average between a month or two working for themselves. Without extremely skilled input you can't write the software at all. The requirements means that neither the code nor the underlying problem are simple, nor is it a trivial amount of code.
Except that isn't what the requirements say. Comp-3 does not remove the "hidden bug" danger. Nav-4 does not remove the "hidden bug" danger. Spending a month or two only comes closer to guaranteeing success, and does not remove the "hidden bug" danger.
The fact is, if the programming team is successful in the first week, it's just as good as the team that keeps trying week after week until successful. It is, therefore, a fairly small amount of code, and the actual difficulty (including debugging) isn't a monumental task you're making it out to be.
Again, the fact that generating J6 plots doesn't take any more programming skill than J1 plots says the generation is fairly simple, it is the technology of the hardware that matters. If there were separate generate packages that could handle each higher level of jump there would be justification for saying the task of generating a plot is increasingly difficult.