-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1733 from emko-274/summary_pdf_to_zip
changes to downloadables and relevant tests
- Loading branch information
Showing
10 changed files
with
49 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -464,14 +464,17 @@ def _sex_crime(statute): | |
return AmbiguousChargeTypeWithQuestion([SexCrime()]) | ||
elif statute in SexCrime.romeo_and_juliet_exceptions: | ||
question_string = """ | ||
Select "Yes" if ALL of the following are true: | ||
1. The victim's lack of consent was solely due to age (statutory rape) AND | ||
2. You were under 23 years old when the act occurred AND | ||
3. The victim was less than five years younger than you when the act occurred | ||
Select "No" if all of the following are true: | ||
1. Are you required to report as a sex offender? | ||
2. Do you have any charges that are not eligible for expungement? | ||
3. Is your sex offense conviction a Class A or Class B Felony? | ||
If your answer to ALL 3 of these questions is "NO", this charge may be eligible for expungement. | ||
""" | ||
options = { | ||
"Yes (Rare, contact [email protected])": RomeoAndJulietNMASexCrime(), | ||
"No": RomeoAndJulietIneligibleSexCrime(), | ||
"Yes": RomeoAndJulietIneligibleSexCrime(), | ||
"No (Rare, contact [email protected])": RomeoAndJulietNMASexCrime(), | ||
} | ||
return ChargeClassifier._build_ambiguous_charge_type_with_question(question_string, options) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,10 +15,6 @@ Name: {{ name }} | |
{% endif %} | ||
|
||
## PLEASE READ THIS | ||
|
||
### Disclaimer: | ||
RecordSponge is not your lawyer. The results below should be used as a guide only. If you are relying on this information to expunge your record, please email [email protected] for free consultation. | ||
|
||
{% if has_open_cases %} | ||
<b>You have open charges. You are not eligible to expunge ANY records, including old charges, while you have open charges.</b> | ||
{% endif %} | ||
|
@@ -55,7 +51,6 @@ These convictions are not eligible for expungement at any time under the current | |
{% include 'partials/case.md.j2' %} | ||
{% endfor %} | ||
{% endif %} | ||
|
||
{% if eligible_if_paid_case_charges | count > 0 %} | ||
## Charges Eligible Now If Balance Paid | ||
These convictions are eligible as soon as the balance of fines on the case is paid. | ||
|
@@ -86,3 +81,17 @@ Additionally, you have charges for which the online records do not contain enoug | |
{% include 'partials/case.md.j2' %} | ||
{% endfor %} | ||
{% endif %} | ||
{% if county_fines | count > 0 %} | ||
## Balance Due by County | ||
{% for county in county_fines %} | ||
{% if county['case_fines'] | length > 0 %} | ||
{{county['county_name']}} | ||
{% for fine in county['case_fines'] %} | ||
{{fine['case_number']}} - {{fine['balance']}} | ||
{% endfor %} | ||
{% endif %} | ||
{% endfor %} | ||
{% endif %} | ||
|
||
### Disclaimer: | ||
RecordSponge is not your lawyer. The results below should be used as a guide only. If you are relying on this information to expunge your record, please email [email protected] for free consultation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,10 +26,10 @@ def test_sex_crimes_with_romeo_and_juliet_exception(sex_crimes_statute): | |
name="Generic", statute=sex_crimes_statute, level="Misdemeanor Class A", disposition=Dispositions.CONVICTED | ||
) | ||
type_eligibility = RecordMerger.merge_type_eligibilities(charges) | ||
assert isinstance(charges[0].charge_type, RomeoAndJulietNMASexCrime) | ||
assert isinstance(charges[1].charge_type, RomeoAndJulietIneligibleSexCrime) | ||
assert isinstance(charges[1].charge_type, RomeoAndJulietNMASexCrime) | ||
assert isinstance(charges[0].charge_type, RomeoAndJulietIneligibleSexCrime) | ||
assert type_eligibility.status is EligibilityStatus.INELIGIBLE | ||
assert ( | ||
type_eligibility.reason | ||
== "Young Offender Sex Crime, Needs More Analysis – Possibly meets requirements under 137.225(6)(f) - Email [email protected] with subject line '6F' for free and confidential further analysis OR Young Offender Sex Crime, Ineligible – Fails to meet requirements under 137.225(6)(f)" | ||
== "Young Offender Sex Crime, Ineligible – Fails to meet requirements under 137.225(6)(f) OR Young Offender Sex Crime, Needs More Analysis – Possibly meets requirements under 137.225(6)(f) - Email [email protected] with subject line '6F' for free and confidential further analysis" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,6 @@ | |
|
||
## PLEASE READ THIS | ||
|
||
### Disclaimer: | ||
RecordSponge is not your lawyer. The results below should be used as a guide only. If you are relying on this information to expunge your record, please email [email protected] for free consultation. | ||
|
||
|
||
### Assumptions | ||
<b>1) Successful completion of court requirements</b> If you are currently on probation or conditional discharge, the analysis below assumes that you will successfully complete those requirements. | ||
|
||
|
@@ -24,7 +20,6 @@ If the above assumptions are not true for you and you would like an updated anal | |
## Charges Eligible Now | ||
You are not currently eligible to expunge any charges. | ||
|
||
|
||
## Charges Eligible Now If Balance Paid | ||
These convictions are eligible as soon as the balance of fines on the case is paid. | ||
|
||
|
@@ -33,3 +28,9 @@ These convictions are eligible as soon as the balance of fines on the case is pa | |
- CASEJD1: Possession of Cocaine (DISMISSED) Charged Feb 17, 2009 | ||
|
||
|
||
## Balance Due by County | ||
Multnomah | ||
CASEJD1 - 529.08 | ||
|
||
### Disclaimer: | ||
RecordSponge is not your lawyer. The results below should be used as a guide only. If you are relying on this information to expunge your record, please email [email protected] for free consultation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,6 @@ Name: JOHN DOE | |
|
||
## PLEASE READ THIS | ||
|
||
### Disclaimer: | ||
RecordSponge is not your lawyer. The results below should be used as a guide only. If you are relying on this information to expunge your record, please email [email protected] for free consultation. | ||
|
||
|
||
### Assumptions | ||
<b>1) Successful completion of court requirements</b> If you are currently on probation or conditional discharge, the analysis below assumes that you will successfully complete those requirements. | ||
|
||
|
@@ -27,7 +23,6 @@ If the above assumptions are not true for you and you would like an updated anal | |
## Charges Eligible Now | ||
You are not currently eligible to expunge any charges. | ||
|
||
|
||
## Charges Eligible Now If Balance Paid | ||
These convictions are eligible as soon as the balance of fines on the case is paid. | ||
|
||
|
@@ -36,3 +31,9 @@ These convictions are eligible as soon as the balance of fines on the case is pa | |
- CASEJD1: Possession of Cocaine (DISMISSED) Charged Feb 17, 2009 | ||
|
||
|
||
## Balance Due by County | ||
Multnomah | ||
CASEJD1 - 529.08 | ||
|
||
### Disclaimer: | ||
RecordSponge is not your lawyer. The results below should be used as a guide only. If you are relying on this information to expunge your record, please email [email protected] for free consultation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters