Candidate

data class Candidate(val path: String, val tier: Tier, val score: Long, val evidence: List<EvidenceItem>, val matches: List<RuleMatch>, val basis: Basis, val spectrum: Spectrum?, val coverage: Long?, val bundle: String?, val probability: Long? = null)(source)

A changed attribute and the case for it. Candidate.score is the sum of the Candidate.evidence weights, for ordering within a tier only. Candidate.matches holds the rule matches with their mechanism text; Candidate.basis is verified exactly for a known candidate. Candidate.coverage is the lowest per-run coverage of the history behind the spectrum (null without one). A candidate with a Candidate.bundle id cannot be told apart from the other members by the data, so it is never the cause on its own. Candidate.probability (micro-units) is the candidate's share of the posterior read through the isotonic map of Weights.probabilities, fit on the dev scenarios and not held out; it is null unless every candidate of the ranking rests on its attribute change alone.

Constructors

Link copied to clipboard
constructor(path: String, tier: Tier, score: Long, evidence: List<EvidenceItem>, matches: List<RuleMatch>, basis: Basis, spectrum: Spectrum?, coverage: Long?, bundle: String?, probability: Long? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val score: Long
Link copied to clipboard
Link copied to clipboard
val tier: Tier

Functions

Link copied to clipboard