This repo contains the code for the interactive "quiz" Prisoner Assessment Tool Targeting Estimated Risk and Needs (PATTERN) Interactive Tool. This feature allows users to explore how different risk factors affect an individual's risk score and category which in turn determines eligibility for early release from prison. This feature is an interactive version of the Prisoner Assessment Tool Targeting Estimated Risk and Needs (PATTERN) developed by the US Department of Justice.
Note: a substantial update of the quiz is currently underway. The update is on the add-violent-model
branch.
The following file is sourced as input for the quiz:
data\questions.json
- a json of the questions and answer options for the quiz as well as point values for each answer option by gender.
None. data\questions.json
is directly ingested into js\main.js
.
Any updates to the questions, answers or point values need to be made manually directly in data\questions.json
.