Skip to content

Commit

Permalink
[US_ND] Add PROL to supervision delegate (Recidiviz/recidiviz-data#…
Browse files Browse the repository at this point in the history
…29365)

## Description of the change

Adds `PROL` as an expected release reason raw text value for the
supervision normalization delegate to run.

## Type of change

> All pull requests must have at least one of the following labels
applied (otherwise the PR will fail):

| Label | Description |
|-----------------------------
|-----------------------------------------------------------------------------------------------------------
|
| Type: Bug | non-breaking change that fixes an issue |
| Type: Feature | non-breaking change that adds functionality |
| Type: Breaking Change | fix or feature that would cause existing
functionality to not work as expected |
| Type: Non-breaking refactor | change addresses some tech debt item or
prepares for a later change, but does not change functionality |
| Type: Configuration Change | adjusts configuration to achieve some end
related to functionality, development, performance, or security |
| Type: Dependency Upgrade | upgrades a project dependency - these
changes are not included in release notes |

## Related issues

Closes #XXXX

## Checklists

### Development

**This box MUST be checked by the submitter prior to merging**:
- [ ] **Double- and triple-checked that there is no Personally
Identifiable Information (PII) being mistakenly added in this pull
request**

These boxes should be checked by the submitter prior to merging:
- [ ] Tests have been written to cover the code changed/added as part of
this pull request

### Code review

These boxes should be checked by reviewers prior to merging:

- [ ] This pull request has a descriptive title and information useful
to a reviewer
- [ ] Potential security implications or infrastructural changes have
been considered, if relevant

GitOrigin-RevId: 8854ebe3477dd3e01a92949ae1cef6e23ced6e5d
  • Loading branch information
elisegonzal authored and Helper Bot committed May 10, 2024
1 parent b838304 commit de6f771
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -32,12 +32,15 @@
StateSpecificSupervisionDelegate,
)

# TODO(#29370): Consider changing this to refer to supervision_type enum values instead
# of raw text.
RELEASE_REASON_RAW_TEXT_TO_SUPERVISION_TYPE = {
"PRB": StateSupervisionPeriodSupervisionType.PROBATION,
"RPRB": StateSupervisionPeriodSupervisionType.PROBATION,
"PARL": StateSupervisionPeriodSupervisionType.PAROLE,
"PV": StateSupervisionPeriodSupervisionType.PAROLE,
"RPAR": StateSupervisionPeriodSupervisionType.PAROLE,
"PROL": StateSupervisionPeriodSupervisionType.PAROLE,
}


Expand Down

0 comments on commit de6f771

Please sign in to comment.