Skip to content

feat: Use sl_source to differentiate BookDB trust weighting (#254)#260

Merged
deucebucket merged 3 commits into
developfrom
fix/issue-254-sl-source-weighting
Jun 12, 2026
Merged

feat: Use sl_source to differentiate BookDB trust weighting (#254)#260
deucebucket merged 3 commits into
developfrom
fix/issue-254-sl-source-weighting

Conversation

@deucebucket

Copy link
Copy Markdown
Owner

Summary

  • Map BookDB's sl_source field to differentiated source names: bookdb_audio (database match), bookdb_transcript (Whisper only), bookdb_scrape (web scraping)
  • Add new SOURCE_WEIGHTS: bookdb_transcript: 55, bookdb_scrape: 45
  • Pass differentiated source through pipeline so confidence calculations reflect actual match quality

Closes #254

Test plan

  • 290/290 pattern tests pass
  • ruff F821 clean
  • E2E: verify BookProfile confidence varies by sl_source

deucebucket and others added 3 commits June 5, 2026 08:26
Promote develop to main after PR #217 and passing CI.
Map BookDB sl_source field to differentiated source names so the
BookProfile weights transcript-only and web-scraped results lower
than verified database matches.

- bookdb_audio (weight 65): database match, highest trust
- bookdb_transcript (weight 55): Whisper transcript only
- bookdb_scrape (weight 45): live web scrape, lowest trust
@deucebucket
deucebucket merged commit 81390b9 into develop Jun 12, 2026
2 of 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.

1 participant