cerbia.core.score_aggregators.MaxWithBonusScoreAggregator starts with the largest severity-weighted blocking score and adds a bonus for every additional blocking score. The result is capped at 1.0.
aggregate = min(1.0, max(scores) + bonus × (len(scores) - 1))
| Parameter | Default | Meaning |
|---|---|---|
|
|
Increment added for each score after the first. |
Negative values are accepted and can lower the result below zero; the implementation only caps the upper bound.
For [0.80, 0.60, 0.40] and bonus: 0.05, the aggregate is 0.90. An empty list produces 0.0.
score_aggregator:
score_aggregator: cerbia.core.score_aggregators.MaxWithBonusScoreAggregator
init_args:
bonus: 0.05