Skip to main content

Module scoring

Module scoring 

Source
Expand description

Scheme-strength action scoring.

SchemeActionScorer wraps an inner [ActionScorer] and boosts scores for actions that have scheme backing in the supplied ArgumentKnowledge. The boost scales with the scheme’s [SchemeStrength]:

StrengthMultiplier
Strong1.00
Moderate0.67
Weak0.33

The best (highest) boost across all argument positions for an action is applied; positions without a matching registry entry are skipped.

Structs§

SchemeActionScorer
An [ActionScorer] that boosts scores for scheme-backed actions.