path_or_file (str) — Path or file to store the file. If only a folder is provided
the results file will be saved in the format “result-%Y%m%d-%H%M%S.json”.
Saves results to a JSON file. Also saves system information such as current time, current commit
hash if inside a repository, and Python system information.