Closed brendanjmeade closed 2 years ago
I think this proposal makes the most sense, as you're right that the most common use case is a comparison.
Given how similar the timestamp-based run directory names are, I wonder if we could add shortcuts for directory names in reverse chronological order, i.e. 0 is the most recent run, 1 is the previous, 2 is before that. I set up something like this in Blocks, editing your newdir.m
function to take a single optional input argument that would count backwards. Absolute pathnames are always going to least ambiguous, but I wonder if this would help speed up quick comparisons across a sequence of runs.
Thanks, @jploveless and this is accomplished with https://github.com/brendanjmeade/celeri/commit/ab3a01df5a72758c505778d677dd7e0e14b3cff3.
New behaviors:
runs
folder--diff_back N
. This will diff the most recent run folder with the one N previous. Example python celeri_report.py --diff_back 2
to compare the most recent run with the output folder produced by the run two prior.
@jploveless I'm looking to figure out the best default behavior for celeri_report and I'd welcome your thoughts.
Current state:
/runs
directory and report statistics on current run--folder_name_1
only report statistics for specified folder--folder_name_1
and--folder_name_2
diff statistics for specified foldersProposal:
/runs
directory and report diff statistics for two most recent folders--folder_name_1
only report statistics for specified folder--folder_name_1
and--folder_name_2
diff statistics for specified foldersThoughts?