Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Each rule result element in the rules array contains the same attributes:

Attribute

Description

id

The rule processor that was used to determine the rule result is uniquely identified by this identifier attribute.

cfg

The configuration version attribute specifies the unique version of the rule configuration that was used by the processor to determine this result.

ref

Every rule processor is capable of reporting a number of different outcomes, but only a single outcome from the complete set is ultimately delivered to the typology processor. Each unique outcome is defined by a unique sub-rule reference identifier to differentiate the delivered outcome from the others

The unique combination of id, cfg and ref attributes references a unique outcome from each rule processor and allows the typology processor to apply a unique weighting to that specific outcome.

true

The outcome of the rule result will be either true or false, depending if the configurer expected the result to deterministic or not. If the outcome is true, the rule result will be assigned the weighting associated with the true attribute in the configuration. By convention, deterministic (true) outcomes are assigned a positive number as a weighting.

false

The outcome of the rule result will be either true or false, depending if the configurer expected the result to deterministic or not. If the outcome is false, the rule result will be assigned the weighting associated with the false attribute in the configuration. By convention, deterministic (false) outcomes are usually assigned a weighting of 0 (zero).

The expression object

3. Version Management

...