fineweb-edu-misinfo / code /domain_list.py
ratishsp's picture
Upload code/domain_list.py with huggingface_hub
d99a084 verified
Raw
History Blame Contribute Delete
5.79 kB
"""
Problematic domain list and lookup functions.
Used by fineweb_edu_audit.py to flag documents from known misinformation sources.
"""
PROBLEMATIC_DOMAINS = {
# --- Holocaust denial / historical revisionism ---
"holocaust_denial": [
"codoh.com", # Committee for Open Debate on the Holocaust
"ihr.org", # Institute for Historical Review
"holocausthandbooks.com",
"inconvenienthistory.com",
"vho.org", # Vrij Historisch Onderzoek
"holocaustdeprogrammingcourse.com",
"holocaustianity.com",
"thetruthseeker.co.uk",
],
# --- Anti-vaccine / medical misinformation ---
"antivax_medical_misinfo": [
"naturalnews.com",
"mercola.com",
"articles.mercola.com",
"greenmedinfo.com",
"vaccinationinformationnetwork.com",
"ageofautism.com",
"thinktwice.com",
"nvic.org", # National Vaccine Information Center
"learntherisk.org",
"childrenshealthdefense.org",
"globalresearch.ca", # Centre for Research on Globalization
"healthimpactnews.com",
"wakingtimes.com",
"collective-evolution.com",
"healthnutnews.com",
"preventdisease.com",
"realfarmacy.com",
"naturalsociety.com", # natural health misinformation, anti-vax adjacent
"fluoridealert.org", # Fluoride Action Network — anti-fluoride pseudoscience
"drweil.com", # alternative medicine
],
# --- Climate denial ---
"climate_denial": [
"wattsupwiththat.com",
"climatedepot.com",
"co2science.org",
"heartland.org",
"cfact.org",
"climatechangedispatch.com",
"joannenova.com.au",
"notrickszone.com",
"principia-scientific.com",
"climaterealists.com",
"drroyspencer.com",
"conservapedia.com", # climate denial, creationism, anti-evolution
"heritage.org", # Heritage Foundation — climate denial think tank
"ncpa.org", # National Center for Policy Analysis — climate skepticism
"wind-watch.org", # National Wind Watch — anti-renewable energy misinformation
],
# --- Conspiracy theories ---
"conspiracy": [
"infowars.com",
"prisonplanet.com",
"davidicke.com",
"abovetopsecret.com",
"beforeitsnews.com",
"zerohedge.com",
"vigilantcitizen.com",
"henrymakow.com",
"rense.com",
"rumormillnews.com",
"whatreallyhappened.com",
"activistpost.com",
"21stcenturywire.com",
"thecommonsenseshow.com",
"freerepublic.com", # far-right forum, conspiracy theories
"wnd.com", # WorldNetDaily — far-right conspiracy site
"unknowncountry.com", # Whitley Strieber — UFO/paranormal
],
# --- Pseudoscience ---
"pseudoscience": [
"spiritscience.net",
"gaia.com",
"in5d.com",
"themindunleashed.com",
"ancient-origins.net", # mixed, but heavy pseudoarchaeology
"grahamhancock.com",
"bibliotecapleyades.net",
"crystalinks.com",
"ascensionglossary.com",
"divinecosmos.com",
"icr.org", # Institute for Creation Research
"answersingenesis.org", # Answers in Genesis (Ken Ham)
"creation.com", # Creation Ministries International
"realmagick.com", # occult/magic content
"sacred-texts.com", # mixes legitimate texts with occult/esoteric
"harunyahya.com", # Adnan Oktar — Islamic creationism
"uncommondescent.com", # Intelligent Design blog
"evolutionnews.org", # Discovery Institute — Intelligent Design propaganda
"crev.info", # Creation-Evolution Headlines — young earth creationism
"reasons.org", # Reasons to Believe — old earth creationism
"mysteriousuniverse.org", # paranormal/UFO/pseudoscience
"speakingtree.in", # spiritual/new age content
"earth-chronicles.com", # ancient aliens / pseudoarchaeology
],
# --- White supremacist / hate ---
"hate_extremism": [
"stormfront.org",
"amren.com", # American Renaissance
"vdare.com",
"counter-currents.com",
"theoccidentalobserver.net",
"radixjournal.com",
"unz.com", # The Unz Review
"takimag.com",
"infogalactic.com", # alt-right Wikipedia fork (Vox Day)
"breitbart.com", # far-right propaganda
],
# --- Propaganda / state-sponsored disinfo ---
"propaganda": [
"rt.com",
"sputniknews.com",
"presstv.ir",
"mintpressnews.com",
"thegrayzone.com",
"southfront.press",
"strategic-culture.su",
"journal-neo.su",
"rbth.com", # Russia Beyond the Headlines — Russian state media
"newsmax.com", # right-wing misinformation, election fraud claims
],
}
# Flatten for quick lookup
DOMAIN_TO_CATEGORY = {}
for category, domains in PROBLEMATIC_DOMAINS.items():
for domain in domains:
DOMAIN_TO_CATEGORY[domain] = category
def check_domain(domain):
"""Check if a domain or any parent domain is in our problematic list."""
if domain in DOMAIN_TO_CATEGORY:
return DOMAIN_TO_CATEGORY[domain]
parts = domain.split(".")
for i in range(1, len(parts)):
parent = ".".join(parts[i:])
if parent in DOMAIN_TO_CATEGORY:
return DOMAIN_TO_CATEGORY[parent]
return None