Here is a post on best practices advocated by thought leader Victoria Stodden: http://law-mit.blogspot.com/2015/02/toward-reproducible-computational-law.html