mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
* fix(deep-dive): revert prediction category to 'economy' + country-wide nuclear count Bug 1: PR #2838 changed RPC category from 'economy' to 'finance' based on a Greptile suggestion, but the server only recognizes 'economy' as a valid FINANCE_CATEGORY_TAG. 'finance' fell through to the default geopolitical bucket, returning empty results for US markets. Bug 2: Infrastructure Exposure showed "Nearby Nuclear: 2" for the US because it searched within 300km of the country centroid (Kansas). Added operator (ISO2) field to all 128 nuclear facilities and created getCountryInfrastructure() which matches by operator code. Countries with nuclear facilities show country-wide totals (US: 33). Countries without show nearby facilities from neighboring countries. * fix(geo): correct 30 nuclear facility operator codes misassigned as 'IN' The automated script didn't detect country block transitions after the India section, assigning 'IN' (India) to facilities from Canada, Hungary, Czech Republic, Sweden, Finland, Belgium, Spain, and 18 other countries. India: 34 → 4 (correct). * fix(geo): complete operator assignment for all 128 nuclear facilities Previous automated pass missed facilities in sections with nested country comments (Germany inside UK block) and left all major country blocks (US, France, UK, Russia, China, Japan, Korea, etc.) without operators. Now every facility has the correct ISO2 operator code.