Hello, I know that the python code is deterministic because I executed it several times and always I get exactly the same result when running on the same laptop (or on the other computers that give the same result as my laptop). And similarly the Ubuntu laptop that give a different result always give the same result.
I used the term "leak" without really knowing what I mean by that it is just that now that I checked that 1) the python script is deterministic 2) the libraries and their dependencies have exactly the same hash in /gnu/store, I do not see where the problem could come from hence my hypothesis of something from host OS influencing the result, but really I am a bit out of my depth here. I understand that in principle nothing should, but I don't see another explanation. Best, Timothée ----- Mail original ----- > De: "Ludovic Courtès" <ludovic.cour...@inria.fr> > À: "Timothee Mathieu" <timothee.math...@inria.fr> > Cc: "Steve George" <st...@futurile.net>, "Cayetano Santos" > <csant...@inventati.org>, "help-guix" <help-guix@gnu.org> > Envoyé: Mardi 6 Mai 2025 09:26:51 > Objet: Re: Reproducibility of guix shell container across different host OS > Hi Timothée, > > Timothee Mathieu <timothee.math...@inria.fr> writes: > >> We now identified that the problem is that the results are not >> reproducible, somewhere in how guix shell container is not isolated >> enough for the host OS and I still don't know what is going on, what >> is leaking from host OS into the container. > > Do you have evidence that the problem is a leak like this? Or could it > be that the Python code being run is non-deterministic? > > If you run ‘guix shell -CN --no-cwd coreutils’, you can see with ‘ls’ > etc. that nothing leaks from the host OS (apart of course from the > kernel). > > Thanks, > Ludo’.