What's the best practice for naming output files from scripts that you're experimenting with? I'm trying different parameters in my data generation script and I'd like to keep track of which files correspond to which parameters. If I use the standard way of naming with timestamps I soon lose track of how the files were created.
The problem of recording how a particular piece of scientific data was generated has come to be known as "provenance tracking". Here is an article on it which also includes the description of a software tool, Sumatra: http://rrcns.readthedocs.io/en/latest/provenance_tracking.html.
Another, simpler Python tool to do something similar is recipy.
This question might get closed for being opinion-based, but I think it's an important question ... so here's my opinion.
As far as I know, there's no real industry best practice for this kind of thing -- a lot of "don't"s, but not a lot of "do"s. For example, Stanford has a web page dedicated to file naming.
What's worked well for me is to create a series of folders whose names are numerical keys (e.g. "7001", "7002", "7003", ...), as well as a text file which gives a description of each folder (e.g. date, numerical parameters, motivation, brief summary of results, etc.).
I like this scheme because the folder names are short which makes it easy to find the one I want. Having a description of each folder in one text file makes it nice for finding results months later, and remembering why I did what I did.