Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ir_datasets writes to $HOME which makes reproducibility hard #237

Open
MangoIV opened this issue May 23, 2023 · 0 comments
Open

ir_datasets writes to $HOME which makes reproducibility hard #237

MangoIV opened this issue May 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@MangoIV
Copy link

MangoIV commented May 23, 2023

Describe the bug

Importing ir_datasets requires writing to $HOME. Perhaps this is common sense in python land but I have been slightly alienated by this. I expected it to install all their files at installation time and not at runtime because doing it at runtime will result in undefined behavior. Getting rid of this behavior is always hard because I end up patching the actual code when building it with nix such that it doesn't write to places that are not supposed to be written to.

Expected behavior

It would be nice if ir_datasets would not write to $HOME silently but perhaps already installs all their files during installation.

Additional context

Please excuse me initially quite harsh text, I wasn't intending to sound aggressive.

@MangoIV MangoIV added the bug Something isn't working label May 23, 2023
@MangoIV MangoIV changed the title How is it justified that you can just write to $HOME/. something in _init_ ir_datasets writes to $HOME which makes reproducibility hard Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant