The new configlet fmt goes some way toward standardizing the format of topics in config.json, but that just reveals the extent to which they could be further refined. In ~80 current exercises, we have 111 distinct topics:
$ jq '.exercises[] | .topics[]?' config.json --raw-output | sort -u | wc -l
111
I won't paste the whole list here, but several categories which we may wish to consider removing / merging into others:
- 9 entries which end in
_optional (| grep option)
- 1 entry which ends in
_probably (| grep prob)
- 35 entries which appear to be pluralizations of other entries in the list (
| grep -P s$)
goofy_bowling_logic
- 70 entries which appear only once in the file (
sort | uniq -c | grep -P '\b1\b')
The new
configlet fmtgoes some way toward standardizing the format of topics inconfig.json, but that just reveals the extent to which they could be further refined. In ~80 current exercises, we have 111 distinct topics:I won't paste the whole list here, but several categories which we may wish to consider removing / merging into others:
_optional(| grep option)_probably(| grep prob)| grep -P s$)goofy_bowling_logicsort | uniq -c | grep -P '\b1\b')