cleanlab / cleanlab/cleanvision

Unit tests for duplicate check

Open
#62 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Python
Stars
1.2k
Forks
83
PR merge metrics
No merged PRs in 30d

Description

Add unit tests to ensure we can:

- separately search for exact-duplicates without searching for near-duplicates
- separately search for near-duplicates without searching for exact-duplicates
- search for both in single call to imagelab.find_issues()
- search for exact duplicates in initial call to imagelab.find_issues() and then search for near duplicates in subsequent call to this same function from the same imagelab
- search for near duplicates in initial call to imagelab.find_issues() and then search for exact duplicates in subsequent call to this same function from the same imagelab

Contributor guide

Open the contributing guide

Research direction

Start at imagelab.find_issues() and trace how exact-duplicate and near-duplicate searches are selected and retained between calls. Add unit tests covering the five listed call sequences, including separate searches, combined searches, and reversed successive searches on the same imagelab instance.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.