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

Integrate Version Control #91

Open
petered opened this issue Sep 4, 2017 · 0 comments
Open

Integrate Version Control #91

petered opened this issue Sep 4, 2017 · 0 comments

Comments

@petered
Copy link
Contributor

petered commented Sep 4, 2017

It'd be nice for reproducibility to also keep track of the state of the code when an experiment is done. This could be done by one of the following:

  1. Copying the active code and saving it
  2. Doing an automatic git commit when an experiment is run
  3. Just saving the current hash and leaving it up to the user to commit.

Option 2 looks most reasonable to me, but may pollute the commit history with a ton of tiny commits. Maybe a solution is to have Artemis keep a separate <current_branch>.experiments branch, so every time you run an experiment, Artemis:

  • stash current branch
  • checks out the <current_branch>.experiments branch
  • commits
  • checks out <current_branch>.
  • load the stashed state.
@petered petered mentioned this issue Sep 19, 2017
3 tasks
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