How do you keep results reproducible over years, as libraries drift out from under you? Pinning helps until it doesn't.
#ReproducibleResearch #DataScience #OpenScience #Python
@mbongowo yes, but I use clojure for these things
@mbongowo also Guix is specifically trying to tackle this reproducability problem and might be worth looking at if you want to stay in R or python
@otfrom Guix is a good one to have on the list. Have you used it with the map and satellite imagery packages in R or Python, or does that work all stay in Clojure for you?
@mbongowo re:map and satellite work - I've not done much of that in ages, so I'm not a good one to ask. I'm pretty early on my guix journey as well.
@otfrom So it did run first time for you? I'd love to know which part did the work there. Had you pinned every version back then, or does the language you work in just change so little underneath you that it didn't matter?
@mbongowo clojure programs are almost always built with pinned versions of the libraries (you can point at RELEASE or LATEST sometimes, but that is considered a code smell). This includes pointing at a particular version of clojure itself.
Clojure is run on the jvm, and that has pretty strong forward compatibility.
Forward compatibility is prioritised in both the jvm and clojure in a way it isn't in python (and explicitly not in R). I guess this is why it is good for enterprise work and for grumpy old coders.
For some things I am interacting with R or python from clojure, and I will admit that those bits are filled with woe over time, so I try to keep things in clojure or java where I can.
If it is a clojure thing, then yes,it runs first time
Has anyone here opened an old analysis after a few years and had it run first time? I'd love to hear what you did back then that made it work, whether you froze the whole setup or kept it deliberately simple.