Skip to content

TransparenCEE/istinomer-proveri-me

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Istinomer Fact Checker

A chrome extension to have the people over at istinomer.rs fact check text that has been highlighted on a website.

Save Entry

POST /api/entry/save

Sample JSON Payload - Truthfulness

{
  "domain": "washingtonpost.com",
  "url": "https://www.washingtonpost.com/opinions/nixon-both-lofty-and-criminal/2015/07/24/5e3ee074-2b1a-11e5-bd33-395c05608059_story.html",
  "text": "I ordered that they use any means necessary, including illegal means, to accomplish this goal.... The president of the United States can never admit that.",
  "chrome_user_id": "xzy",
  "classification": "Truthfulness",
  "grade": "True",
  "category": "Politics",
  "article": {
    "author": "Carl Bernstein",
    "date": "24/07/2015"
  },
  "quote": {
    "author": "Richard Nixon",
    "politician": true,
    "date": "01/01/1973"
  }
}

Sample JSON Payload - Promise

{
  "classification": "Promise",
  "grade": "Fulfilled",
  "category": "Politics",
  "article": {
    "author": "Carl Bernstein",
    "date": "18/04/1973"
  },
  "quote": {
    "author": "Richard Nixon",
    "politician": true,
    "date": "17/04/1973"
  },
  "promise": {
    "due": "01/05/1973"
  }
}

Parameter Options

classification
  • Backlog (Backlog)
  • Consistency (Doslednost)
  • Notepad (Beležnica)
  • Promise (Obecanja)
  • Truthfulness (Istinitost)
grade
Truthfulness (Istinitost)
  • False (Neistina)
  • Half true (Poluistina)
  • Mostly false (Skoro neistina)
  • Mostly true (Skoro istina)
  • Pants on fire (Kratke noge)
  • True (Istina)
Promise (Obecanja)
  • Almost fulfilled (Skoro ispunjeno)
  • Fulfilled (Ispunjeno)
  • In progress (Radi se na tome)
  • Not started (Ni započeto)
  • Stalled (Krenuli pa stali)
  • Unfulfilled (Neispunjeno)
Consistency (Doslednost)
  • Consistent (Dosledno)
  • Inconsistent (Nedosledno)
  • In between (Nešto između)
category
  • Culture (Kultura)
  • Politics (Politika)
  • Economy (Ekonomija)
  • Healthcare (Zdravstvo)
  • Society (Drustvo)

Fetch Entries

POST /api/entry/get

JSON Payload - Filter Parameters

| Property | Data Type | Description | |-------------------|---------------|---------------------------------------------------------------| | | classifications | List<String>| The classifications. | | grades | List<String>| The grades. | | categories | List<String>| The categories. | | article.authors | List<String>| The article authors. | | article.from | Date | The publication from date. | | article.to | Date | The publication to date. | | quote.authors | List<String>| The quote authors. | | quote.politician | Boolean | Indication whether the quote author is a politician or not. | | quote.affiliations| List<String>| The quote authors' affiliations. | | quote.from | Date | The quote from date. | | quote.to | Date | The quote to date. | | promise.dueFrom | Date | The promise due from date. | | promise.dueTo | Date | The promise due to date. |

Sample JSON Payload

{
  "classifications": ["Truthfulness", "Promise", "Consistency"],
  "grades": ["Mostly true", "Fulfilled", "Consistent"],
  "categories": ["Politics"],
  "article": {
    "authors": ["Carl Bernstein", "Bob Woodward"],
    "date": {
      "from": "01/06/1972",
      "to": "01/01/1975"
    }
  },
  "quote": {
    "author": "Richard Nixon",
    "politician": true,
    "date": {
      "from": "01/06/1972",
      "to": "01/01/1975"
    }
  }
}

Note: Can only apply promise.dueFrom and promise.dueTo filters when classification only contains "Promise" (i.e. "classifications": ["Promise"].

About

A chrome extension to have the people over at istinomer.rs fact check highlighted text on a website.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 48.9%
  • Python 28.2%
  • HTML 16.1%
  • JavaScript 5.9%
  • Shell 0.9%