fix for a fundamentally bad presumtion (ratio should be > 0.6 in stable pages), especially today when we have stuff like where=2; also, just imagine 500s which could just say something like FALSE, while on ratio level it would be far below 0.6

This commit is contained in:
Miroslav Stampar
2010-12-24 09:49:19 +00:00
parent cb17e61f35
commit d5eebb1cbf
2 changed files with 7 additions and 2 deletions

View File

@@ -67,6 +67,10 @@ INFERENCE_BLANK_BREAK = 10
# string used for representation of unknown dbms version
UNKNOWN_DBMS_VERSION = "Unknown"
# lower and upper values for match ratio in case of stable page
LOWER_RATIO_BOUND = 0.02
UPPER_RATIO_BOUND = 0.98
# System variables
IS_WIN = subprocess.mswindows
# The name of the operating system dependent module imported. The following