Skip to content

FIX - Explore: always show an image when a selected sample holds some - #11

Merged
juliecoust merged 3 commits into
mainfrom
explore-pages-review
Nov 16, 2026
Merged

juliecoust merged 3 commits into
mainfrom
explore-pages-review

Conversation

@lamjarad-B

Copy link
Copy Markdown
Contributor
  • Samples whose stored EcoTaxa stats hold objects are drawn first
  • Empty samples no longer use up the draws (at most 50 dropped per request)

lamjarad-B and others added 3 commits November 16, 2026 10:15
- Samples whose stored EcoTaxa stats hold objects are drawn first
- Empty samples no longer use up the draws (at most 50 dropped per request)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… without useless EcoTaxa calls

- The objects of each sample come from the EcoTaxa stats EcoPart keeps, read again in batches when missing or older than a day: a sample without object is never asked, a selection without any object makes no call
- One EcoTaxa call per image, at most 3 per image asked; the call counting the objects of a sample and its cache are gone
- Objects deleted since the stats were read: the next draw uses the count EcoTaxa answers, a sample emptied since is left
- An EcoTaxa project whose query fails is left after one call, its other samples are not asked

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.77%. Comparing base (51c33cd) to head (8f19979).

Additional details and impacted files
@@           Coverage Diff            @@
##             main      #11    +/-   ##
========================================
  Coverage   81.77%   81.77%            
========================================
  Files         215      215            
  Lines       12562    12564     +2     
  Branches     3022     3006    -16     
========================================
+ Hits        10272    10274     +2     
+ Misses       2290     2121   -169     
- Partials        0      169   +169     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@juliecoust
juliecoust merged commit 74f1edb into main Nov 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants