TriageResult

data class TriageResult(val body: String, val author: String?, val truncated: Boolean, val facts: List<Fact>, val rules: List<RuleHit>, val claims: List<ClaimHit>, val draft: DraftRule?, val notEnvironment: NotEnvironment? = null, val ask: List<Ask> = emptyList())(source)

Everything drift triage found in one issue body. body is the SHA-256 of the redacted text and author the hashed login; neither the text nor a login is kept. truncated is true when the body was longer than Triage.MAX_BODY.

Constructors

Link copied to clipboard
constructor(body: String, author: String?, truncated: Boolean, facts: List<Fact>, rules: List<RuleHit>, claims: List<ClaimHit>, draft: DraftRule?, notEnvironment: NotEnvironment? = null, ask: List<Ask> = emptyList())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val ask: List<Ask>
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

Functions

Link copied to clipboard

notEnvironment and ask are present only when the reading or a check applies.