Skip to content

Fix uncertainty intervals for search accuracy - #255

Closed
arclabs561 wants to merge 5 commits into
teal-fm:mainfrom
arclabs561:fix/paired-search-intervals
Closed

arclabs561 wants to merge 5 commits into
teal-fm:mainfrom
arclabs561:fix/paired-search-intervals

Conversation

@arclabs561

@arclabs561 arclabs561 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

The search report counted wins in the improvement interval and missed losses. Resample each canonical recording with all of its query variants and both search results. Merged MusicBrainz IDs count as one recording.

Offline tests cover balanced wins and losses, repeated queries, and a CLI replay where four queries for a single canonical recording produce no interval. Follow-up to #98.

Summary by CodeRabbit

  • New Features

    • Evaluation reports now show query and recording counts, plus baseline, improved, and difference estimates for key ranking and findability metrics.
    • Improvement ranges are reported in percentage points using paired resampling by recording. Ranges are omitted when fewer than two recordings are available.
    • Reports now provide a message when no cases are evaluated.
  • Documentation

    • Clarified how evaluation cases are counted and how recording-level intervals are calculated.

@arclabs561 arclabs561 changed the title Count wins and losses in the search evaluation intervals Fix uncertainty intervals for search accuracy Nov 22, 2026
@mmattbtw

Copy link
Copy Markdown
Member

hey there! thanks for the contribution but unfortunately im doing a big amethyst rewrite in #113, so if you'd like to reopen your PRs with it targeting that branch obbpr instead of main that would be great! theres been a lot of changes so make sure you see whats changed before resubmitting patches, thanks and sorry for the hassle! i'll make a note somewhere on the repo so people don't get confused =)

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