# The "Solves" line showed the wrong problem

> The line under a result saying what it solves showed the wrong problem: two of the listing's statements scored almost the same. Now the reranking model picks between statements that close.

Source: https://talira.ai/dev-log/solves-line
All of Talira's documentation: https://talira.ai/llms.txt

21 November 2026

**What went wrong:** A search for "I run dozens of coding agent sessions and lose track of which one needs me" put herdr first, and its card said it solves "after a reboot I have to reopen and resume every agent session by hand", while herdr's listing also says "I have eight Claude Code sessions in tmux and can't tell which one is waiting for me", almost the search itself.

## Evidence

- [The regression test with herdr's statements](https://github.com/talira-ai/talira/blob/main/server/tests/search_why.rs)
- [How search works, what each result solves](https://talira.ai/docs/how-search-works#what-each-result-solves)

## Why

The line under each result (and `why` in answers to agents) was the listing's problem statement the embedding model
put nearest to the search. Nothing was wrong with the lookup: the model really did put the reboot statement first, by
0.613 to 0.607, a gap far too small for it to tell which says what was asked. In about a third of results, a second
statement is within 0.03 of the nearest.

Now the statements that close to the nearest go to the reranking model, which reads each one against the search, and
its choice is shown. herdr's card says the tmux one. A listing with no statement near the search at all (found
through its description, its name or the fit judge) shows no line, and its `why` is null. Ranking didn't change: only
the line does.
