Commit 36c09de9 authored by Aryan Noshirvnai's avatar Aryan Noshirvnai

Update Roadmap for confidence ranking fix + stale TODO cleanup

Documents the identify_audio() ranking fix (backend commit follows
separately) and corrects a stale frontend TODO item - the confidence
meter half of "show identify confidence" already shipped 2026-08-28,
only the "couldn't identify" empty state is still actually open.
Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
parent 30b4016d
Pipeline #1154 passed with stage
in 18 minutes and 35 seconds
...@@ -105,6 +105,7 @@ const BACKEND_DONE: DoneGroup[] = [ ...@@ -105,6 +105,7 @@ const BACKEND_DONE: DoneGroup[] = [
'History links a match to the caller\'s own library by title+artist when one already exists (computed live on read, not stored) - makes it playable instead of just informational', 'History links a match to the caller\'s own library by title+artist when one already exists (computed live on read, not stored) - makes it playable instead of just informational',
'App-wide library matching (2026-08-28): if a hit doesn\'t match the caller\'s own library but matches *any* user\'s (including a super admin\'s deliberately-seeded uploads), a new LibrarySong row is created for the caller at detection time - reusing the existing file_path rather than duplicating the audio on disk. The library is a collective pool built entirely from real uploads (never anything auto-downloaded from an external source), so this stays clear of the copyright question raised earlier.', 'App-wide library matching (2026-08-28): if a hit doesn\'t match the caller\'s own library but matches *any* user\'s (including a super admin\'s deliberately-seeded uploads), a new LibrarySong row is created for the caller at detection time - reusing the existing file_path rather than duplicating the audio on disk. The library is a collective pool built entirely from real uploads (never anything auto-downloaded from an external source), so this stays clear of the copyright question raised earlier.',
'Real confidence field (2026-08-28): AcoustID\'s native score is now a queryable 0-100 float instead of embedded in a string; Shazam gets a fixed high value (a returned match is already a fingerprint hit, not a fuzzy guess); Gemini stays null (no comparable signal). Surfaced as a small meter + source label on each history row.', 'Real confidence field (2026-08-28): AcoustID\'s native score is now a queryable 0-100 float instead of embedded in a string; Shazam gets a fixed high value (a returned match is already a fingerprint hit, not a fuzzy guess); Gemini stays null (no comparable signal). Surfaced as a small meter + source label on each history row.',
'Candidates actually ranked by confidence (2026-09-01): identify_audio() always appended Shazam\'s hit before AcoustID\'s, so every caller\'s candidates[0] silently picked "whichever source responded first" rather than the best match - a lower-confidence Shazam hit would beat a higher-scoring AcoustID one from the very same batch. Now sorted by confidence descending before returning, so this fixes ranking for Discovery, Upload, and Telegram tagging all at once (they all share this one function).',
], ],
}, },
{ {
...@@ -252,9 +253,9 @@ const FRONTEND_TODO: WorkItem[] = [ ...@@ -252,9 +253,9 @@ const FRONTEND_TODO: WorkItem[] = [
}, },
{ item: 'Persist playback position/volume across a reload', status: 'ready' }, { item: 'Persist playback position/volume across a reload', status: 'ready' },
{ {
item: 'Show identify confidence / a clear "couldn\'t identify" state in Discovery', item: 'A clear "couldn\'t identify" state in Discovery',
status: 'blocked', status: 'ready',
note: 'Blocked on the backend giving Discovery candidates a real confidence field first.', note: 'The confidence-meter half of this shipped 2026-08-28 (was blocked, no longer is) - Discovery.tsx still has no distinct UI for the backend\'s "No music detected" response though, so a failed identify currently has no dedicated empty/error state.',
}, },
{ {
item: 'Wire a "save to library" action for liked Discovery matches', item: 'Wire a "save to library" action for liked Discovery matches',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment