Thank you Daniel,
We had thought much the same but as you suggest, these solutions are quite clunky and would require manual upkeep each time a new course is added.
It's a shame as it looks like we are going to need to rethink our badges in order to make them much more basic (and less fun). But for a few tweaks and a little more thought put into the features, it could be a really exciting tool to drive engagement.