Make dashboard news geotagging deterministic and case-insensitive #19

Closed
opened 2026-05-17 12:06:03 +00:00 by MrSphay · 1 comment
Owner

Created from local project scan after reviewing existing issues #1-#13.

Current status: geoTagText() does case-sensitive substring matching, and RSS map points add fresh Math.random() jitter every synthesis. As a result, lower-case headlines may not geotag, and the same unchanged headline can jump to a different location whenever /api/data is regenerated or the dashboard reloads.

Code references:

  • dashboard/inject.mjs: geoTagText() around lines 86-94.
  • dashboard/inject.mjs: RSS point jitter around lines 238-239.

Acceptance criteria:

  • Match geo keywords case-insensitively with reasonable word-boundary behavior to reduce false positives.
  • Replace random jitter with deterministic jitter derived from a stable item key, or remove jitter where it harms trust.
  • Keep repeated identical news items at stable coordinates across syntheses.
  • Add tests for lower-case headlines, ambiguous keywords, and coordinate stability.
Created from local project scan after reviewing existing issues #1-#13. Current status: geoTagText() does case-sensitive substring matching, and RSS map points add fresh Math.random() jitter every synthesis. As a result, lower-case headlines may not geotag, and the same unchanged headline can jump to a different location whenever /api/data is regenerated or the dashboard reloads. Code references: - dashboard/inject.mjs: geoTagText() around lines 86-94. - dashboard/inject.mjs: RSS point jitter around lines 238-239. Acceptance criteria: - Match geo keywords case-insensitively with reasonable word-boundary behavior to reduce false positives. - Replace random jitter with deterministic jitter derived from a stable item key, or remove jitter where it harms trust. - Keep repeated identical news items at stable coordinates across syntheses. - Add tests for lower-case headlines, ambiguous keywords, and coordinate stability.
Author
Owner

Taking this next on branch codex/issue-19-deterministic-news-geotags. Scope: deterministic case-insensitive geo tagging plus focused tests.

Taking this next on branch `codex/issue-19-deterministic-news-geotags`. Scope: deterministic case-insensitive geo tagging plus focused tests.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MrSphay/intelligence-terminal#19