Repository navigation
docs(vinted): document similarity_score on image search (SCR-110) - #68
Merged
Merged
Conversation
The image-search page told readers no similarity or confidence score is returned. Vinted does return one per item and the API now surfaces it. Says plainly what a null means, because the obvious reading is wrong: Vinted supplies the ranking on only some calls, and on the rest every item comes back null. The result set is identical either way, so a missing score is not a weak match — it is a missing payload. Also documents the self-match: searching with a listing's own photo returns that listing first at 1.0, which will bias a median unless it is dropped by id.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ships alongside scrape-badger/scrapebadger#1956, already deployed to production.
The image-search page told readers no similarity or confidence score is returned. Vinted does return one per item, and the API now surfaces it as
similarity_score.Verified in production on 2026-09-18:
1.0000at rank 1 (the query image's own listing) down to0.6154at rank 20, monotonic.Two things the page now says explicitly, because the obvious reading of each is wrong:
nullis not a weak match. Vinted supplies the ranking on only some calls (2 of 14 in the prod check); on the rest every item comes backnull. The result set is identical either way, so a missing score is a missing payload, not a worse match.1.0and will bias a median unless dropped byid.🤖 Generated with Claude Code