Go to file
Malar Kannan 677df6db5c improved performance of rule matching 2017-06-08 15:34:16 +05:30
.gitignore implemented the rule engine 2017-06-08 14:33:52 +05:30
EN-RuleEngineChallenge-080417-1436.pdf implemented the rule engine 2017-06-08 14:33:52 +05:30
README.md improved performance of rule matching 2017-06-08 15:34:16 +05:30
quartic_rule.py improved performance of rule matching 2017-06-08 15:34:16 +05:30
quartic_rule_test.py improved performance of rule matching 2017-06-08 15:34:16 +05:30
raw_data.json implemented the rule engine 2017-06-08 14:33:52 +05:30
rules.txt implemented the rule engine 2017-06-08 14:33:52 +05:30
rules_test.txt implemented the rule engine 2017-06-08 14:33:52 +05:30

README.md

Approach

Rule engine supports only simple comparison operators. The trade-off of this approach is that you can't encode complex rules. To be able to support more robust rules we could embed a scripting languages like lua, possibly at the cost of performance bottlenecks.

Performance

for 200*4=800 sig and 3 rules this python code takes about 0.04 secs on a AMD6410