rank

fun rank(green: Capsule, red: Capsule, rules: List<Rule> = Rules.all, failure: List<Symptom>? = null): Ranking(source)

Two captures and no history: no spectrum, so no candidate is correlated.


fun rank(transition: Transition, history: List<Run>, job: String? = null, rules: List<Rule> = Rules.all, failure: List<Symptom>? = null): Ranking(source)

The transition of history with its runs as spectrum input. Greens that did not execute the failing step are left out and listed in Ranking.excluded; a transition without both capsules, a red with no failed step or more than Weights.MAX_RUNS included runs ranks without a spectrum.