Last updated: 1 Oct 2024
publisher: Fact Checking
Publisher comes with a system to allow editions not yet published to be externally fact checked.
Process
- When a content designer clicks the "Fact check" button on an edition, they are presented with a form allowing them to input the email addresses they would like the fact check request to go to.
- The fact checker who receives the email then reviews the draft version of the edition, and once happy, replies to the email with the review.
- The email arrives in a Gmail inbox. Details of which inbox can be found in secrets under
govuk::apps::publisher::fact_check_username
andgovuk::apps::publisher::fact_check_password
. - Every 5 minutes, the mail_fetcher script runs which reads any new emails from the inbox, parses the response and adds it to the edition in the database.
Note: The ID of the edition is included in the subject line of the fact check email. It's important that this is never removed, otherwise the app will be unable to match the email with the edition.
Information: Sometimes fact check emails will fail to be processed. We use Prometheus to report this, and you can see how many are currently in the production fact-check inbox using this grafana page.