fix(6252): the named-record test keeps its number after "with"
"in 4448" is not read as a reference, so the subject went after the number. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -139,7 +139,7 @@ async def test_a_named_record_comes_first_and_is_not_repeated_as_a_match():
|
|||||||
other = fake_note(id=11, title="something that matched the words", user_id=1)
|
other = fake_note(id=11, title="something that matched the words", user_id=1)
|
||||||
hits = [(0.80, named), (0.78, other)]
|
hits = [(0.80, named), (0.78, other)]
|
||||||
out, surfaced, retrieval = await _hint(
|
out, surfaced, retrieval = await _hint(
|
||||||
"go ahead with the filing fix in 4448", hits=hits, records={4448: named},
|
"go ahead with 4448 and the filing fix", hits=hits, records={4448: named},
|
||||||
)
|
)
|
||||||
|
|
||||||
ctx = out["context"]
|
ctx = out["context"]
|
||||||
|
|||||||
Reference in New Issue
Block a user