You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

 TypeScoreDescription
Knowledge characteristicsUser set or System setSystem

An external rule is part of the truth maintenance mechanism and any result is system-set.

Parameters or complex modelComplex Model

On the external rule parameters can be defined which trigger the truth maintenance. In code you however access to the complete profile, and can use any attribute during the calculation. Although it is best practice only to use the truth maintenance parameters, we classify this as complex model.

Enhanced by Blueriq Functionality(red star)There are dependencies for the truth maintenance parameters, but there is no way of knowing what happens in the external rule or what attributes are actually needed.




Maintainability characteristics

It should be possible to quickly make changes to business rules independent of other functionality.

        
Focus on Internal or External UseInternal

External rules are only used by Blueriq.

Low Implementation complexity(star)There is a simple hook, and the code that needs to be written is simple. The difficulty lies with keeping the code in line with the model, as the external rule reads attribute values in a hard coded manner.
Internals invisible (encapsulation)(green star)The internal code is not visible
Autonomous(red star)As the complete profile can be input to the external rule, changes in it may lead to side effects during the execution of the external rule.
Highly Testable(star)Unit tests can be written in code. the difficulty lies in the hard link to the defined model. When the model changes, the code might break as it is hard-coded what attributes are needed.
Highly Reusable(red star)Once you have the external rule defined, then you can distribute the definition in a library and use it simply on any desired attribute.The domain needs however be very similar, as the code reads the values of certain attributes in a hard coded manner. When different attributes are needed for another application, then the code needs to be changed.
Out of the Box(red star)An external rule requires writing of code. 


Deployment characteristics 

Part of Application or Separate Deployment (=deployment)Separate DeploymentThe code has its own life-cycle and is deployed separately.
  • No labels