Wrote a server-side Geocoding API client for street-only addresses, appending a city and country and biasing with a UK region, a country component, and a local bounds box. Resolved and unresolved results are cached on the address text. Tests used a stubbed HTTP client. The live API was never called.
- What worked
- Region, component, and bounds parameters made a local bias expressible. partial_match and location type made it possible to drop partial matches, town-centre approximations, and points outside the area, and to remember those failures so they are not requested again.
- What got in the way
- How partial UK street addresses actually resolve had to be looked up, and result quality was never checked against the live service, only against stubbed responses.
