Report Driven Template for experiments
- navigate to https://github.com/colinlclark/report_driven_template.git
- in the top right corner, click "Fork" and create a fork under your
own github account.

- In your fork of report_driven_template click the "Code" button and copy the URL to clone the repo into a directory on your computer.
- clone the repo onto your computer -- note that
git clonecreates a folder with the name of the git repo in the directory where it is run, so if are in/usr/you/codeand you runclone clone .../report_driven_template.gitit will create a new directory/usr/you/code/report_driven_templatewhich will now contain your local copy of the code.cd cd code git clone https://github.com/[your git username]/report_driven_template.git - navigate to the directory you just pulled your fork of the repo
into:
cd report_driven_template
conda install numpy pandas gitpython tabulate matplotlib
- Edit
utils/latex_header.texto add yourself as\authorand change the title python my_project.pylatex report_for_my_project.texgit add img/*.pngif you have added any plot imagesgit add data/*.csvif you have added any plot imagesgit commit -am "[describe what you have done]"git push
- Print all of your results to the output files -- never manually
generate an important result -- never consider an experiment
finished until it is securely documented in the
report_for_my_project.pdforreport_for_my_project.mdfile on github. - Add commentary as you go, don't generate a naked result and move on to the next experiment without wrapping it up by writing some notes about how you arrived at that result and your interpretation of it.
- Commit
git commit -am "brief note"and pushgit pushyour code often -- this is your "save" procedure for your project.
File where extensions and files that should not be included in the git repo are listed -- preconfigured for python, LaTeX, emacs, and vim
Script where your experiment is performed
LaTeX document that is produced by project.py and stored in git for reuse later.
PDF file created for project.tex stored in git for convenience
Markdown formatted output for your
File where functions that are shared among multiple experiment scripts can be stored. All of the .markdown and .pdf print things live here.
Header for your latex document -- preconfigured with everything you need (and way more...)
Directory where output images will be stored
The Image file produced by our particular block of code.
Directory where output data will be stored -- you can change this to a location outside of the repo if you'll be producing very large files.
The data file produced by our particular block of code.