MIN
- Last Updated: May 13, 2026
- 2 minute read
- Semaphore
- Documentation
Finds the minimum score of any of its children
Score calculation
Has the the minimum score of any of its children rules (optionally scaled by the given weight).
Evidence calculation
Has the union of evidence for its children with the minimum score
Attribute information
- any attribute
- WEIGHT - when a weight is given this will scale the resulting score. If the minimum score of the children is 50 (0.5) and weight is set to 80 (0.80) the returned score will be (score * weight / 100) or 40 (0.40)
Children restrictions
Any rule other than those restricted to a specific parent
Example
The following ruletree:
<min weight="80" category="1" class="test" name="min">
<text data="trichet" weight="60"/>
<text data="bob" weight="100" not="1"/>
</min>
Used to evaluate the following document
Jean-Claude Trichet announced today a rise of 1/2 point in interest rates.
In a separate intervention the governor of the European Central Bank announced that the
institution will keep a firm handle on inflation.]]></body>
Will return the following output if the threshold is below 48
...
<META name="test" value="min" score="48" />
....
If “Bob” was added anywhere to the body of the document
Jean-Claude Trichet announced today a rise of 1/2 point in interest rates.
In a separate intervention the governor of the European Central Bank announced that the
institution will keep a firm handle on inflation. In a separate statement Bob Hope announced his own personal rise in interest.
the score of the rule would become 0.
This would normally be below the threshold of a classification request so the category information would not be added - however in a sandbox request we normally set the threshold to -100 so you will get:
...
<META name="test" value="min" score="0" />
...