Closed evansd closed 3 years ago
@StevenMaude Yes, they serve different roles. codelists.txt
is user edited and records the codelists needed for the study. codelists.json
is generated automatically when opensafely codelists update
is run as records exactly which codelists got pulled in along with hashes so we can check that people don't try to modify the codelists by hand after downloading.
For example, compare codelists.txt and codelists.json.
The tests pass without this at the moment, but only because a workaround is in place: