hmp ls#

Uses hmp.status().

$ hmp ls [-h] [-w WORKSPACE] [--format {table,json,csv}] [--verbosity {quiet,normal,verbose,debug} | -q | -v | --debug] [--project PROJECT] [--solver SOLVER] [--site SITE] [--status STATUS] [--label LABEL] [--tag TAG] [--by {site}] [--best METRIC] [--mixed-windows] [--limit LIMIT] [--disk] [--plan] [--stale-minutes MIN]

List the runs of a project, or where its plan stands

ArgumentWhat it does
--project PROJECTRestrict to one project (looks at projects/<name>/.hmp/index.duckdb)
--solver SOLVERFilter by solver (exact match on the name the run carries)
--site SITEFilter by site name (exact match)
--status STATUSFilter by status (a sealed run is completed)
--label LABELFilter by label (exploratory, calibrated, evaluated, failed)
--tag TAGFilter by an exact tag (e.g. pinned)
--by BYGroup the runs by site; with --best, keep the best run of each site one of site
--best METRICRank by METRIC (nse, kge, rmse...), best first; runs without it are left out
--mixed-windowsWith --best, rank scores computed on different windows or rules together
--limit LIMITMaximum number of rows to print
--diskList the runs and the sessions from their directories, with no index
--planSay where each case of the plan of a [sites] project stands
--stale-minutes MINWith --plan, the age of the pulse past which a running case reads as stale (default: 5)

Also takes the shared options --workspace --format --verbosity --quiet --verbose --debug.

Examples

$ hmp ls --site my_catchment --label calibrated --format json
$ hmp ls --best nse
$ hmp ls --by site --best nse --format csv
$ hmp ls --disk
$ hmp ls --plan

Exit codes it sets itself: 2 10. An exception it does not catch ends with the code of its class. All exit codes.