checkfuncs.py: set ratio_4.0.txt in ExpandCheck func, fix a bug of variable name para in ReExtractByRatio func