Polish assistant wording and mobile explorer
GeoIntel CI / docs-smoke (push) Canceled after 0s
GeoIntel CI / contract-smoke (push) Canceled after 0s

This commit is contained in:
Codex
2026-07-16 04:14:25 +02:00
parent a280de8838
commit 43dd5359ba
4 changed files with 15 additions and 3 deletions
@@ -112,7 +112,11 @@ class GeoAssistantService:
if "population" in estimated_themes:
answer = re.sub(
r"\bde officiële telling\b",
"de van de officiële bron afgeleide schatting",
lambda match: (
"De uit de officiële bron afgeleide schatting"
if match.group(0)[0].isupper()
else "de uit de officiële bron afgeleide schatting"
),
answer,
flags=re.IGNORECASE,
)