-
Notifications
You must be signed in to change notification settings - Fork 11
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
Battery folder cloned regardless of --battery argument #132
Comments
hey @earcanal ! I'm definitely glad to help with this. Are you providing an argument for both |
Yes. Markdown error was cropping command line in issue (now fixed). |
ah, ok, so the bug is that the software is wanting to also download surveys and games, which were added later than just experiments:
What is your time frame for this? I would like to refactor things a bit to be more modular, but that would take some time. I can provide a quick fix if you need asap. |
Yeah, that's the conclusion I came to, but didn't want to patch as I've only had a quick poke around the code. I'm likely to need to run an experiment in a location with unreliable network connectivity in 7 days. |
hey @earcanal - let's get you something working asap! Here is a patched version to try - I made it so the default doesn't use surveys or games. https://github.com/vsoch/expfactory-python/tree/patch/surveys-games
Note that this is a branch on my fork, not the main one here. I put it together pretty quickly, and I've added the start of a better logger for errors. I'd like to be making the entire software better soon - let me know if this works for you, and I can tweak as necessary! |
Hi @vsoch. Thanks for rapidly :) looking at this. Here's what I did to install
The following command line appears to use local repos (experiment starts instantly), although some DEBUG confirming that would be useful. This will really speed up my develop/test cycle as I don't have to wait for the clone every time I test an experiment. Thanks!
Were you suggesting above that
|
you still need to provide the battery folder with the experiment to not download. |
I think there may be a regression with that patch. I got this today when I came to run a survey
You'll want to test further with the following patch which got my surveys working again:
|
yes, I didn't know you were using surveys, so I disabled adding them (which was being done by default) so the repo wouldn't be downloaded. The fix would be to have this also determined by a variable from the command line - or your fix works too! Thanks for the update! |
I'm not sure if this is another regression, but
I don't know enough about how
FWIW, here's the script I'm using for a study which takes into consideration various issues (e.g. expfactory/expfactory-surveys#63) I'm currently working around.
|
hey @earcanal ! This is expected behavior - the experiments are presented randomly so you don't get order effects in your results. |
Thanks. What do think of #134? If I get a moment I'll implement and submit a pull request (unless you get to it first). |
hey @earcanal - that sounds good! I'm slowly working on a better version of expfactory, one that uses more of a "package manager" model, but for experiments (see the development branch). It might be a few months, but I promise a lot of these annoyances will be fixed up. I'm no longer a grad student so I work on this in random off time, but it's important to me, so I'll definitely be on it! :O) I really appreciate the feedback! |
Obsoleted by new version of The Experiment Factory. |
[Edited]
According to the local battery instructions, it should be possible to avoid cloning the battery from github by manually cloning and giving an argument to
--battery
. The example below seems to demonstrate that vm.py clones the battery regardless of whether a local clone has been specified with--battery
. This slows down local experiments and will fail if there's no network.The text was updated successfully, but these errors were encountered: