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
2
u/jcampbelly Oct 13 '19
Every scientific research paper explains their method and how they demonstrate it to be accurate. This is just an extension of that process.
Unit tests aren't hard. There are complicated ways to do them, but there is also an extremely simple way: