class HeuristicDereplicator(val issueThreshold: Double, val commentThreshold: Double) : IssueDereplicator

Heuristic dereplicator

Parameters

issueThreshold

Threshold for matching issues

commentThreshold

Threshold for matching comments

Constructors

Link copied to clipboard
constructor(issueThreshold: Double, commentThreshold: Double)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
private val logger: Logger?

Logger used to print notifications

Functions

Link copied to clipboard
suspend fun matchIssue(newIssue: Issue, existingIssueMatchTitle: Boolean, existingIssueMatchAuthor: Boolean, existingIssueMatchBody: Boolean): Boolean

Check the match for a given issue and database queries

Link copied to clipboard
suspend fun matchIssueComment(newComment: IssueComment, existingComment: IssueComment): Boolean

Ceck match for a single issue comment

Link copied to clipboard
open suspend override fun validateIssue(imsProject: IMSProject, issue: Issue, request: IssueDereplicatorRequest): IssueDereplicatorIssueResult

Validate a single issue

Link copied to clipboard
open suspend override fun validateTimelineItem(issue: Issue, timelineItems: List<TimelineItem>, request: IssueDereplicatorRequest): IssueDereplicatorTimelineItemResult

Validate a single TimelineItem