Skip to content

Standardize topics in config.json #529

@coriolinus

Description

@coriolinus

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')

Metadata

Metadata

Assignees

No one assigned

    Labels

    track metaIssues about the track as opposed to about exercises

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions