Try the capitalized title too, and reach Париж (V-668)

A ZIM title carries a leading capital and the utterance does not: /A/фотосинтез
is a 404 and /A/Фотосинтез is a 200. TitleCandidates tries the spoken form
first, so a title that begins lowercase on purpose keeps its chance.

That takes the measurement from four right to five, and the fifth is the one
that mattered. "столица Франции" returned "Список столиц Олимпийских игр"
and now returns Париж, through a title redirect the ZIM already held. The
2026-08-05 measurement named that case as the one no lexical signal could
reach. Retrieval by title reaches it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013ptwopxyo3Z2kwFckHkLvN
This commit is contained in:
2026-08-09 10:52:24 +04:00
parent 02f6e8ad4a
commit 96d97e8964
8 changed files with 119 additions and 19 deletions
+5 -2
View File
@@ -681,8 +681,11 @@ world questions, so she needs to read external sources. What replaces it:
returned "Перехват TCP-соединения". "кто написал Войну и мир" returned an episode of
Doctor Who. `kiwix.Topic` drops the narrative request, the interrogative and a verb
behind one. `kiwix.TitlePath` tries the exact article first, since a ZIM is addressable
by title and a wrong title is a 404. Four of eight questions reach the right article
where they did not, two were already right, and nothing regressed. Both apply on the
by title and a wrong title is a 404. Five of eight questions reach the right article
where they did not, one was already right, and nothing regressed. The title needs its
leading capital, so `TitleCandidates` tries the spoken form and then the capitalized
one. **"столица Франции" is answered by a title redirect to Париж**, which is the case
the 2026-08-05 measurement named as unreachable by any lexical signal. Both apply on the
verbatim path alone. The rewriter already reduces a question, and reducing twice takes
the topic off its input.
`Response.Empty()` is the whole gate and there is no quality threshold in front of it: