Investigate a Rule Loop
When self-referential rules do not reach a stable result after 3000 iterations, a rule loop error is shown in the Oracle Policy Modeling Debugger.
To investigate the rule loop, click Rule loop has not stabilised after 3000 iterations. Click here for more information. The Oracle Policy Modeling Loop Debugger opens.
The Loop Debugger can be used to step through iterations so you can find and fix looping errors. It shows instances, attributes, and relationships that were used during the final iterations (of the 3000 iterations) when a policy model did not stabilize.
Tips for using the Loop Debugger:
-
Determine where the iterations start to repeat. For example, in the Loop Debugger example above, Iteration 1 is the same as Iteration 5 (Iteration 2 is the same as Iteration 6 and so on). So that means it’s a 4 step loop. You can then limit the number of iterations shown to just that number (that is, change the Number of iterations to show to the number of iterations involved in the loop).
-
If "Change=false" for all iterations under a particular attribute, instance or relationship, then that means that item is stable and can be ignored for the purposes of finding and fixing the loop. You can select the Show changes only checkbox. This will limit the display to the green nodes that represent the changes that are causing the instability.
-
Use the Change Events view to see the chronological order of attributes that have changed within and between iterations.
-
Attributes, instances and relationships can be clicked in the right hand details pane to navigate around the Loop Debugger when investigating the policy model.
-
Click on a rule in the right hand details pane to open the rule document where the rule will be highlighted.
-
If you encounter the error "Unable to connect to Intelligent Advisor Interviews remote controller" in the Debugger (rather than the error "Rule loop has not stabilised after 3000 iterations"), your project likely has an unstable rule loop caused by inferred relationship decision reports. See Fix Commonly Encountered Issues In Policy Modeling for more information.