Weather: the 6-city match table has no geocoder behind it #128
Reference in New Issue
Block a user
Delete Branch "task/421-weather-geocoder"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes Vikunja #421.
Opened during an unattended overnight run: the diff-budget block was off (
task overnight). Read the diff, not only the tests.Acceptance criteria and quality gate are in
TASK.mdon this branch.Review the review, not the diff — leave comments and the agent will apply them via
task start 421.Bug: a pending clarify is global, so one unanswerable question swallows the next three utterances from anybodyto Weather: the 6-city match table has no geocoder behind itwrong target branch.
Reviewed as part of a bottom-up pass over the whole open stack (#119 to #168). Merging: any city he names beats a table of six. A wrong candidate finds nothing rather than answering for the wrong place.
Two gaps in
locationCandidates, both still open at the top of the stack.The four-rune floor drops the short names.
Уфеhas three, so it goes to the geocoder as spoken andУфаis never tried.ТверьandОмскare fine because they arrive asТвериandОмске, five runes each. The floor is there to stop a two-letter stem, and a length test is a rough way to say that.The endings are a hand-written declension guess.
internal/morphanswers that question by dictionary later in this same stack, and the sweep did not reach this file. A lemma lookup would takeУфеtoУфаwith no length floor at all.Neither gap produces a wrong answer today, which is the part that matters.
ErrLocationUnknownkeeps an unknown place apart from an unreachable service. A missed candidate reads as an honest gap.