From e83d9734b96f1d00b1c0bbfc029fe26e63ea3b43 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Apr 2021 09:37:32 -0700 Subject: [PATCH 1/2] Bump ssri from 6.0.1 to 6.0.2 (#402) Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2. - [Release notes](https://github.com/npm/ssri/releases) - [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md) - [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 78a1fed0..2b94cf35 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14257,9 +14257,9 @@ sshpk@^1.7.0: tweetnacl "~0.14.0" ssri@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.1.tgz#2a3c41b28dd45b62b63676ecb74001265ae9edd8" - integrity sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA== + version "6.0.2" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.2.tgz#157939134f20464e7301ddba3e90ffa8f7728ac5" + integrity sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q== dependencies: figgy-pudding "^3.5.1" From d9c5c39119f668624c6c7775c916e457dd029075 Mon Sep 17 00:00:00 2001 From: Ian MacFarland Date: Wed, 21 Apr 2021 10:21:55 -0700 Subject: [PATCH 2/2] Add initial draft of PA copy (#403) --- .../src/contentApi/sources/us_pa.ts | 431 +++++++++++++++++- 1 file changed, 413 insertions(+), 18 deletions(-) diff --git a/spotlight-client/src/contentApi/sources/us_pa.ts b/spotlight-client/src/contentApi/sources/us_pa.ts index 6e1857ec..6afeaf79 100644 --- a/spotlight-client/src/contentApi/sources/us_pa.ts +++ b/spotlight-client/src/contentApi/sources/us_pa.ts @@ -20,39 +20,434 @@ import { TenantContent } from "../types"; const content: TenantContent = { name: "Pennsylvania", description: "", - coBrandingCopy: "", + coBrandingCopy: + 'Produced in collaboration with the Pennsylvania Department of Corrections.', systemNarratives: { Prison: { title: "Prison", - introduction: "", - sections: [], + introduction: `

+ People convicted of serious offenses may serve their sentence in a state + prison or contracted private prison. Prisons run programming to help residents + work towards rehabilitation and successful reentry. +

`, + sections: [ + { + title: "Who is in custody?", + body: `

+ The DOC runs a number of different facilities and contracts with facilities + across the state. +

`, + metricTypeId: "PrisonPopulationCurrent", + }, + { + title: "How has the incarcerated population changed over time?", + body: `

+ Broadly speaking, increased activity in earlier parts of the criminal justice + system (such as arrests and sentencing) will result in increases in the prison + population. Changes in sentence lengths and revocations from community + supervision may also contribute to the rise and fall of this number. +

`, + metricTypeId: "PrisonPopulationHistorical", + }, + { + title: "How did they get there?", + body: `

+ There are many possible paths for someone to be admitted to prison. Many of + the admissions to prison are not “new admissions” (that is, admitted for the + first time as part of their sentence), but are actually people who are pulled + back to prison from community supervision due to a violation or new crime. +

`, + metricTypeId: "PrisonAdmissionReasonsCurrent", + }, + ], }, Parole: { title: "Parole", - introduction: "", - sections: [], + introduction: `

+ Parole is a period of supervised release after prison. People on parole must + regularly check in with a parole officer, who ensures that they are following + all the requirements of the release. If these requirements are violated, the + person’s parole may be “revoked” and they will be sent back to prison. +

`, + sections: [ + { + title: "Who is on parole?", + body: `

+ People on parole have generally completed certain requirements of their + sentence (such as a minimum time spent) and have been approved for + release by a parole board. Ideally, the corrections system will ensure + that the person is set up for success before they are released. +

`, + metricTypeId: "ParolePopulationCurrent", + }, + { + title: "How has the parole population changed over time?", + body: `

+ Broadly speaking, increased activity in earlier parts of the criminal justice + system (such as arrests and sentencing) will result in increases in the parole + population. Changes in parole sentence lengths and earlier releases from + prison may also contribute to the rise and fall of this number. +

`, + metricTypeId: "ParolePopulationHistorical", + }, + { + title: "What happens after parole?", + body: `

+ A successful end to one’s parole term is a “discharge,” after which they are + no longer supervised by a parole officer; failure to succeed generally means + a return to prison, or “revocation.” This success rate is improved by + addressing critical needs of justice-involved individuals, including employment, + housing, and need-based care. +

`, + metricTypeId: "ParoleSuccessHistorical", + }, + { + title: "Why do revocations happen?", + body: `

+ Revocations occur when a person on parole violates a condition of their + supervision or commits a new crime and is reincarcerated as a result. Reasons + for revocation generally fall into one of three categories: technical violation, new + offense, and absconsion. +

`, + metricTypeId: "ParoleRevocationsAggregate", + }, + ], + }, + }, + metrics: { + PrisonPopulationCurrent: { + name: "Current Prison Population", + methodology: `

+ This data includes all individuals that are currently incarcerated in a DOC + facility. It does not include individuals incarcerated in county jails. +

+

+ In distributions by age, individuals are counted towards the age group they + fall into as of the reporting date. Gender distributions only include male and + female due to low numbers of other reported genders. Distributions by race + count individuals with more than one reported race or ethnicity towards the + racial or ethnic identity that is least represented in the general population. +

`, + totalLabel: "Total people in prison", + }, + PrisonPopulationHistorical: { + name: "Historical Prison Population", + methodology: `

+ This data includes the number of people that were incarcerated in a DOC + facility on the first day of each month over the last 20 years. It does not + include individuals incarcerated in county jails. +

+

+ In distributions by age, individuals are counted towards the age group they + fall into as of the reporting date. Gender distributions only include male and + female due to low numbers of other reported genders. Distributions by race + count individuals with more than one reported race or ethnicity towards the + racial or ethnic identity that is least represented in the general population. +

`, + }, + PrisonAdmissionReasonsCurrent: { + name: "Reasons for Admission", + methodology: `

+ This data includes the original reason for admission for all individuals + currently incarcerated in a DOC facility. When an individual is admitted to a + state prison, the reason for the admission is documented by prison officials. + These categories are pulled from that documentation. +

`, + }, + + ParolePopulationCurrent: { + name: "Current Parole Population", + methodology: `

+ This data includes people currently on parole in Pennsylvania. The offices + associated with this data indicate individuals who are being supervised by a + parole officer stationed in that office. +

+

+ In distributions by age, individuals are counted towards the age group they + fall into as of the reporting date. Gender distributions only include male and + female due to low numbers of other reported genders. Distributions by race + count individuals with more than one reported race or ethnicity towards the + racial or ethnic identity that is least represented in the general population. +

+

+ This data may include some individuals on parole in Pennsylvania as part of + the interstate compact program, in which Pennsylvania agrees to supervise the + release of individuals who were charged, sentenced, and incarcerated in a + different state, but have a compelling reason to serve their parole in + Pennsylvania. Under the same program, individuals paroled from a Pennsylvania + prison may occasionally serve their parole in a different state. +

`, + totalLabel: "Total people on parole", + }, + ParolePopulationHistorical: { + name: "Historical Parole Population", + methodology: `

+ This data includes the number of people that were on parole in Pennsylvania on + the first day of each month over the last 20 years. +

+

+ In distributions by age, individuals are counted towards the age group they + fall into as of the reporting date. Gender distributions only include male and + female due to low numbers of other reported genders. Distributions by race + count individuals with more than one reported race or ethnicity towards the + racial or ethnic identity that is least represented in the general population. +

+

+ This data may include some individuals on parole in Pennsylvania as part of + the interstate compact program, in which Pennsylvania agrees to supervise the + release of individuals who were charged, sentenced, and incarcerated in a + different state, but have a compelling reason to serve their parole in + Pennsylvania. Under the same program, individuals paroled from a Pennsylvania + prison may occasionally serve their parole in a different state. +

`, + }, + ParoleSuccessHistorical: { + name: "Historical Parole Completion Rates", + methodology: `

+ This data reports the percentage of people projected to complete parole in a + given month who have successfully completed parole by the end of that month. +

+

+ Parole is considered successfully completed if an individual is discharged + from parole positively or if a parole period expires. Unsuccessful completions + of parole occur when the parole ends due to absconsion, a revocation, or a + negative termination. Deaths, suspensions, and terminations marked as “other” + are excluded from these calculations because they are neither successful nor + unsuccessful. +

+

+ Individuals whose parole is terminated prior to their projected completion + month are counted in the month in which their parole is scheduled to complete, + while individuals who have not yet completed parole by their projected + completion date are excluded. For example, if 15 people are projected to + complete parole in 12 months, 5 are revoked this month, 3 are discharged early + in 8 months, 2 complete parole in 12 months, and 5 do not complete parole, the + completion rate in 12 months will be 50%, as 10 of the people projected to + complete parole will have actually completed parole, 5 of them successfully. +

+

+ In distributions by age, individuals are counted towards the age group they + fall into as of the reporting date. Gender distributions only include male and + female due to low numbers of other reported genders. Distributions by race + count individuals with more than one reported race or ethnicity towards the + racial or ethnic identity that is least represented in the general population. +

+

+ This data may include some individuals on parole in Pennsylvania as part of + the interstate compact program, in which Pennsylvania agrees to supervise the + release of individuals who were charged, sentenced, and incarcerated in a + different state, but have a compelling reason to serve their parole in + Pennsylvania. Under the same program, individuals paroled from a Pennsylvania + prison may occasionally serve their parole in a different state. +

`, + }, + ParoleRevocationsAggregate: { + name: "Reasons for Parole Revocation", + methodology: `

+ This data includes people who were incarcerated in a DOC facility within the + last 3 years because their parole was revoked. Revocations are included based + on the date that the person was admitted to a DOC facility because their + parole was revoked, not the date of the parole case closure or causal + violation or offense. +

+

+ Revocation admissions are linked to parole cases closed via revocation within + 90 days of the admission. Each individual is counted once, even if they had + multiple violation reasons or revocation proceedings from multiple supervision + cases. If an individual has had their parole revoked multiple times in the + last 3 years, the most recent revocation is counted. When an individual does + have multiple violation types leading to revocation, only the most severe + violation is displayed. New offenses are considered more severe than + absconsions, which are considered more severe than technical violations. + Violations of “Unknown Type” indicate individuals who were admitted to prison + for a supervision revocation where the violation that caused the revocation + cannot yet be determined. Revocation admissions without a supervision case + closed via revocation in the 90 day window will always be considered of + “Unknown Type”. +

+

+ Individuals occasionally serve probation and parole sentences simultaneously. + For revoked individuals in this situation, their revocation admission is + categorized as either a probation or a parole revocation, depending on who + authorized the revocation admission (the parole board for parole revocations + or the sentencing judge for probation revocations). This data includes only + individuals with parole revocation admissions. +

+

+ In distributions by age, individuals are counted towards the age group they + fall into as of the reporting date. Gender distributions only include male and + female due to low numbers of other reported genders. Distributions by race + count individuals with more than one reported race or ethnicity towards the + racial or ethnic identity that is least represented in the general population. +

+

+ This data may include some individuals on parole in Pennsylvania as part of + the interstate compact program, in which Pennsylvania agrees to supervise the + release of individuals who were charged, sentenced, and incarcerated in a + different state, but have a compelling reason to serve their parole in + Pennsylvania. Under the same program, individuals paroled from a Pennsylvania + prison may occasionally serve their parole in a different state. +

`, }, }, - metrics: {}, racialDisparitiesNarrative: { - introduction: "", - introductionMethodology: "", + introduction: `

+ In Pennsylvania, people of color are overrepresented in prison, on probation, + and on parole. +

+

+ Black Pennsylvanians are {likelihoodVsWhite.BLACK} times as likely to be under + DOC control as their white counterparts, Latino Pennsylvanians are + {likelihoodVsWhite.HISPANIC} times as likely, and Native American + Pennsylvanians {likelihoodVsWhite.AMERICAN_INDIAN_ALASKAN_NATIVE} + times. +

`, + introductionMethodology: `

+ Distributions by race count individuals with more than one reported race or + ethnicity towards the racial or ethnic identity that is least represented in + the general population. +

+

+ This data may include some individuals on probation or parole in Pennsylvania + as part of the interstate compact program, in which Pennsylvania agrees to + supervise the release of individuals who were charged and sentenced in a + different state, but have a compelling reason to serve their supervision in + Pennsylvania. Under the same program, individuals placed on supervision in + Pennsylvania may occasionally complete their supervision in a different state. +

`, chartLabels: { - totalPopulation: "", - totalSentenced: "", - paroleGrant: "", - incarceratedPopulation: "", - otherGroups: "", + totalPopulation: "Proportions of racial/ethnic groups in the state", + totalSentenced: + "Proportions of racial/ethnic groups sentenced and under DOC control", + paroleGrant: "People released on parole", + incarceratedPopulation: "Overall prison population", + otherGroups: "All other racial/ethnic groups", programmingParticipants: "", - supervisionPopulation: "", - totalPopulationSentences: "", + supervisionPopulation: "All people under supervision", + totalPopulationSentences: "All people sentenced and under DOC control", + }, + sections: { + beforeCorrections: { + title: "Disparities are already present before incarceration", + body: `

+ Disparities emerge long before a person is incarcerated. By the time someone + comes under the DOC’s care, they have been arrested, charged, convicted, and + sentenced. Even before contact with the criminal justice system, disparities + in community investment (education, housing, healthcare) may play an important + role in creating the disparities that we see in sentencing data. +

+

+ {ethnonymCapitalized} make up {beforeCorrections.populationPctCurrent} of + Pennsylvania’s population, but {beforeCorrections.correctionsPctCurrent} of + the population sentenced to time under DOC control. +

`, + methodology: `

+ Individuals are counted as released to parole if they have been released from + a period of incarceration where parole is documented as the reason for + release. This data calculates the percent of the overall incarceration + population and overall releases to parole over the last 3 years, or 36 months, + who were of the selected racial or ethnic group. +

+

+ Distributions by race count individuals with more than one reported race or + ethnicity towards the racial or ethnic identity that is least represented in + the general population. +

+

+ This data may include some individuals on probation or parole in Pennsylvania + as part of the interstate compact program, in which Pennsylvania agrees to + supervise the release of individuals who were charged and sentenced in a + different state, but have a compelling reason to serve their supervision in + Pennsylvania. Under the same program, individuals placed on supervision in + Pennsylvania may occasionally complete their supervision in a different state. +

`, + }, + supervision: { + title: "How can community supervision impact disparities?", + body: `

+ For individuals on probation (community supervision in lieu of a prison + sentence) or on parole, failure can mean revocation: a process that removes + people from community supervision and places them in prison. +

+

+ {ethnonymCapitalized} represent {supervision.populationProportion36Mo} of the + {supervisionType} population, but were {supervision.revocationProportion36Mo} + of revocation admissions to prison in the last 3 years. +

+

+ Reasons for a revocation can vary: {ethnonym} are revoked + {supervision.technicalProportion36Mo} of the time for technical violations (a + rule of supervision, rather than a crime), + {supervision.absconsionProportion36Mo} of the time for absconsion from + {supervisionType}, and {supervision.newCrimeProportion36Mo} of the time for + new crimes. In contrast, overall revocations for technical violations are + {supervision.overall.technicalProportion36Mo}, revocations for absconsion + {supervision.overall.absconsionProportion36Mo} and revocations for new crime + {supervision.overall.newCrimeProportion36Mo}. +

`, + methodology: `

+ This data includes the overall supervision population and revocation + admissions over the last 3 years, or 36 months. +

+

+ Revocation admissions count people who were incarcerated in a DOC facility + because their supervision was revoked. Revocations are included based on the + date that the person was admitted to a DOC facility because their supervision + was revoked, not the date of the supervision case closure or causal violation + or offense. +

+

+ Revocation admissions are linked to supervision cases closed via revocation + within 90 days of the admission. Each individual is counted once, even if they + had multiple violation reasons or revocation proceedings from multiple + supervision cases. When an individual does have multiple violation types + leading to revocation, only the most severe violation is displayed. New + offenses are considered more severe than absconsions, which are considered + more severe than technical violations. Violations of “Unknown Type” indicate + individuals who were admitted to prison for a supervision revocation where the + violation that caused the revocation cannot yet be determined. Revocation + admissions without a supervision case closed via revocation in the 90 day + window will always be considered of “Unknown Type”. +

+

+ Individuals occasionally serve probation and parole sentences simultaneously. + For revoked individuals in this situation, their revocation admission is + categorized as either a probation or a parole revocation, depending on who + authorized the revocation admission (the parole board for parole revocations + or the sentencing judge for probation revocations). +

+

+ Combined supervision counts include the number of unique individuals who have + been admitted to a DOC facility for a supervision revocation. If an individual + has had their probation revoked multiple times in the last 3 years, the most + recent revocation is counted. If an individual has had both probation and + parole revoked within the last 3 years, they will appear in the counts for + both supervision types when broken out separately. +

+

+ Distributions by race count individuals with more than one reported race or + ethnicity towards the racial or ethnic identity that is least represented in + the general population. +

+

+ This data may include some individuals on probation or parole in Pennsylvania + as part of the interstate compact program, in which Pennsylvania agrees to + supervise the release of individuals who were charged and sentenced in a + different state, but have a compelling reason to serve their supervision in + Pennsylvania. Under the same program, individuals placed on supervision in + Pennsylvania may occasionally complete their supervision in a different state. +

`, + }, }, - sections: {}, }, localities: { Prison: { - label: "", - entries: [], + label: "Facility", + entries: [{ id: "ALL", label: "All Facilities" }], + }, + Parole: { + label: "Office", + entries: [{ label: "All Offices", id: "ALL" }], }, }, };