<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hulk helios</title>
    <description>The latest articles on DEV Community by Hulk helios (@hulk_helios_df5520016922b).</description>
    <link>https://dev.to/hulk_helios_df5520016922b</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3977346%2F01860143-69fb-46e3-a78f-0a00a0892d44.png</url>
      <title>DEV Community: Hulk helios</title>
      <link>https://dev.to/hulk_helios_df5520016922b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hulk_helios_df5520016922b"/>
    <language>en</language>
    <item>
      <title>Building GeoPrizm: Turning Global News Events into a Bilateral Relations Index</title>
      <dc:creator>Hulk helios</dc:creator>
      <pubDate>Wed, 10 Jun 2026 09:17:17 +0000</pubDate>
      <link>https://dev.to/hulk_helios_df5520016922b/building-geoprizm-turning-global-news-events-into-a-bilateral-relations-index-4ah6</link>
      <guid>https://dev.to/hulk_helios_df5520016922b/building-geoprizm-turning-global-news-events-into-a-bilateral-relations-index-4ah6</guid>
      <description>&lt;p&gt;I recently built &lt;strong&gt;GeoPrizm&lt;/strong&gt;, a free and open-source dashboard for tracking bilateral relations through global news event signals.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9w95tv0immhy37qi4pi1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9w95tv0immhy37qi4pi1.jpg" alt=" " width="800" height="835"&gt;&lt;/a&gt;&lt;br&gt;
The idea is simple: instead of reading dozens of headlines every day and trying to guess whether a relationship is improving or worsening, can we turn public news event data into a readable trend signal?&lt;/p&gt;

&lt;p&gt;GeoPrizm is my attempt at that.&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="https://www.geoprizm.com/en" rel="noopener noreferrer"&gt;https://www.geoprizm.com/en&lt;/a&gt;&lt;br&gt;&lt;br&gt;
GitHub: &lt;a href="https://github.com/Haullk/relationship-temperature" rel="noopener noreferrer"&gt;https://github.com/Haullk/relationship-temperature&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;International relations are usually discussed through headlines, speeches, official statements, and expert commentary.&lt;/p&gt;

&lt;p&gt;That is valuable, but it creates a few practical problems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is hard to compare country pairs on the same scale.&lt;/li&gt;
&lt;li&gt;A single headline can feel more important than it really is.&lt;/li&gt;
&lt;li&gt;Readers often see conclusions before they see the underlying signals.&lt;/li&gt;
&lt;li&gt;Most non-specialists do not have time to follow every event in detail.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted a lightweight way to answer one question:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Based on public news event signals, is this bilateral relationship trending more cooperative, neutral, or tense?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Data source: GDELT
&lt;/h2&gt;

&lt;p&gt;GeoPrizm uses the GDELT global news event database.&lt;/p&gt;

&lt;p&gt;GDELT monitors global news coverage and converts news reports into structured event records. These records include fields such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;actor countries&lt;/li&gt;
&lt;li&gt;event date&lt;/li&gt;
&lt;li&gt;CAMEO event category&lt;/li&gt;
&lt;li&gt;GoldsteinScale value&lt;/li&gt;
&lt;li&gt;number of mentions&lt;/li&gt;
&lt;li&gt;number of articles&lt;/li&gt;
&lt;li&gt;source information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For GeoPrizm, the key idea is to focus on events where two countries appear as actors, then aggregate the cooperation or conflict signals over time.&lt;/p&gt;

&lt;h2&gt;
  
  
  From event signals to an index
&lt;/h2&gt;

&lt;p&gt;Each bilateral pair is converted into a 0-100 relationship index.&lt;/p&gt;

&lt;p&gt;The midpoint is 50.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Above 50 means the recent signal is more cooperative or favorable.&lt;/li&gt;
&lt;li&gt;Around 50 means the signal is relatively neutral or mixed.&lt;/li&gt;
&lt;li&gt;Below 50 means the recent signal is more tense or conflict-heavy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The rough process is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select recent GDELT events for a country pair.&lt;/li&gt;
&lt;li&gt;Keep events where both actors are present and the GoldsteinScale value is available.&lt;/li&gt;
&lt;li&gt;Weight each event by coverage intensity.&lt;/li&gt;
&lt;li&gt;Smooth the daily signal with a rolling window.&lt;/li&gt;
&lt;li&gt;Map the result onto a 0-100 index.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The current version uses a 14-day rolling average to reduce single-day noise.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why weighting matters
&lt;/h2&gt;

&lt;p&gt;A small event mentioned once should not have the same impact as a major event covered across many outlets.&lt;/p&gt;

&lt;p&gt;At the same time, one highly covered event should not completely dominate the entire index.&lt;/p&gt;

&lt;p&gt;So GeoPrizm uses a log-style coverage weight:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
text
weight = log1p(max(num_mentions, num_articles, 1))
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>datascience</category>
      <category>gdelt</category>
      <category>nextjs</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
