proof-citations 1.33.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. proof_citations-1.33.0/LICENSE +21 -0
  2. proof_citations-1.33.0/PKG-INFO +76 -0
  3. proof_citations-1.33.0/README.md +32 -0
  4. proof_citations-1.33.0/pyproject.toml +42 -0
  5. proof_citations-1.33.0/setup.cfg +4 -0
  6. proof_citations-1.33.0/src/proof_citations/__init__.py +10 -0
  7. proof_citations-1.33.0/src/proof_citations/cli.py +67 -0
  8. proof_citations-1.33.0/src/proof_citations/data/academic_domains.json +97 -0
  9. proof_citations-1.33.0/src/proof_citations/data/government_tlds.json +114 -0
  10. proof_citations-1.33.0/src/proof_citations/data/major_news.json +69 -0
  11. proof_citations-1.33.0/src/proof_citations/data/reference_domains.json +44 -0
  12. proof_citations-1.33.0/src/proof_citations/data/unreliable_domains.json +54 -0
  13. proof_citations-1.33.0/src/proof_citations/fetch.py +214 -0
  14. proof_citations-1.33.0/src/proof_citations/latex_text.py +85 -0
  15. proof_citations-1.33.0/src/proof_citations/normalize.py +174 -0
  16. proof_citations-1.33.0/src/proof_citations/oa_lookup.py +81 -0
  17. proof_citations-1.33.0/src/proof_citations/source_credibility.py +389 -0
  18. proof_citations-1.33.0/src/proof_citations/verify.py +1072 -0
  19. proof_citations-1.33.0/src/proof_citations.egg-info/PKG-INFO +76 -0
  20. proof_citations-1.33.0/src/proof_citations.egg-info/SOURCES.txt +28 -0
  21. proof_citations-1.33.0/src/proof_citations.egg-info/dependency_links.txt +1 -0
  22. proof_citations-1.33.0/src/proof_citations.egg-info/entry_points.txt +2 -0
  23. proof_citations-1.33.0/src/proof_citations.egg-info/requires.txt +3 -0
  24. proof_citations-1.33.0/src/proof_citations.egg-info/top_level.txt +1 -0
  25. proof_citations-1.33.0/tests/test_cli.py +54 -0
  26. proof_citations-1.33.0/tests/test_fetch.py +68 -0
  27. proof_citations-1.33.0/tests/test_latex_text.py +10 -0
  28. proof_citations-1.33.0/tests/test_normalize.py +47 -0
  29. proof_citations-1.33.0/tests/test_source_credibility.py +16 -0
  30. proof_citations-1.33.0/tests/test_verify.py +87 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Yaniv Golan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,76 @@
1
+ Metadata-Version: 2.4
2
+ Name: proof-citations
3
+ Version: 1.33.0
4
+ Summary: Fetch URLs and verify that quoted text appears on the page. Extracted from proof-engine.
5
+ Author-email: Yaniv Golan <yaniv@lool.vc>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 Yaniv Golan
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: Homepage, https://proofengine.info
29
+ Project-URL: Repository, https://github.com/yaniv-golan/proof-engine
30
+ Project-URL: Documentation, https://github.com/yaniv-golan/proof-engine/blob/main/packages/proof-citations/README.md
31
+ Project-URL: Issues, https://github.com/yaniv-golan/proof-engine/issues
32
+ Project-URL: Changelog, https://github.com/yaniv-golan/proof-engine/blob/main/CHANGELOG.md
33
+ Project-URL: Source, https://github.com/yaniv-golan/proof-engine/tree/main/packages/proof-citations
34
+ Classifier: License :: OSI Approved :: MIT License
35
+ Classifier: Programming Language :: Python :: 3.11
36
+ Classifier: Topic :: Text Processing
37
+ Requires-Python: >=3.11
38
+ Description-Content-Type: text/markdown
39
+ License-File: LICENSE
40
+ Requires-Dist: requests>=2.31
41
+ Requires-Dist: pdfplumber>=0.10
42
+ Requires-Dist: PyPDF2>=3.0
43
+ Dynamic: license-file
44
+
45
+ # proof-citations
46
+
47
+ Fetch URLs and verify that quoted text appears on the page — the citation-verification
48
+ primitive extracted from [Proof Engine](https://proofengine.info).
49
+
50
+ ## Install
51
+
52
+ pip install proof-citations
53
+
54
+ ## Library
55
+
56
+ from proof_citations import verify_citation
57
+
58
+ result = verify_citation(
59
+ "https://example.com/article",
60
+ "the exact quoted sentence",
61
+ "B1", # fact_id — used in messages
62
+ )
63
+ print(result["status"]) # "verified" | "partial" | "not_found" | "fetch_failed"
64
+ print(result["credibility"]["tier"])
65
+
66
+ ## CLI
67
+
68
+ proof-citations verify --url URL --quote "QUOTE TEXT" --fact-id B1
69
+ proof-citations verify --facts facts.json
70
+
71
+ ## Why
72
+
73
+ LLMs hallucinate citations. This package does one job: fetch the URL, normalize
74
+ unicode and HTML, and confirm the quoted text is actually on the page. It handles
75
+ PDFs, Wayback fallback, and the unicode quirks (en-dash vs hyphen, curly quotes,
76
+ non-breaking spaces, HTML-entity-encoded quotes) that real citations contain.
@@ -0,0 +1,32 @@
1
+ # proof-citations
2
+
3
+ Fetch URLs and verify that quoted text appears on the page — the citation-verification
4
+ primitive extracted from [Proof Engine](https://proofengine.info).
5
+
6
+ ## Install
7
+
8
+ pip install proof-citations
9
+
10
+ ## Library
11
+
12
+ from proof_citations import verify_citation
13
+
14
+ result = verify_citation(
15
+ "https://example.com/article",
16
+ "the exact quoted sentence",
17
+ "B1", # fact_id — used in messages
18
+ )
19
+ print(result["status"]) # "verified" | "partial" | "not_found" | "fetch_failed"
20
+ print(result["credibility"]["tier"])
21
+
22
+ ## CLI
23
+
24
+ proof-citations verify --url URL --quote "QUOTE TEXT" --fact-id B1
25
+ proof-citations verify --facts facts.json
26
+
27
+ ## Why
28
+
29
+ LLMs hallucinate citations. This package does one job: fetch the URL, normalize
30
+ unicode and HTML, and confirm the quoted text is actually on the page. It handles
31
+ PDFs, Wayback fallback, and the unicode quirks (en-dash vs hyphen, curly quotes,
32
+ non-breaking spaces, HTML-entity-encoded quotes) that real citations contain.
@@ -0,0 +1,42 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "proof-citations"
7
+ version = "1.33.0"
8
+ description = "Fetch URLs and verify that quoted text appears on the page. Extracted from proof-engine."
9
+ readme = "README.md"
10
+ license = { file = "LICENSE" }
11
+ authors = [{ name = "Yaniv Golan", email = "yaniv@lool.vc" }]
12
+ requires-python = ">=3.11"
13
+ dependencies = [
14
+ "requests>=2.31",
15
+ "pdfplumber>=0.10",
16
+ "PyPDF2>=3.0",
17
+ ]
18
+ classifiers = [
19
+ "License :: OSI Approved :: MIT License",
20
+ "Programming Language :: Python :: 3.11",
21
+ "Topic :: Text Processing",
22
+ ]
23
+
24
+ [project.scripts]
25
+ proof-citations = "proof_citations.cli:main"
26
+
27
+ [project.urls]
28
+ Homepage = "https://proofengine.info"
29
+ Repository = "https://github.com/yaniv-golan/proof-engine"
30
+ Documentation = "https://github.com/yaniv-golan/proof-engine/blob/main/packages/proof-citations/README.md"
31
+ Issues = "https://github.com/yaniv-golan/proof-engine/issues"
32
+ Changelog = "https://github.com/yaniv-golan/proof-engine/blob/main/CHANGELOG.md"
33
+ Source = "https://github.com/yaniv-golan/proof-engine/tree/main/packages/proof-citations"
34
+
35
+ [tool.setuptools.packages.find]
36
+ where = ["src"]
37
+
38
+ [tool.setuptools.package-data]
39
+ proof_citations = ["data/*.json"]
40
+
41
+ [tool.pytest.ini_options]
42
+ testpaths = ["tests"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,10 @@
1
+ """proof-citations — fetch URLs and verify quoted text appears on the page."""
2
+
3
+ __version__ = "1.33.0"
4
+
5
+ from proof_citations.verify import (
6
+ verify_citation,
7
+ verify_all_citations,
8
+ )
9
+
10
+ __all__ = ["verify_citation", "verify_all_citations"]
@@ -0,0 +1,67 @@
1
+ """Command-line entry point for proof-citations.
2
+
3
+ proof-citations verify --url URL --quote "QUOTE" --fact-id B1
4
+ proof-citations verify --facts facts.json
5
+ """
6
+
7
+ import argparse
8
+ import json
9
+ import sys
10
+
11
+ from proof_citations import verify_citation, verify_all_citations
12
+
13
+
14
+ def _cmd_verify(args) -> int:
15
+ if args.facts:
16
+ with open(args.facts) as f:
17
+ facts = json.load(f)
18
+ results = verify_all_citations(facts)
19
+ # verify_all_citations returns a dict (per verify_citations.py).
20
+ # Emit as-is, and compute exit from statuses.
21
+ sys.stdout.write(
22
+ json.dumps(results, indent=2 if args.pretty else None) + "\n"
23
+ )
24
+ statuses = [r.get("status") for r in results.values()] \
25
+ if isinstance(results, dict) else []
26
+ return 0 if statuses and all(s == "verified" for s in statuses) else 1
27
+
28
+ if not args.url or not args.quote:
29
+ sys.stderr.write("error: --url and --quote are required (or --facts)\n")
30
+ return 2
31
+
32
+ result = verify_citation(args.url, args.quote, args.fact_id)
33
+ if args.json:
34
+ sys.stdout.write(
35
+ json.dumps(result, indent=2 if args.pretty else None, default=str)
36
+ + "\n"
37
+ )
38
+ else:
39
+ sys.stdout.write(f"{result.get('status')}: {args.url}\n")
40
+ return 0 if result.get("status") == "verified" else 1
41
+
42
+
43
+ def build_parser() -> argparse.ArgumentParser:
44
+ parser = argparse.ArgumentParser(prog="proof-citations")
45
+ sub = parser.add_subparsers(dest="cmd", required=True)
46
+
47
+ verify = sub.add_parser("verify", help="Verify a quote appears at a URL.")
48
+ verify.add_argument("--url")
49
+ verify.add_argument("--quote")
50
+ verify.add_argument("--fact-id", default="B1",
51
+ help="Identifier used in messages (default: B1).")
52
+ verify.add_argument("--facts", help="Path to JSON file of facts to verify.")
53
+ verify.add_argument("--json", action="store_true", help="Emit JSON.")
54
+ verify.add_argument("--pretty", action="store_true", help="Pretty-print JSON.")
55
+ verify.set_defaults(func=_cmd_verify)
56
+
57
+ return parser
58
+
59
+
60
+ def main(argv=None) -> int:
61
+ parser = build_parser()
62
+ args = parser.parse_args(argv)
63
+ return args.func(args)
64
+
65
+
66
+ if __name__ == "__main__":
67
+ raise SystemExit(main())
@@ -0,0 +1,97 @@
1
+ {
2
+ "_comment": "Academic/research TLDs and known scholarly publisher domains. Tier 4 (peer-reviewed/institutional).",
3
+ "tld_suffixes": [
4
+ ".edu",
5
+ ".edu.au",
6
+ ".edu.br",
7
+ ".edu.cn",
8
+ ".edu.hk",
9
+ ".edu.sg",
10
+ ".edu.tw",
11
+ ".edu.mx",
12
+ ".edu.ar",
13
+ ".edu.co",
14
+ ".edu.pe",
15
+ ".ac.uk",
16
+ ".ac.jp",
17
+ ".ac.kr",
18
+ ".ac.il",
19
+ ".ac.in",
20
+ ".ac.nz",
21
+ ".ac.za",
22
+ ".ac.id",
23
+ ".ac.th",
24
+ ".uni.edu",
25
+ ".edu.pl",
26
+ ".edu.tr"
27
+ ],
28
+ "known_domains": [
29
+ "nature.com",
30
+ "science.org",
31
+ "sciencemag.org",
32
+ "thelancet.com",
33
+ "bmj.com",
34
+ "nejm.org",
35
+ "cell.com",
36
+ "pnas.org",
37
+ "plos.org",
38
+ "plosone.org",
39
+ "plosmedicine.org",
40
+ "springer.com",
41
+ "link.springer.com",
42
+ "wiley.com",
43
+ "onlinelibrary.wiley.com",
44
+ "sciencedirect.com",
45
+ "elsevier.com",
46
+ "tandfonline.com",
47
+ "taylorandfrancis.com",
48
+ "oxfordacademic.com",
49
+ "academic.oup.com",
50
+ "cambridge.org",
51
+ "journals.sagepub.com",
52
+ "sagepub.com",
53
+ "jstor.org",
54
+ "arxiv.org",
55
+ "biorxiv.org",
56
+ "medrxiv.org",
57
+ "ssrn.com",
58
+ "pubmed.ncbi.nlm.nih.gov",
59
+ "ncbi.nlm.nih.gov",
60
+ "scholar.google.com",
61
+ "semanticscholar.org",
62
+ "researchgate.net",
63
+ "doi.org",
64
+ "crossref.org",
65
+ "cochranelibrary.com",
66
+ "annualreviews.org",
67
+ "frontiersin.org",
68
+ "mdpi.com",
69
+ "ieee.org",
70
+ "ieeexplore.ieee.org",
71
+ "acm.org",
72
+ "dl.acm.org",
73
+ "aps.org",
74
+ "aaas.org",
75
+ "royalsocietypublishing.org",
76
+ "worldscientific.com",
77
+ "degruyter.com",
78
+ "karger.com",
79
+ "biomedcentral.com",
80
+ "iopscience.iop.org",
81
+ "aanda.org",
82
+ "journals.aps.org",
83
+ "physrev.org",
84
+ "aip.org",
85
+ "scitation.org",
86
+ "projecteuclid.org",
87
+ "msp.org",
88
+ "ams.org",
89
+ "zbmath.org"
90
+ ],
91
+ "doi_prefixes": [
92
+ "https://doi.org/",
93
+ "http://doi.org/",
94
+ "https://dx.doi.org/",
95
+ "http://dx.doi.org/"
96
+ ]
97
+ }
@@ -0,0 +1,114 @@
1
+ {
2
+ "_comment": "Government and intergovernmental TLDs and domain suffixes. Tier 5 (primary official source).",
3
+ "_comment_un_agencies": "UN subsidiary organs and specialized agencies. un.int excluded — subdomain matching would promote all *.un.int hosts (including member-state mission sites) to tier 5.",
4
+ "tld_suffixes": [
5
+ ".gov",
6
+ ".gov.uk",
7
+ ".gov.au",
8
+ ".gov.ca",
9
+ ".gov.nz",
10
+ ".gov.za",
11
+ ".gov.in",
12
+ ".gov.sg",
13
+ ".gov.ie",
14
+ ".gov.il",
15
+ ".gc.ca",
16
+ ".gouv.fr",
17
+ ".gouv.qc.ca",
18
+ ".gob.mx",
19
+ ".gob.es",
20
+ ".gob.ar",
21
+ ".gob.cl",
22
+ ".gob.pe",
23
+ ".gobierno.ar",
24
+ ".go.jp",
25
+ ".go.kr",
26
+ ".go.id",
27
+ ".go.th",
28
+ ".gov.br",
29
+ ".gov.cn",
30
+ ".gov.tw",
31
+ ".gov.ph",
32
+ ".gov.my",
33
+ ".gov.eg",
34
+ ".gov.ng",
35
+ ".gov.gh",
36
+ ".gov.ke",
37
+ ".govt.nz",
38
+ ".bund.de",
39
+ ".admin.ch",
40
+ ".overheid.nl",
41
+ ".regeringen.se",
42
+ ".mil",
43
+ ".mil.br"
44
+ ],
45
+ "known_domains": [
46
+ "europa.eu",
47
+ "un.org",
48
+ "who.int",
49
+ "worldbank.org",
50
+ "imf.org",
51
+ "oecd.org",
52
+ "nato.int",
53
+ "wto.org",
54
+ "iaea.org",
55
+ "unicef.org",
56
+ "unhcr.org",
57
+ "icj-cij.org",
58
+ "icc-cpi.int",
59
+ "ilo.org",
60
+ "fao.org",
61
+ "wipo.int",
62
+ "itu.int",
63
+ "unep.org",
64
+ "undp.org",
65
+ "unfccc.int",
66
+ "ipcc.ch",
67
+ "data.worldbank.org",
68
+ "data.un.org",
69
+ "stats.oecd.org",
70
+ "federalreserve.gov",
71
+ "bls.gov",
72
+ "census.gov",
73
+ "cdc.gov",
74
+ "nih.gov",
75
+ "nasa.gov",
76
+ "noaa.gov",
77
+ "epa.gov",
78
+ "fda.gov",
79
+ "sec.gov",
80
+ "treasury.gov",
81
+ "state.gov",
82
+ "justice.gov",
83
+ "uscourts.gov",
84
+ "congress.gov",
85
+ "whitehouse.gov",
86
+ "ons.gov.uk",
87
+ "bankofengland.co.uk",
88
+ "abs.gov.au",
89
+ "rba.gov.au",
90
+ "statcan.gc.ca",
91
+ "bankofcanada.ca",
92
+ "destatis.de",
93
+ "bundesbank.de",
94
+ "insee.fr",
95
+ "banque-france.fr",
96
+ "istat.it",
97
+ "stats.govt.nz",
98
+ "ecb.europa.eu",
99
+ "eurostat.ec.europa.eu",
100
+ "unrwa.org",
101
+ "ungeneva.org",
102
+ "wfp.org",
103
+ "unesco.org",
104
+ "unodc.org",
105
+ "unhabitat.org",
106
+ "unwomen.org",
107
+ "unaids.org",
108
+ "unido.org",
109
+ "unctad.org",
110
+ "unops.org",
111
+ "reliefweb.int",
112
+ "ohchr.org"
113
+ ]
114
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "_comment": "Major news organizations with established editorial standards. Tier 3 (major news). Based on Wikipedia's Perennial Sources list (generally reliable).",
3
+ "_comment_newer_outlets": "Established newer outlets with editorial standards, added 2026-04.",
4
+ "known_domains": [
5
+ "apnews.com",
6
+ "reuters.com",
7
+ "bbc.com",
8
+ "bbc.co.uk",
9
+ "nytimes.com",
10
+ "washingtonpost.com",
11
+ "wsj.com",
12
+ "economist.com",
13
+ "ft.com",
14
+ "theguardian.com",
15
+ "aljazeera.com",
16
+ "npr.org",
17
+ "pbs.org",
18
+ "abcnews.go.com",
19
+ "cbsnews.com",
20
+ "nbcnews.com",
21
+ "cnn.com",
22
+ "usatoday.com",
23
+ "latimes.com",
24
+ "chicagotribune.com",
25
+ "bostonglobe.com",
26
+ "politico.com",
27
+ "thehill.com",
28
+ "bloomberg.com",
29
+ "cnbc.com",
30
+ "time.com",
31
+ "newsweek.com",
32
+ "theatlantic.com",
33
+ "newyorker.com",
34
+ "propublica.org",
35
+ "theintercept.com",
36
+ "foreignaffairs.com",
37
+ "foreignpolicy.com",
38
+ "deseret.com",
39
+ "dw.com",
40
+ "france24.com",
41
+ "scmp.com",
42
+ "abc.net.au",
43
+ "cbc.ca",
44
+ "rte.ie",
45
+ "irishtimes.com",
46
+ "smh.com.au",
47
+ "nzherald.co.nz",
48
+ "japantimes.co.jp",
49
+ "haaretz.com",
50
+ "jpost.com",
51
+ "timesofisrael.com",
52
+ "hindustantimes.com",
53
+ "thehindu.com",
54
+ "scientificamerican.com",
55
+ "newscientist.com",
56
+ "nationalgeographic.com",
57
+ "smithsonianmag.com",
58
+ "popsci.com",
59
+ "livescience.com",
60
+ "sciencenews.org",
61
+ "theconversation.com",
62
+ "semafor.com",
63
+ "axios.com",
64
+ "themarkup.org",
65
+ "restofworld.org",
66
+ "defector.com",
67
+ "theinformation.com"
68
+ ]
69
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "_comment": "Established reference sources, encyclopedias, major data aggregators, and known-good government data republishers. Tier 3 (established reference).",
3
+ "known_domains": [
4
+ "en.wikipedia.org",
5
+ "wikipedia.org",
6
+ "britannica.com",
7
+ "merriam-webster.com",
8
+ "dictionary.com",
9
+ "encyclopedia.com",
10
+ "plato.stanford.edu",
11
+ "investopedia.com",
12
+ "webmd.com",
13
+ "mayoclinic.org",
14
+ "clevelandclinic.org",
15
+ "statista.com",
16
+ "tradingeconomics.com",
17
+ "macrotrends.net",
18
+ "ourworldindata.org",
19
+ "gapminder.org",
20
+ "wolframalpha.com",
21
+ "mathworld.wolfram.com",
22
+ "khanacademy.org",
23
+ "coursera.org",
24
+ "rateinflation.com",
25
+ "inflationdata.com",
26
+ "measuringworth.com",
27
+ "usinflationcalculator.com",
28
+ "multpl.com",
29
+ "fred.stlouisfed.org",
30
+ "minneapolisfed.org",
31
+ "bea.gov",
32
+ "numbeo.com",
33
+ "countryeconomy.com",
34
+ "officialdata.org",
35
+ "brainfacts.org",
36
+ "simplypsychology.org",
37
+ "physicsworld.com",
38
+ "sciencebasedmedicine.org",
39
+ "amnh.org",
40
+ "burkemuseum.org",
41
+ "snopes.com",
42
+ "factcheck.org"
43
+ ]
44
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "_comment": "Known unreliable, fake news, conspiracy, or junk science domains. Tier 1 (flagged unreliable). Sourced from OpenSources, Iffy.news, and Wikipedia Perennial Sources (deprecated/generally unreliable). This is intentionally a conservative list — only domains with broad consensus on unreliability.",
3
+ "known_domains": [
4
+ "infowars.com",
5
+ "naturalnews.com",
6
+ "beforeitsnews.com",
7
+ "globalresearch.ca",
8
+ "zerohedge.com",
9
+ "breitbart.com",
10
+ "dailycaller.com",
11
+ "thegatewaypundit.com",
12
+ "oann.com",
13
+ "newsmax.com",
14
+ "rt.com",
15
+ "sputniknews.com",
16
+ "tass.com",
17
+ "presstv.ir",
18
+ "globalresearch.ca",
19
+ "collective-evolution.com",
20
+ "davidicke.com",
21
+ "mercola.com",
22
+ "greenmedinfo.com",
23
+ "activistpost.com",
24
+ "lewrockwell.com",
25
+ "worldtruth.tv",
26
+ "yournewswire.com",
27
+ "neonnettle.com",
28
+ "newspunch.com",
29
+ "theepochtimes.com",
30
+ "dailywire.com",
31
+ "occupydemocrats.com",
32
+ "bipartisanreport.com",
33
+ "palmerreport.com",
34
+ "addictinginfo.com",
35
+ "conservativetribune.com",
36
+ "freedomdaily.com",
37
+ "worldnewsdailyreport.com",
38
+ "empirenews.net",
39
+ "nationalreport.net",
40
+ "huzlers.com",
41
+ "theonion.com",
42
+ "babylonbee.com",
43
+ "clickhole.com",
44
+ "borowitz.com",
45
+ "waterfordwhispersnews.com"
46
+ ],
47
+ "satire_domains": [
48
+ "theonion.com",
49
+ "babylonbee.com",
50
+ "clickhole.com",
51
+ "borowitz.com",
52
+ "waterfordwhispersnews.com"
53
+ ]
54
+ }