Thursday, February 11, 2010

Scientific Software is Wobbly

As the scandal over the climate model at the University of East Anglia reminds us, much cutting edge science relies on computer modeling. Professors working in such fields as econometrics, population genetics, and climate science routinely write their own programs or extensively modify existing programs to do the work they want. This raises serious problems about the results they publish, because, as we all know by this point in the information age, all programs have bugs. Some sample studies of custom academic software suggest that much of it is riddled with major errors. Because of this, many journals now require that copies of any custom software used by researchers be submitted along with articles for publication. But not all do, and even when the programs are submitted, who is going to check them line by line? Some climate modeling programs are a hundred thousand lines long.

The President of the National Academy of Sciences, Ralph Cicerone, recently wrote an editorial in Science calling for greater scientific openness, in particular the sharing of all data. But if the software used for modeling is not also shared, the data in some cases is not of much use.

Watch for this to be a major issue for science funding bodies over the next decade.

2 comments:

kathy said...

so what's the alternative? There's no commercial software for most things academics (and many others) wish to model.

John said...

Everybody just needs to pay more attention to the software involved. Funding bodies will probably be pushing scientists to work in teams that include a computer scientist, who will at least carry out the standard sorts of tests for the internal consistency of the software. Or, I suppose, more scientists could learn to carry out those tests themselves. More sharing of code between scientists might also help, rather than each geneticist trying to write his own program. And all scientists will have to publish their code. Most of it will never be checked, but in controversial areas like climate science it will be, and also when a major discovery is announced.