Update agent to support new verification style. Update frontend to support new file format and remove redundant logic from old experiments.

This commit is contained in:
William Jeynes
2026-03-16 17:16:58 +00:00
parent 0a7bb114d2
commit c89c7054fe
7 changed files with 31 additions and 214 deletions
+4 -4
View File
@@ -16,18 +16,18 @@ BASE_URL = "https://dbkf.ontotext.com/rest-api/search/documents"
# "documentTypes": "http://schema.org/Claim",
DEFAULT_PARAMS = [
("concept", "http://weverify.eu/resource/Concept/Q84263196"),
("concept", "http://weverify.eu/resource/Concept/Q212"),
("from", "2000-01-01"),
("to", "2026-02-19"),
("lang", "en"),
("limit", 5000),
("page", 1),
("orderBy", "date"),
("organization", "http://weverify.eu/resource/Organization/72b4f61c7cb49873004bea24f0a8f8f9"), # PolitifactFB
("organization", "http://weverify.eu/resource/Organization/552abae8eb4e003e69a3351eb0eae372") # LeadStories
("organization", "http://weverify.eu/resource/Organization/3727f7b2aa90ec0716693e5464b28d18"), # StopFake
("organization", "http://weverify.eu/resource/Organization/c71953fa6cf24ac4178f751c77862070"), # CheckYourFact
]
NUM_RANDOM_CLAIMS = 20
NUM_RANDOM_CLAIMS = 40
INPUT_FILE = "../../data/input.jsonl"
OUTPUT_FILE = "../../data/claims.json"