<?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: Baqyt Ilias</title>
    <description>The latest articles on DEV Community by Baqyt Ilias (@ikooq).</description>
    <link>https://dev.to/ikooq</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4276609%2F7151a928-8828-44f6-b247-0e2f06e87dc9.jpg</url>
      <title>DEV Community: Baqyt Ilias</title>
      <link>https://dev.to/ikooq</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ikooq"/>
    <language>en</language>
    <item>
      <title>I Built an Open-Source Graph Tool to Investigate 296,000 Unwanted-Call Reports</title>
      <dc:creator>Baqyt Ilias</dc:creator>
      <pubDate>Tue, 01 Dec 2026 14:08:27 +0000</pubDate>
      <link>https://dev.to/ikooq/i-built-an-open-source-graph-tool-to-investigate-296000-unwanted-call-reports-45kg</link>
      <guid>https://dev.to/ikooq/i-built-an-open-source-graph-tool-to-investigate-296000-unwanted-call-reports-45kg</guid>
      <description>&lt;h1&gt;
  
  
  Why I Built DropNet
&lt;/h1&gt;

&lt;p&gt;Most tools for investigating unwanted calls focus on individual phone numbers. But what happens when reported caller IDs constantly change?&lt;/p&gt;

&lt;p&gt;I wanted to explore whether looking at the relationships between phone numbers, numbering ranges, and carrier assignments could reveal useful patterns that a traditional list of numbers might miss.&lt;/p&gt;

&lt;p&gt;That idea became &lt;strong&gt;DropNet&lt;/strong&gt;, an open-source investigation tool built with Python, Relate, Cypher, and WebAssembly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Live demo:&lt;/strong&gt; &lt;a href="https://ikooq.github.io/dropnet/" rel="noopener noreferrer"&gt;https://ikooq.github.io/dropnet/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Source code:&lt;/strong&gt; &lt;a href="https://github.com/ikooq/dropnet" rel="noopener noreferrer"&gt;https://github.com/ikooq/dropnet&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem: Most Numbers Appear Only Once
&lt;/h2&gt;

&lt;p&gt;I worked with 296,273 FTC Do Not Call complaint records, covering 248,930 unique reported phone numbers.&lt;/p&gt;

&lt;p&gt;Approximately 92% of those numbers appeared only once in the dataset.&lt;/p&gt;

&lt;p&gt;This creates a challenge for systems that rely entirely on previously reported numbers: a new caller ID might not match any existing entry, even if related number ranges have already attracted substantial complaint activity.&lt;/p&gt;

&lt;p&gt;Instead of looking at each number independently, I wanted to explore its surrounding six-digit range.&lt;/p&gt;

&lt;h2&gt;
  
  
  What DropNet Does
&lt;/h2&gt;

&lt;p&gt;DropNet connects complaint reports to phone numbers, six-digit numbering ranges, and NANPA-listed numbering assignments.&lt;/p&gt;

&lt;p&gt;It lets you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Look up a reported phone number.&lt;/li&gt;
&lt;li&gt;Explore the surrounding range of up to 10,000 possible numbers.&lt;/li&gt;
&lt;li&gt;Visualize reported-number concentrations.&lt;/li&gt;
&lt;li&gt;Follow relationships between ranges and their listed holders.&lt;/li&gt;
&lt;li&gt;Investigate other flagged ranges associated with the same holder.&lt;/li&gt;
&lt;li&gt;Run Cypher queries directly in the browser.&lt;/li&gt;
&lt;li&gt;Access graph-backed evidence using MCP tools.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here's the number-lookup interface:&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpx6bfcebdre36vvwg8jm.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpx6bfcebdre36vvwg8jm.png" alt="DropNet phone lookup" width="800" height="267"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can try the demo yourself without installing anything:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://ikooq.github.io/dropnet/#n=7719990716" rel="noopener noreferrer"&gt;https://ikooq.github.io/dropnet/#n=7719990716&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Use a Graph Database?
&lt;/h2&gt;

&lt;p&gt;The underlying relationships are naturally connected.&lt;/p&gt;

&lt;p&gt;A simplified view looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;FTC Complaint
     |
     v
Reported Number
     |
     v
Six-Digit Range
     |
     v
NANPA-Listed Holder
     |
     v
Other Related Ranges
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Using Relate and Cypher, the application can explore these relationships without requiring users to manually join several datasets.&lt;/p&gt;

&lt;p&gt;The full local graph also includes complaint categories, consumer states, rate centers, and thousand-number block assignments.&lt;/p&gt;

&lt;p&gt;One detail I found particularly important is distinguishing the holder of a six-digit range from the assignee of a smaller thousand-number block.&lt;/p&gt;

&lt;p&gt;Neither assignment identifies who actually placed a call.&lt;/p&gt;

&lt;h2&gt;
  
  
  Running the Graph in a Browser
&lt;/h2&gt;

&lt;p&gt;I wanted people to try DropNet without installing Python or setting up a database server.&lt;/p&gt;

&lt;p&gt;So I built a smaller public demonstration using Relate compiled to WebAssembly.&lt;/p&gt;

&lt;p&gt;The browser demo supports number lookups, graph exploration, and Cypher queries.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1uvfrnbw0f9begk849ga.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1uvfrnbw0f9begk849ga.png" alt="DropNet graph exploration" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The full local version uses Python and the larger graph dataset.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the Evaluation Found
&lt;/h2&gt;

&lt;p&gt;I evaluated whether including flagged number ranges helped match complaints filed after a historical split.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Share of later complaints matched&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Previously reported numbers&lt;/td&gt;
&lt;td&gt;4.3%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Numbers plus DropNet geographic ranges&lt;/td&gt;
&lt;td&gt;14.3%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Numbers plus simple range-ranking baseline&lt;/td&gt;
&lt;td&gt;14.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The important takeaway is that including ranges improved coverage compared with exact-number rules.&lt;/p&gt;

&lt;p&gt;However, the simple range-ranking baseline performed slightly better than DropNet's ranking.&lt;/p&gt;

&lt;p&gt;So I don't claim that my ranking algorithm is superior.&lt;/p&gt;

&lt;p&gt;The value I want to explore is the connected evidence: which complaints contributed to a range being flagged, which holder is listed for it, and which other ranges share that holder.&lt;/p&gt;

&lt;p&gt;These percentages describe matches against later complaint records. They do not measure prevented fraud, blocked calls, or harm avoided.&lt;/p&gt;

&lt;p&gt;The evaluation methodology, underlying results, and limitations are documented here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ikooq/dropnet/blob/main/docs/EVIDENCE.md" rel="noopener noreferrer"&gt;https://github.com/ikooq/dropnet/blob/main/docs/EVIDENCE.md&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Connecting the Graph to AI Agents
&lt;/h2&gt;

&lt;p&gt;DropNet also includes an MCP server that exposes graph-backed tools to AI agents.&lt;/p&gt;

&lt;p&gt;For example, an agent can request evidence about a reported phone number rather than relying entirely on its own generated explanation.&lt;/p&gt;

&lt;p&gt;The project includes tools for number assessment, carrier exploration, and read-only graph queries.&lt;/p&gt;

&lt;p&gt;The important principle is that an agent should present the underlying evidence and uncertainty instead of declaring that a number or carrier is fraudulent.&lt;/p&gt;

&lt;h2&gt;
  
  
  Running DropNet Locally
&lt;/h2&gt;

&lt;p&gt;The project requires Python 3.10 or later.&lt;/p&gt;

&lt;p&gt;Clone the repository:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/ikooq/dropnet.git
&lt;span class="nb"&gt;cd&lt;/span&gt; dropnet
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Create a virtual environment and install dependencies:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python -m venv .venv
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On macOS or Linux:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;source&lt;/span&gt; .venv/bin/activate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On Windows PowerShell:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="p"&gt;.&lt;/span&gt;\&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;venv&lt;/span&gt;\&lt;span class="nc"&gt;Scripts&lt;/span&gt;\&lt;span class="nc"&gt;Activate&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ps1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python -m pip install -e .
python -m dropnet serve
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Open:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://localhost:8000" rel="noopener noreferrer"&gt;http://localhost:8000&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The repository contains the dataset and additional instructions for testing and evaluating the project.&lt;/p&gt;

&lt;h2&gt;
  
  
  Important Limitations
&lt;/h2&gt;

&lt;p&gt;This is not a system for automatically identifying scammers.&lt;/p&gt;

&lt;p&gt;FTC complaints are unverified. Caller IDs can be spoofed, and telephone numbers can be ported between carriers.&lt;/p&gt;

&lt;p&gt;A carrier listed as holding a range is not necessarily the organization responsible for the reported call.&lt;/p&gt;

&lt;p&gt;The data also do not include legitimate calls, so the system cannot estimate how often legitimate callers would be affected by a range-based decision.&lt;/p&gt;

&lt;p&gt;That's why DropNet is designed for human investigation and prioritization, not automatic blocking.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;I'm interested in improving the interface, collecting feedback on the investigation workflow, and evaluating whether the graph actually helps human analysts make better decisions.&lt;/p&gt;

&lt;p&gt;I would especially appreciate feedback on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The usefulness of the graph visualization.&lt;/li&gt;
&lt;li&gt;The clarity of the evidence presented for each number.&lt;/li&gt;
&lt;li&gt;The methodology and evaluation limitations.&lt;/li&gt;
&lt;li&gt;Improvements that would make the tool easier to use.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Try DropNet:&lt;/strong&gt; &lt;a href="https://ikooq.github.io/dropnet/" rel="noopener noreferrer"&gt;https://ikooq.github.io/dropnet/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/ikooq/dropnet" rel="noopener noreferrer"&gt;https://github.com/ikooq/dropnet&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading! I'd love to hear what you think.&lt;/p&gt;

</description>
      <category>python</category>
      <category>opensource</category>
      <category>webdev</category>
      <category>datascience</category>
    </item>
  </channel>
</rss>
