Update Scripts for getting stats
parent
7199263e4f
commit
8788b2a40a
1 changed files with 15 additions and 1 deletions
|
@ -1 +1,15 @@
|
||||||
Welcome to the Wiki.
|
Average score for each level:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ csvjson output.csv | jq -c 'map(select(.Lamp != "Fail")) | group_by(.Rating) | map(. | [(.[0].Rating | round), (map(.Score) | length as $length | add / $length | round)]) | .[]'
|
||||||
|
[8,895073]
|
||||||
|
[9,909287]
|
||||||
|
[10,915836]
|
||||||
|
[11,896387]
|
||||||
|
[12,889375]
|
||||||
|
[13,836118]
|
||||||
|
[14,799162]
|
||||||
|
[15,800785]
|
||||||
|
[16,774763]
|
||||||
|
[17,662870]
|
||||||
|
```
|
Loading…
Reference in a new issue