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

Better handling of experiment output folders #166

Open
valmik-patel opened this issue Feb 9, 2024 · 0 comments
Open

Better handling of experiment output folders #166

valmik-patel opened this issue Feb 9, 2024 · 0 comments

Comments

@valmik-patel
Copy link
Contributor

Currently, when we run an experiment, the output is stored in a folder that is defined by the name attribute in Experiment. If we run the same experiment again with the same output folder, the folder is partially overwritten, which can lead to confusing situations.

Example: I ran an experiment for sensitive attribute A with four categories: 1, 2, 3 and 4. So, 4 different folders were created for each of those categories. Then, I ran the same experiment with sensitive attribute B with two categories, 1 and 2. Since the output folder name was the same for both experiments, the second experiment overwrote the folders for categories 1 and 2 but retained the categories 3 and 4 from the last experiment. This led to incorrect plots when plotting the results.

Ideally, we should have an attribute overwrite that's False by default. If it's False, the experiment should throw an error if the given folder name already exists. If it's True, we should delete the contents of the output folder before running the experiment to prevent data from two experiments being mixed up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant