Call-for-Code-for-Racial-Justice / Open-Sentencing-UI

Open Sentencing User Interface (UI) provided is meant to allow public defenders or others an ability to easily review contents of a case to determine when bias was detected.
Apache License 2.0
10 stars 17 forks source link

Add New Case | Case Details | Drug Related Charge | Add Criminal History Category #97

Open XiangZhang0216 opened 2 years ago

XiangZhang0216 commented 2 years ago

Background on the problem the feature will solve/improved user experience

As a Public Defender/Staff Member, I want to add the criminal history category when adding a new drug related case. Currently, the criminal history category dropdown shows a list of genders when clicked.

Describe the solution you'd like

The current list of genders shown when the dropdown is clicked should be changed to a list of criminal history categories.

Tasks

Acceptance Criteria

When the user clicks the criminal history category dropdown, they should be presented with a list of criminal history categories to choose from.

chenhuyr commented 2 years ago

https://open-sentencing-aggregator-app.deoblc6jtd1.us-south.codeengine.appdomain.cloud/openapi/ui/

chenhuyr commented 2 years ago

Client{

_id string
_rev string
attorney_id* string
race stringEnum:Array [ 10 ]
gender stringEnum:Array [ 4 ]
criminal_history_category stringEnum:[ Category I, Category II, Category III, Category IV, Category V, Category VI ]

}

chenhuyr commented 2 years ago

Very interesting that criminal history is on the client but on the case details part of the form.

chenhuyr commented 2 years ago

https://pcr-consultants.com/federal-sentencing-criminal-history-category/

Calculating Criminal History Weight The final piece to sentencing calculations takes into consideration criminal history. Everything from misdemeanor driving crimes (like driving with a suspended license) to prior major felonies, the PSI/R considers the entirety of a defendant’s criminal history.

With no criminal history at all, zero points are assigned. Every other instance of past criminality is scored in the following categories:

Juvenile Adjudication(s); Adult Criminal Conviction(s); Other Minor Conviction(s); Then the totality of a defendant’s criminal history is scored with the points assigned by each entry in the above categories.

Three points are added for each prior convictions that carried an actual sentence more than 1 year and 1 day; Two points are added for each prior conviction carrying an actual sentence of at least 60 days of detention; One point is added for each prior sentence for a criminal conviction that didn’t qualify for the first two (e.g. criminal sentences with only probation or less than 60 days of detention); Two points are added if the current charge occurred while the defendant was under any current sentence for another criminal case; One point is added for each prior violent crimes that weren’t scored in the above categories (usually because they were combined sentences).

Criminal History Category Now that we know how criminal history is scored, the second part to this calculation is what category each score falls into. There are six categories, and each one carries longer sentences than the last.

Refer back to the sentencing table found in the Guidelines Manual for a visual representation of what this category does to sentences.

Category I: 0-1 criminal history points. This is the lowest category; Category II: 2-3 criminal history points; Category III: 4-6 criminal history points; Category IV: 7-9 criminal history points; Category V: 10-12 criminal history points; Category VI: 13 or more criminal history points;

github-actions[bot] commented 2 years ago

:wave: Hi! This issue has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed.