Hi,

I have a rule set ASGD P with a number of active rules. When the rule set is invoked it appears that the last rule in the set is executed first. This causes errors in the results as the last rule definitely needs input from earlier rules in the list.

How is it possible that my rules are not executed in order?

I added two screen shots: one with the contents of the rule set and one with the output from the rule debugger.

Note that the rule "Copy contents of game description into prediction" is actually excuted first in stead of last.

Your help is very much appreciated !
Fred

CommentFileSizeAuthor
Debug ASGD P execution.PNG47.19 KBGoofy2k
Rule set ASGD P.PNG18.25 KBGoofy2k

Comments

fago’s picture

Component: Rules Core » Rules Engine
Status: Active » Fixed

You can enforce the right order by using different weights for your rules.

Goofy2k’s picture

Thanks fago.

I know that I can change the order of rules execution by assigning weights. I was assuming that rules are always executed in the order that they are listed in the rule set, which is in it's turn depending on the weights.

As the rule "Copy contents of game ..." is on the bottom of the list I assumed that it would be executed as last. Is this assumption correct?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.