CBR in Python