[Bug]: DItto producing suggested results in the wrong UI context #2

Open
opened 2026-08-15 23:09:09 +00:00 by tcurtiss · 2 comments
Collaborator

What happened?

I scanned a bunch of books and one of them (SPECIMEN · B37BAA37) had a poor label. I clicked "SUGGEST MATCHES" and it came up with a name and a diagnostic-looking bit of code output:
"""
(01
Open book titled "H.R
local embedding (cosine 0.001)
"""

(When I click "SAVE", the object's name is updated to "Open book titled "H.R", which is as expected. )

What did you expect to happen?

The diagnostic output was larger than the text for the suggested new name. I was confused. :-)

Steps to reproduce

Click on an item; press SUGGEST MATCHES

Where did this happen?

Desktop (web browser)

Device and browser

No response

Screenshots or photos

attached

Ditto version

No response

### What happened? I scanned a bunch of books and one of them (SPECIMEN · B37BAA37) had a poor label. I clicked "SUGGEST MATCHES" and it came up with a name and a diagnostic-looking bit of code output: """ (01 Open book titled "H.R local embedding (cosine 0.001) """ (When I click "SAVE", the object's name is updated to "Open book titled "H.R", which is as expected. ) ### What did you expect to happen? The diagnostic output was larger than the text for the suggested new name. I was confused. :-) ### Steps to reproduce Click on an item; press SUGGEST MATCHES ### Where did this happen? Desktop (web browser) ### Device and browser _No response_ ### Screenshots or photos attached ### Ditto version _No response_
tcurtiss added the bug label 2026-08-15 23:09:09 +00:00
Owner

Fixed; it goes live with the next deploy, and I will assign this back to you to confirm once it is.

Cause: the suggestion was this item matching its own photo. When Ditto first captioned the book it saved that caption ("Open book titled "H.R") as a catalogue entry built from the same photo, so Suggest matches found it as a near-perfect match and offered the old guess back. The line under it was internal match scoring that should never have been shown.

Fix: Suggest matches now skips catalogue entries made from the item's own photo, so it only offers other things the item might be, and the source line reads "similar photo".

Fixed; it goes live with the next deploy, and I will assign this back to you to confirm once it is. **Cause:** the suggestion was this item matching its own photo. When Ditto first captioned the book it saved that caption ("Open book titled \"H.R") as a catalogue entry built from the same photo, so Suggest matches found it as a near-perfect match and offered the old guess back. The line under it was internal match scoring that should never have been shown. **Fix:** Suggest matches now skips catalogue entries made from the item's own photo, so it only offers other things the item might be, and the source line reads "similar photo".
Owner

@tcurtiss this is now live in Ditto v0.13.40. Could you give it a try and close the issue if it works for you (or tell us what is still off)?

@tcurtiss this is now live in Ditto v0.13.40. Could you give it a try and close the issue if it works for you (or tell us what is still off)?
drwily added the resolved label 2026-10-10 19:32:15 +00:00
tcurtiss was assigned by drwily 2026-10-10 19:32:15 +00:00
Sign in to join this conversation.