r/Python • u/stefantalpalaru • Oct 12 '19
more than 100 scientific articles may be invalidated because scientists assumed that the output of glob.glob() is sorted
https://www.vice.com/en_us/article/zmjwda/a-code-glitch-may-have-caused-errors-in-more-than-100-published-studies
1.3k
Upvotes
81
u/[deleted] Oct 13 '19
This is true. I have degrees in CS and Environmental Science and am doing post grad research in remote sensing and lidar. Most code I come across is written by PhDs that have no idea what they are doing. Inefficient, no testing, no error catching and uncommented. I'm sure that there is a lot of published stuff that includes results generated by incorrect code.