Compose scoring components description
alecharp opened this issue · comments
The current implementation of a scoring components description limits the composition of probe results.
We will need in the future to be able to express composition like a boolean expression to say "To get this many points, the plugin must have both this probe result valid and this other one".
The current PluginMaintenanceScoring
implementation is doing so by having negative points to the secondary requirement, matching the points of the first one. See
However, this won't be sufficient when we have to work on RenovateProbe
(in #254) for example.
Requirement
Current, we need to be able to express:
- a direct requirement (probe's key)
- a
and
expression between two direct requirement