Skip to content

Commit 0b48c6d

Browse files
PRAteek-singHWYnorthdpole
authored andcommitted
week_4: black-format cross_encoder_test (fix Lint CI)
1 parent 5c52d87 commit 0b48c6d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

application/tests/librarian/cross_encoder_test.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ def test_ties_preserve_cosine_order(self) -> None:
9696
)
9797

9898
def test_empty_candidates_yields_empty_reranked(self) -> None:
99-
empty = RetrievalAudit(
100-
retriever="r", candidates=[], reranked=[], threshold=0.8
101-
)
99+
empty = RetrievalAudit(retriever="r", candidates=[], reranked=[], threshold=0.8)
102100
out = make_reranker().rerank("q", empty)
103101
self.assertEqual(out.reranked, [])
104102

0 commit comments

Comments
 (0)