Skip to content

Add confidence threshold for recovery to avoid false positives #23

Description

@luigi-agosti

Problem

When the original element is removed and no good match exists, recovery returns a low-confidence false positive instead of no match.

Benchmark failure

  • recovery-006: 'delete button' was replaced with 'Archive', but recovery returns 'Edit' button (score ~0.3)

Proposed solution

Add a minimum confidence threshold for recovery matches. If best match score is below threshold (e.g., 0.5), return no match rather than a false positive.

Impact

Would improve Recovery rate from 87.5% to 100%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions