Skip to content

v0.0.79

Choose a tag to compare

@marcelpetrick marcelpetrick released this 13 Sep 20:26
· 29 commits to master since this release

📍 Properly geocoded markets and a 90% test gate

Fixed — "Ungefährer Ort" on most markers

Nearly every geocoded market was shown with an approximate location. Nominatim's town results carry no postcode, so they were rejected; the postcode centroids used instead never reached the importance threshold and were always flagged uncertain.

  • Results that name the requested town are now accepted and treated as certain (country must match, a differing postcode is still rejected; country/state/county results stay uncertain).
  • Cached lookups move to a new key version: entries that already name the town are upgraded without a network request, the others are looked up once again and keep their old coordinates if nothing better is found.
  • Example: Elbingerode (Harz) and Eckelsheim now resolve to the towns themselves instead of neighbouring villages.

After upgrading, the next crawl repairs existing markers automatically.

Tests

  • Coverage raised from 57% to 98% with 161 offline tests (all adapters, crawl worker and queue, HTTP client, geocoder, API).
  • The coverage gate now enforces the project's 90% goal instead of 50%.

Container image

docker run -d --name ritterradar \
  -p 127.0.0.1:8000:8000 \
  -v ritterradar-data:/app/data \
  -e RITTERRADAR_GEOCODER_EMAIL=your@email.example \
  ghcr.io/marcelpetrick/ritterradar:0.0.79

Full changelog: v0.0.70...v0.0.79