enforce generate.py returns convergent solutions