As a rule of thumb I would say that building something "production-quality" takes at least ten times longer than building something I and close collaborators can use. By having researchers build production-quality code the spend a lot more time with software engineering and a lot less time researching. (And of course many great researchers are actually not that great at programming, so you probably lose many of them as well)