Skip to content

stats

usage: cox stats [-h] {ingest,roles,explain,series} ...

Load the run corpus into the stats store.

positional arguments:
  {ingest,roles,explain,series}
    ingest              load usage, task, node and launch records into
                        stats.db
    roles               landed rate, attempts-to-land and $/landed per role
                        and model
    explain             the failure-class breakdown behind one role
    series              per-run summary rows read from the stats store

options:
  -h, --help            show this help message and exit

examples:
  cox stats ingest
  cox stats ingest runs --db workspace/stats/stats.db
  cox stats roles --json
  cox stats explain build --json
  cox stats series --json

ingest

usage: cox stats ingest [-h] [--db DB] [--work-store-root WORK_STORE_ROOT]
                        [runs_dir]

positional arguments:
  runs_dir

options:
  -h, --help            show this help message and exit
  --db DB
  --work-store-root WORK_STORE_ROOT

roles

usage: cox stats roles [-h] [--db DB] [--json] [--cartridge-sha CARTRIDGE_SHA]
                       [--provider-profile PROVIDER_PROFILE]

options:
  -h, --help            show this help message and exit
  --db DB
  --json
  --cartridge-sha CARTRIDGE_SHA
                        keep only runs on this cartridge_sha
  --provider-profile PROVIDER_PROFILE
                        keep only runs on this provider_profile

explain

usage: cox stats explain [-h] [--db DB] [--json] role

positional arguments:
  role

options:
  -h, --help  show this help message and exit
  --db DB
  --json

series

usage: cox stats series [-h] [--db DB] [--json]
                        [--cartridge-sha CARTRIDGE_SHA]
                        [--provider-profile PROVIDER_PROFILE]

options:
  -h, --help            show this help message and exit
  --db DB
  --json
  --cartridge-sha CARTRIDGE_SHA
                        keep only runs on this cartridge_sha
  --provider-profile PROVIDER_PROFILE
                        keep only runs on this provider_profile