roboflow / roboflow/roboflow-python
search_all() inconsistency issues
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 629
- Forks
- 140
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 5
Description
The Roboflow API is returning inconsistency results. After uploading a batch of images to a project, I found 9 images were missing. I wanted to verify which images were missing, and made use of search_all(). However, this function returns multiple duplicated images that I cannot find in the GUI. I thought it could be a timing issue from the API request and tried different methods:
images = []
for page in project.search_all(fields=["id", "name"]):
images.extend(page)
images = []
for page in project.search_all(fields=["id", "name"]):
images.extend(page)
time.sleep(1)
Every time I ran either option, I got different set of images with different subset of duplicates.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported behavior with project.search_all(fields=["id", "name"]) after uploading a batch of images. Compare the returned IDs and names across repeated runs, including the one-second delay, and against the images shown in the GUI. Done means the inconsistent or duplicated results are explained and the search_all behavior is corrected or clearly scoped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100