debug 2color-ratio.py