Skip to content

Latest commit

 

History

History
35 lines (17 loc) · 1.14 KB

README.md

File metadata and controls

35 lines (17 loc) · 1.14 KB

runthis tests deploy-pypi

Trivial utility to help you arrange experiments like this:

Don't want to do that? Thanks for stopping by anyway.

Never edit script contents

Instead, infer from the file names:

    if __name__=='__main__':
        import os
        kwargs = parse_kwargs(__file__.split(os.path.sep)[-1])
        my_experiment(**kwargs)

See example

New experiment? Make a copy of the file and edit the name only.

Int, float arguments

Just call the experiment file

   my_function?n=int:5&d=cat&init=[float:0.2,float:0.2,float:0.2].py

There's a short blog post here but I think you've got the gist.