CertifaiAI / CertifaiAI/classifai

Multiple imports of single image are allowed

Open
#267 0 comments 0 reactions 0 assignees View on GitHub
bug invalid low priority not critical
Dominant language
Java
Stars
127
Forks
27
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Multiple imports of single image are allowed, but only one output will be generated due to repeated name occur

**To Reproduce**
Steps to reproduce the behavior:
1. Import an image
2. Import the same image again, you will see two exactly same image in the image list
3. Do some labeling, and then export
4. only one output file generated for the image

**Expected behavior**
Each image should only allowed to be imported once

**Screenshots**
![Screenshot from 2021-01-08 14-45-52](https://user-images.githubusercontent.com/76682536/103984801-c248fa80-51c2-11eb-859c-50e47828b26e.png)

![Screenshot from 2021-01-08 15-08-19](https://user-images.githubusercontent.com/76682536/103985132-5d41d480-51c3-11eb-9bc3-51e60e1ce96b.png)

**Desktop (please complete the following information):**
- OS: Ubuntu
- Browser: Chromium
- Version: 1.0.0, 1.1.0

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

No files or tests are identified in the issue. Reproduce the duplicate-import flow in the image list, then trace image import and export handling to determine where repeated images are accepted; done means importing the same image twice produces one list entry and one exported output, with relevant tests passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.