Hello Guys,

I'm trying to create a rule for Razor2 scores ... my idea is to replace the original 51_100 by a 81_100 rule and count score only once, for any of the engine matches. I was thinking in something like:

# disabling original Razor2 rules
score RAZOR2_CF_RANGE_51_100 0
score RAZOR2_CF_RANGE_E4_51_100 0
score RAZOR2_CF_RANGE_E8_51_100 0
# RAZOR2_CHECK wasnt disabled, so RAZOR2 will still be called

# my rules for 81-100 confidence level and a meta one that will score only once

full      __RAZOR2_CF_RANGE_81_100  eval:check_razor2_range('','81','100')
tflags    __RAZOR2_CF_RANGE_81_100  net
describe  __RAZOR2_CF_RANGE_81_100  Razor2 gives confidence level above 80%

full __RAZOR2_CF_RANGE_E4_81_100 eval:check_razor2_range('4','81','100')
tflags    __RAZOR2_CF_RANGE_E4_81_100  net
describe __RAZOR2_CF_RANGE_E4_81_100 Razor2 gives engine 4 confidence level above 80%

full __RAZOR2_CF_RANGE_E8_81_100 eval:check_razor2_range('8','80','100')
tflags    __RAZOR2_CF_RANGE_E8_81_100  net
describe __RAZOR2_CF_RANGE_E8_81_100 Razor2 gives engine 8 confidence level above 80%

meta RAZOR2_CF_RANGE_81_100 __RAZOR2_CF_RANGE_81_100 || __RAZOR2_CF_RANGE_E4_81_100 || __RAZOR2_CF_RANGE_E8_81_100
tflags    RAZOR2_CF_RANGE_81_100  net
describe  Razor2 gives confidence level above 80%
score     RAZOR2_CF_RANGE_81_100  5

   Question ...... will these rules work as expected ???

--


        Atenciosamente / Sincerily,
        Leonardo Rodrigues
        Solutti Tecnologia
        http://www.solutti.com.br

        Minha armadilha de SPAM, NÃO mandem email
        [EMAIL PROTECTED]
        My SPAMTRAP, do not email it




Reply via email to