Skip to content

fix: resolve to the World aggregate only on explicit wording #674 - #672

Draft
veryniceuser wants to merge 1 commit into
developmentfrom
fix/normalization-world-only-on-explicit-wording
Draft

veryniceuser wants to merge 1 commit into
developmentfrom
fix/normalization-world-only-on-explicit-wording

Conversation

@veryniceuser

@veryniceuser veryniceuser commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

The normalization prompt let the model treat queries with no geography as global, injecting a spurious "World" reference area that later fails dimension selection (no World value in many datasets) and returns "No data was found for Country/Reference area World".

Scope the World rewrite (#438) to EXPLICIT global/worldwide wording and forbid adding a geography when none is mentioned.

Applicable issues

Description of changes

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

… wording

The normalization prompt let the model treat queries with no geography
as global, injecting a spurious "World" reference area that later
fails dimension selection (no World value in many datasets) and returns
"No data was found for Country/Reference area World".

Scope the World rewrite (#438) to EXPLICIT global/worldwide wording and
forbid adding a geography when none is mentioned. This upstreams the
swissre channel-config override validated in the swissre data-query
eval, so that override can be removed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@veryniceuser

veryniceuser commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

/deploy-review

GitHub actions run: 34965198138

Stage Status
deploy-review Success ✅
matrix.application Skipped ➖

@veryniceuser veryniceuser changed the title fix: resolve to the World aggregate only on explicit global/worldwide… fix: resolve to the World aggregate only on explicit global/worldwide wording #674 Sep 16, 2026
@veryniceuser veryniceuser changed the title fix: resolve to the World aggregate only on explicit global/worldwide wording #674 fix: resolve to the World aggregate only on explicit wording #674 Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Data Query: normalization step adds spurious World scope

1 participant