.. code::python blocks for Adding and Awarding Badges