Spaces:
Sleeping
Sleeping
File size: 9,139 Bytes
e5e36db | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 | # =============================================================================
# domain_reliability.yaml
#
# Enterprise-editable domain reliability config.
# Scores range 0.0 (completely unreliable) to 1.0 (fully authoritative).
#
# Rules applied in order; first matching pattern wins.
# Add your enterprise's internal trusted domains under `custom_trusted`.
#
# source_type values:
# official β government, intergovernmental, standards bodies
# academic β peer-reviewed journals, universities
# news β professional journalism outlets
# factcheck β dedicated fact-checking organisations
# ngo β non-profit research / advocacy (varies)
# blog β personal or commercial blogs
# social β social media platforms
# unknown β cannot determine
# =============================================================================
version: "1.0"
# ---------------------------------------------------------------------------
# 1. OFFICIAL / GOVERNMENT / INTERGOVERNMENTAL
# ---------------------------------------------------------------------------
official:
score: 0.97
source_type: official
domains:
- who.int
- cdc.gov
- nih.gov
- fda.gov
- nhs.uk
- ecdc.europa.eu
- paho.org
- un.org
- unicef.org
- worldbank.org
- imf.org
- oecd.org
- europa.eu
- gov.uk
- canada.ca
- australia.gov.au
- rki.de
- france.fr
- nasa.gov
- noaa.gov
- epa.gov
- energy.gov
- ftc.gov
- sec.gov
- federalreserve.gov
- bls.gov
- census.gov
# ---------------------------------------------------------------------------
# 2. ACADEMIC / PEER-REVIEWED
# ---------------------------------------------------------------------------
academic:
score: 0.93
source_type: academic
domains:
- nature.com
- science.org
- cell.com
- thelancet.com
- nejm.org
- bmj.com
- jamanetwork.com
- acs.org
- ieee.org
- acm.org
- pubmed.ncbi.nlm.nih.gov
- scholar.google.com
- arxiv.org
- biorxiv.org
- medrxiv.org
- plos.org
- frontiersin.org
- springer.com
- wiley.com
- elsevier.com
- oxfordjournals.org
- cambridge.org
- mit.edu
- stanford.edu
- harvard.edu
- ox.ac.uk
- cam.ac.uk
- ucl.ac.uk
# ---------------------------------------------------------------------------
# 3. DEDICATED FACT-CHECKERS (IFCN signatories)
# ---------------------------------------------------------------------------
factcheck:
score: 0.90
source_type: factcheck
domains:
- snopes.com
- factcheck.org
- politifact.com
- fullfact.org
- reuters.com/fact-check
- apnews.com
- afp.com
- misbar.com
- boomlive.in
- factly.in
- africacheck.org
- chequeado.com
- correctiv.org
- dpa.com
- leadstories.com
- verafiles.org
# ---------------------------------------------------------------------------
# 4. ESTABLISHED NEWS ORGANISATIONS
# ---------------------------------------------------------------------------
news_tier1:
score: 0.82
source_type: news
domains:
- bbc.com
- bbc.co.uk
- reuters.com
- apnews.com
- theguardian.com
- nytimes.com
- wsj.com
- washingtonpost.com
- economist.com
- ft.com
- bloomberg.com
- time.com
- npr.org
- pbs.org
- theatlantic.com
- science.sciencemag.org
- scientificamerican.com
- newscientist.com
- wired.com
- techcrunch.com
- arstechnica.com
- technologyreview.mit.edu
- spiegel.de
- lemonde.fr
- corriere.it
- elpais.com
- sueddeutsche.de
news_tier2:
score: 0.68
source_type: news
domains:
- huffpost.com
- vice.com
- vox.com
- slate.com
- salon.com
- thehill.com
- politico.com
- axios.com
- buzzfeednews.com
- businessinsider.com
- newsweek.com
- usatoday.com
- nbcnews.com
- cbsnews.com
- abcnews.go.com
- foxnews.com
- msnbc.com
- cnn.com
- dailymail.co.uk
- mirror.co.uk
- independent.co.uk
- telegraph.co.uk
# ---------------------------------------------------------------------------
# 5. NGOs / THINK TANKS (variable bias, moderate reliability)
# ---------------------------------------------------------------------------
ngo:
score: 0.60
source_type: ngo
domains:
- amnesty.org
- hrw.org
- msf.org
- oxfam.org
- brookings.edu
- cfr.org
- rand.org
- pewresearch.org
- ipsos.com
- gallup.com
- kff.org
- urban.org
- chathamhouse.org
# ---------------------------------------------------------------------------
# 6. SOCIAL MEDIA PLATFORMS (user-generated; low inherent reliability)
# ---------------------------------------------------------------------------
social:
score: 0.15
source_type: social
domains:
- twitter.com
- x.com
- facebook.com
- instagram.com
- tiktok.com
- reddit.com
- youtube.com
- telegram.org
- t.me
- threads.net
- linkedin.com
- pinterest.com
- tumblr.com
# ---------------------------------------------------------------------------
# 7. KNOWN MISINFORMATION / LOW-CREDIBILITY DOMAINS
# ---------------------------------------------------------------------------
low_credibility:
score: 0.08
source_type: blog
domains:
- naturalnews.com
- infowars.com
- breitbart.com
- thegatewayp.com
- beforeitsnews.com
- zerohedge.com
- activistpost.com
- globalresearch.ca
- off-guardian.org
- thetruthseeker.co.uk
- conspiracytheories.net
# ---------------------------------------------------------------------------
# 8. GENERIC BLOG / CMS PATTERNS (matched by TLD pattern, not exact domain)
# ---------------------------------------------------------------------------
blog_patterns:
score: 0.18
source_type: blog
patterns:
- "*.blogspot.com"
- "*.wordpress.com"
- "*.medium.com"
- "*.substack.com"
- "*.ghost.io"
- "*.wixsite.com"
- "*.weebly.com"
# ---------------------------------------------------------------------------
# 9. ENTERPRISE CUSTOM β add your internal trusted domains here
# ---------------------------------------------------------------------------
custom_trusted:
score: 0.95
source_type: official
domains: []
# Example:
# - trust-center.mycompany.com
# - internal-wiki.corp.example.com
# ---------------------------------------------------------------------------
# DEFAULTS (applied when no pattern matches)
# ---------------------------------------------------------------------------
defaults:
unknown_domain_score: 0.35
unknown_source_type: unknown
# ---------------------------------------------------------------------------
# STANCE CLASSIFICATION THRESHOLDS
# ---------------------------------------------------------------------------
# NOTE: These keyword lists are now used by Layer 2 of stance_classifier.py.
# Layer 1 (semantic heuristics) and Layer 3 (Claude LLM) take priority.
# These lists serve as the fallback when both other layers are unavailable.
stance_thresholds:
# Threshold=1: any single strong-signal keyword is decisive
contradicting_keyword_min: 1
supporting_keyword_min: 1
# Strong contradicting signals (one hit = contradicting)
contradicting_keywords:
- "false"
- "debunked"
- "disproven"
- "misinformation"
- "misleading"
- "no evidence"
- "lacks evidence"
- "unfounded"
- "refuted"
- "myth"
- "conspiracy theory"
- "fact-check"
- "factcheck"
- "incorrect"
- "not true"
- "inaccurate"
- "unproven"
- "pseudoscience"
- "hoax"
- "wrong"
- "fake"
- "fabricated"
- "baseless"
- "discredited"
- "debunks"
- "false claim"
- "does not cause"
- "no link"
- "unrelated"
- "no connection"
- "scientists say false"
- "experts say false"
- "is not true"
- "is not real"
# Strong supporting signals (one hit = supporting)
supporting_keywords:
- "confirms"
- "confirmed"
- "verified"
- "validated"
- "proven"
- "evidence shows"
- "data shows"
- "research shows"
- "study finds"
- "scientists confirm"
- "officially announced"
- "official statement"
- "press release"
- "gazette notification"
- "government confirms"
- "approved"
- "endorsed"
- "supported by evidence"
- "according to official"
- "ministry confirms"
- "is true"
- "is real"
- "has been confirmed"
- "study confirms"
- "research confirms"
- "data confirms"
# ---------------------------------------------------------------------------
# EVIDENCE SUFFICIENCY (used by environment to set status_flags)
# ---------------------------------------------------------------------------
evidence_thresholds:
min_sources_for_decision: 2
min_claims_verified_fraction: 0.5 # at least 50% of claims must be verified
min_reliable_source_score: 0.6 # at least one source must exceed this
|