| 1 |
# Job Analysis |
| 2 |
|
| 3 |
A set of scripts that analyzes `jobs.json` to look for possible holes in our |
| 4 |
testing. |
| 5 |
|
| 6 |
## Requirements |
| 7 |
|
| 8 |
To run the scripts you need to have both `jq` and `mlr` installed on your |
| 9 |
machine. |
| 10 |
|
| 11 |
$ sudo apt install jq miller |
| 12 |
|
| 13 |
## Running |
| 14 |
|
| 15 |
The Makefile contains common queries that can be run against the data. |
| 16 |
|
| 17 |
For example, to find all cpu_or_gpu_values that we currently don't run Perf |
| 18 |
tests on you would run: |
| 19 |
|
| 20 |
$ make missing_perf_jobs |
| 21 |
|
| 22 |
See https://miller.readthedocs.io/en/latest/reference-dsl.html more details on |
| 23 |
the the kinds of queries that can be done against CSV files. |