Skip to content

Conversation

@Teagan42
Copy link
Contributor

What

  • add optional CrossEncoder reranker for search_media
  • fetch extra candidates and reorder results by reranker scores
  • cover reranking behavior with unit tests

Why

  • improve search relevance while allowing reranker to be disabled for latency-sensitive scenarios

Affects

  • mcp_plex/server.py
  • tests/test_server.py

Testing

  • uv run ruff check .
  • uv run pytest

Documentation

  • n/a

https://chatgpt.com/codex/tasks/task_e_68b3ea23a1948328ad4b6849262dd88d

@github-actions
Copy link

github-actions bot commented Aug 31, 2025

Coverage

Coverage Report
FileStmtsMissCoverMissing
mcp_plex
   loader.py1791094%32–34, 296, 299–302, 523, 529
   server.py162796%298, 318–322, 326
TOTAL4431796% 

Tests Skipped Failures Errors Time
13 0 💤 0 ❌ 0 🔥 6.614s ⏱️

@Teagan42 Teagan42 merged commit 6531943 into main Aug 31, 2025
4 checks passed
@Teagan42 Teagan42 deleted the codex/implement-cross-encoder-reranker branch August 31, 2025 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants