add the required parameter for group_by_level in the card spec
Finish learning cards in correct order with tests