explaingit

thejas-bhat/biasdetection

Analysis updated 2026-08-13 · repo last pushed 2020-06-19

PythonAudience · researcherComplexity · 4/5DormantSetup · hard

TLDR

Analyzes political Twitter networks to find the most influential users and groups tweets by topic. Built with Python and C++ for performance-critical network analysis.

Mindmap

mindmap
  root((repo))
    What it does
      Finds influential users
      Groups tweets by topic
      Maps political conversations
    Tech stack
      Python
      C++17
      CMake
      OpenCL
    Use cases
      Election influence analysis
      Media bias research
      Campaign strategy
    Audience
      Researchers
      Journalists
      Campaign strategists

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Identify which Twitter accounts shape public opinion during a political election.

USE CASE 2

Study how biased narratives form around specific political topics on social media.

USE CASE 3

Map out the influence structure of a political conversation network on Twitter.

USE CASE 4

Group political tweets by theme to understand what topics dominate discussion.

What is it built with?

PythonC++17CMakeOpenCL

How does it compare?

thejas-bhat/biasdetection0verflowme/learnings0verflowme/r2ai
LanguagePythonPythonPython
Last pushed2020-06-192022-06-182025-11-19
MaintenanceDormantDormantQuiet
Setup difficultyhardeasymoderate
Complexity4/51/53/5
Audienceresearcherresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires a C++17 compiler and CMake to build the performance-critical components, plus OpenCL for parallel computing, README lacks guidance on providing your own tweet data.

In plain English

Bias Detection is a project that analyzes political tweets to find which users hold the most influence in a social network, and what topics people are talking about. Think of it as mapping out who drives conversations in political discussions on Twitter. The project works in two parts. First, it builds a network graph of Twitter users and runs something called "Critical Node Detection" to pinpoint the most influential people in that network. It offers several versions of this analysis, including ones that use parallel computing through OpenCL to speed things up. Second, it performs topic modeling on the tweets themselves, which means grouping tweets by subject matter to understand what themes dominate the conversation. This would be useful for researchers, journalists, or campaign strategists who want to understand how political information spreads on social media. For example, a news organization could use it to identify which accounts shape public opinion during an election, or a research team could study how biased narratives form around specific topics. The project is written primarily in Python but requires a C++17 compiler and CMake to build, since the performance-critical network analysis runs in C++. The README doesn't go into detail about how the tweet dataset is structured or what the topic modeling output looks like, so you would need to dig into the code itself to understand those specifics. It's worth noting that this appears to be an academic or research-oriented project rather than a polished product. The README focuses on build instructions rather than explaining how to feed in your own data, so using it would likely require some comfort with development tools.

Copy-paste prompts

Prompt 1
I have a dataset of political tweets with user IDs and connections. How do I set up and run biasdetection to find the most influential users in this network using the Critical Node Detection feature?
Prompt 2
Help me configure the CMake build for biasdetection so that the C++17 network analysis compiles correctly with OpenCL support for parallel computing on my machine.
Prompt 3
I want to use the topic modeling part of biasdetection on my own set of political tweets. How do I format my tweet data and what does the topic modeling output look like?
Prompt 4
Walk me through the biasdetection codebase structure so I can understand how the network graph is built and how Critical Node Detection pinpoints influential users.

Frequently asked questions

What is biasdetection?

Analyzes political Twitter networks to find the most influential users and groups tweets by topic. Built with Python and C++ for performance-critical network analysis.

What language is biasdetection written in?

Mainly Python. The stack also includes Python, C++17, CMake.

Is biasdetection actively maintained?

Dormant — no commits in 2+ years (last push 2020-06-19).

How hard is biasdetection to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is biasdetection for?

Mainly researcher.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.