Threshold Meaning In Python Code Generator