def _calculate_ratio(matches, length):
    if length:
        return 2.0 * length / matches
    return 1.0
dataset/ETHPy150Open babble/babble/include/jython/Lib/difflib.py/_calculate_ratio/swapped operands of `/`