The engine compiles Maine's rules into a law image and runs it as bytecode. Rule ids in the listing link back to the rules above.
- Listing from
- the engine's disassembler, tdis, when the site was built
- Compiled by
- tendc 1.3.0, image format 1.3
- Contents
- 47 rules, 14 sources, 24 proofs, 2 ints, 279 strings
- Compiled from these rules
- Yes. The image names the same SHA-256 as the verified rules above.
- Compiled from the current law IR
- Yes. The image carries the SHA-256 of the IR shown on this page.
- Image SHA-256
71faa4273f866c5f0e8939b8ee59248ca1a8a322913bb452f2bba41970f26c60
Jump to: rule table, per-cost program, totals program, or download the listing.
.rules
R0 ME-EXAM-1 exam_no_bill - 5 M.R.S. 3360-M(3)
R1 ME-EXAM-2 exam_payment - 5 M.R.S. 3360-M(2)
R2 ME-EXAM-3 reporting - 5 M.R.S. 3360-M(3)
R3 ME-EXAM-4 exam_no_bill - Maine AG SAFE page, Notice to sexual assault victims
R4 ME-EXAM-6 exam_payment - Maine AG SAFE page, introduction and Notice to sexual assault victims
R5 ME-EXAM-5 exam_payment - Maine AG SAFE page, Notice to healthcare providers performing SAFE
R6 ME-CAP-1 total_cap - 5 M.R.S. 3360-E(1)
R7 ME-CAP-2 total_cap - 5 M.R.S. 3360-E(3)
R8 ME-MED-1 covered medical Maine AG Victims' Compensation page, What Expenses Are Covered?
R9 ME-DENT-1 covered dental Maine AG Victims' Compensation page, What Expenses Are Covered?
R10 ME-COUNS-1 covered counseling 5 M.R.S. 3360(4)
R11 ME-COUNS-2 covered counseling 5 M.R.S. 3360-B(3)
R12 ME-WAGE-1 covered lost_wages 5 M.R.S. 3360(4)
R13 ME-WAGE-2 covered lost_wages Maine AG Victims' Compensation page, What Expenses Are Covered?
R14 ME-SEC-1 covered security 5 M.R.S. 3360(4)
R15 ME-RELO-1 covered relocation 5 M.R.S. 3360(4)
R16 ME-CLEAN-1 covered crime_scene_cleanup 5 M.R.S. 3360(4)
R17 ME-PROS-1 covered other 5 M.R.S. 3360(4)
R18 ME-FUN-1 expense_cap funeral per claim Maine AG Victims' Compensation page, What Expenses Are Covered?
R19 ME-EXCL-1 excluded property_replacement Maine AG Victims' Compensation page, What Expenses Are Covered?
R20 ME-EXCL-2 info - excluded_expense Maine AG Program Law and History, What Is an Eligible Expense?
R21 ME-DEAD-1 deadline - from crime 5 M.R.S. 3360-C(1)(B)
R22 ME-DEAD-2 deadline - from discovery 5 M.R.S. 3360-C(1)(B)
R23 ME-DEAD-3 info - filing_deadline 5 M.R.S. 3360-C(3)
R24 ME-REP-1 reporting - 5 M.R.S. 3360-C(1)(A)
R25 ME-REP-4 reporting - 5 M.R.S. 3360-C(3)
R26 ME-REP-2 reporting - 5 M.R.S. 3360-C(1)
R27 ME-REP-3 reporting - Maine AG SAFE page, Notice to sexual assault victims
R28 ME-COLL-1 collateral - Maine AG Victims' Compensation page, What Are the Requirements?
R29 ME-COND-1 info - conduct_reduction 5 M.R.S. 3360-C(2)(B)
R30 ME-COND-2 info - conduct_reduction 5 M.R.S. 3360-C(2)(A)
R31 ME-CRIME-1 info - eligible_crime 5 M.R.S. 3360-B(1)(B)
R32 ME-CRIME-2 info - eligible_crime 5 M.R.S. 3360(3)(J)
R33 ME-CRIME-3 info - eligible_crime 5 M.R.S. 3360(3)(H)
R34 ME-RES-1 info - residency 5 M.R.S. 3360-B(1)(A)
R35 ME-RES-2 info - residency 5 M.R.S. 3360-B(1)(C)(3)
R36 ME-SUBMIT-ONLINE info - submission AG Victims' Compensation page, Victims links
R37 ME-DOC-SIGNED info - required_document AG Program Law and History, Application Process
R38 ME-DOC-MEDICAL info - required_document 5 M.R.S. 3360-D(1)(C)
R39 ME-DOC-BILLS info - required_document 5 M.R.S. 3360-D(1)(C)
R40 ME-DOC-WAGES info - required_document 5 M.R.S. 3360-D(1)(C)
R41 ME-DOC-INSURANCE info - required_document 5 M.R.S. 3360-D(1)(D)
R42 ME-DOC-POLICE info - required_document 5 M.R.S. 3360-D(1)(B)
R43 ME-DOC-COUNSEL info - required_document AG Mental Health Counseling Guidelines
R44 ME-ACP-1 info - address_confidentiality 5 M.R.S. 90-B(2)
R45 ME-RECCONF-1 info - record_confidentiality 5 M.R.S. 3360-D(4)
R46 ME-TRANS-1 skipped - covered_expense 5 M.R.S. 3360(4)
.tags pain_suffering=bit0
.sources
S0 ME-S1 sha256 16ecd7100bf1835c https://www.maine.gov/ag/crime-victims/victims-compensation
S1 ME-S2 sha256 60dcbc95cb99ca91 https://www.maine.gov/ag/crime-victims/victims-compensation/eligibility-checklist
S2 ME-S3 sha256 1fdb72baf091f69d https://www.maine.gov/ag/crime-victims/sexual-assault-forensic-examinations-safe
S3 ME-S4 sha256 7ed6dae507768847 https://www.maine.gov/ag/crime-victims/victims-compensation/program-law-and-history
S4 ME-S5 sha256 00463280ba200626 https://www.maine.gov/ag/crime-victims/victims-compensation/mental-health-counseling-guidelines
S5 ME-S6 sha256 938decdb41d6af1c https://legislature.maine.gov/statutes/5/title5sec3360.html
S6 ME-S7 sha256 ee3c54d83cc2f917 https://legislature.maine.gov/statutes/5/title5sec3360-B.html
S7 ME-S8 sha256 babfce3e9c2eb8d9 https://legislature.maine.gov/statutes/5/title5sec3360-C.html
S8 ME-S9 sha256 bd603ca3a0e99026 https://legislature.maine.gov/statutes/5/title5sec3360-D.html
S9 ME-S10 sha256 9c0b8b9590631150 https://legislature.maine.gov/statutes/5/title5sec3360-F.html
S10 ME-S11 sha256 bd39762a6d84bcb3 https://legislature.maine.gov/statutes/5/title5sec3360-M.html
S11 ME-S12 sha256 7c8be6f3ef5949f2 https://legislature.maine.gov/statutes/5/title5sec3360-E-2.html
S12 ME-S13 sha256 b44dba82527f3390 https://legislature.maine.gov/statutes/5/title5sec3360-S.html
S13 ME-S14 sha256 1bede3834635e947 https://legislature.maine.gov/statutes/5/title5sec90-B.html
.proofs
P0 ()
P1 (ME-EXAM-1, ME-EXAM-4, ME-EXAM-2, ME-EXAM-6, ME-EXAM-5)
P2 (ME-MED-1)
P3 (ME-MED-1, ME-COLL-1)
P4 (ME-COUNS-1, ME-COUNS-2)
P5 (ME-COUNS-1, ME-COUNS-2, ME-COLL-1)
P6 (ME-WAGE-1, ME-WAGE-2)
P7 (ME-WAGE-1, ME-WAGE-2, ME-COLL-1)
P8 (ME-RELO-1)
P9 (ME-RELO-1, ME-COLL-1)
P10 (ME-SEC-1)
P11 (ME-SEC-1, ME-COLL-1)
P12 (ME-CLEAN-1)
P13 (ME-CLEAN-1, ME-COLL-1)
P14 (ME-EXCL-1)
P15 (ME-DENT-1)
P16 (ME-DENT-1, ME-COLL-1)
P17 (ME-FUN-1)
P18 (ME-FUN-1, ME-COLL-1)
P19 (ME-PROS-1)
P20 (ME-PROS-1, ME-COLL-1)
P21 (ME-DEAD-1, ME-DEAD-2)
P22 (ME-EXAM-3, ME-REP-1, ME-REP-4, ME-REP-2, ME-REP-3)
P23 (ME-EXCL-2, ME-DEAD-3, ME-COLL-1, ME-COND-1, ME-COND-2, ME-CRIME-1, ME-CRIME-2, ME-CRIME-3, ME-RES-1, ME-RES-2, ME-SUBMIT-ONLINE, ME-DOC-SIGNED, ME-DOC-MEDICAL, ME-DOC-BILLS, ME-DOC-WAGES, ME-DOC-INSURANCE, ME-DOC-POLICE, ME-DOC-COUNSEL, ME-ACP-1, ME-RECCONF-1)
.ints
K0 450000
K1 1500000
.item
0000 ldi date
0002 ldx incident_date
0004 lt
0005 jnz L0
000a ldi date
000c ldx as_of_date
000e gt
000f jnz L0
0014 ldi expense
0016 switch 19, default L8
case medical -> L2
case forensic_exam -> L1
case counseling -> L4
case lost_wages -> L6
case transportation -> L8
case relocation -> L9
case temporary_housing -> L8
case security -> L11
case crime_scene_cleanup -> L13
case childcare -> L8
case property_replacement -> L15
case clothing_bedding -> L8
case prescription -> L8
case dental -> L19
case funeral -> L21
case legal -> L8
case tuition -> L8
case other -> L23
case unknown -> L8
0068 L0: push 0
006d decide out_of_window, P0
0071 ret
0072 L1: push 0
0077 decide held, P1
007b ret
007c L2: ldi confirmed
007e jnz L3
0083 push 0
0088 decide needs_confirmation, P2
008c ret
008d L3: ldi amount_cents
008f decide eligible, P3
0093 lda
0094 ldi insurance_paid_cents
0096 subs
0097 push 0
009c max
009d seta collateral, R28
00a1 ret
00a2 L4: ldi confirmed
00a4 jnz L5
00a9 push 0
00ae decide needs_confirmation, P4
00b2 ret
00b3 L5: ldi amount_cents
00b5 decide eligible, P5
00b9 lda
00ba ldi insurance_paid_cents
00bc subs
00bd push 0
00c2 max
00c3 seta collateral, R28
00c7 ret
00c8 L6: ldi confirmed
00ca jnz L7
00cf push 0
00d4 decide needs_confirmation, P6
00d8 ret
00d9 L7: ldi amount_cents
00db decide eligible, P7
00df lda
00e0 ldi insurance_paid_cents
00e2 subs
00e3 push 0
00e8 max
00e9 seta collateral, R28
00ed ret
00ee L8: push 0
00f3 decide unknown_rule, P0
00f7 ret
00f8 L9: ldi confirmed
00fa jnz L10
00ff push 0
0104 decide needs_confirmation, P8
0108 ret
0109 L10: ldi amount_cents
010b decide eligible, P9
010f lda
0110 ldi insurance_paid_cents
0112 subs
0113 push 0
0118 max
0119 seta collateral, R28
011d ret
011e L11: ldi confirmed
0120 jnz L12
0125 push 0
012a decide needs_confirmation, P10
012e ret
012f L12: ldi amount_cents
0131 decide eligible, P11
0135 lda
0136 ldi insurance_paid_cents
0138 subs
0139 push 0
013e max
013f seta collateral, R28
0143 ret
0144 L13: ldi confirmed
0146 jnz L14
014b push 0
0150 decide needs_confirmation, P12
0154 ret
0155 L14: ldi amount_cents
0157 decide eligible, P13
015b lda
015c ldi insurance_paid_cents
015e subs
015f push 0
0164 max
0165 seta collateral, R28
0169 ret
016a L15: push 0
016f str r0
0171 ldi tags
0173 push 1
0178 and
0179 jz L16
017e ldr r0
0180 push 1
0185 or
0186 str r0
0188 L16: ldr r0
018a switch 2, default L18
case 0 -> L18
case 1 -> L17
0198 L17: push 0
019d decide excluded, P14
01a1 ret
01a2 L18: push 0
01a7 decide unknown_rule, P0
01ab ret
01ac L19: ldi confirmed
01ae jnz L20
01b3 push 0
01b8 decide needs_confirmation, P15
01bc ret
01bd L20: ldi amount_cents
01bf decide eligible, P16
01c3 lda
01c4 ldi insurance_paid_cents
01c6 subs
01c7 push 0
01cc max
01cd seta collateral, R28
01d1 ret
01d2 L21: ldi confirmed
01d4 jnz L22
01d9 push 0
01de decide needs_confirmation, P17
01e2 ret
01e3 L22: ldi amount_cents
01e5 decide eligible, P18
01e9 lda
01ea ldi insurance_paid_cents
01ec subs
01ed push 0
01f2 max
01f3 seta collateral, R28
01f7 ret
01f8 L23: ldi confirmed
01fa jnz L24
01ff push 0
0204 decide needs_confirmation, P19
0208 ret
0209 L24: ldi amount_cents
020b decide eligible, P20
020f lda
0210 ldi insurance_paid_cents
0212 subs
0213 push 0
0218 max
0219 seta collateral, R28
021d ret
.aggregate
0000 push 0
0005 str r0
0007 push 0
000c str r1
000e each funeral, L4
0014 L0: ldr r1
0016 jnz L2
001b ldr r0
001d lda
001e adds
001f ldk K0
0022 gt
0023 jz L1
0028 ldk K0
002b ldr r0
002d subs
002e cap expense_cap, R18
0032 push 1
0037 str r1
0039 L1: ldr r0
003b lda
003c adds
003d str r0
003f jmp L3
0044 L2: push 0
0049 cap expense_cap, R18
004d L3: next L0
0052 L4: push 0
0057 str r0
0059 push 0
005e str r1
0060 each all, L9
0066 L5: ldr r1
0068 jnz L7
006d ldr r0
006f lda
0070 adds
0071 ldk K1
0074 gt
0075 jz L6
007a ldk K1
007d ldr r0
007f subs
0080 cap total_cap, R6
0084 push 1
0089 str r1
008b L6: ldr r0
008d lda
008e adds
008f str r0
0091 jmp L8
0096 L7: push 0
009b cap total_cap, R6
009f L8: next L5
00a4 L9: push 0
00a9 check minimum_loss, P0
00ad ldx incident_date
00af push 1095
00b4 adds
00b5 ldx incident_date
00b7 push 60
00bc adds
00bd max
00be dup
00bf setdate
00c0 ldx as_of_date
00c2 ge
00c3 jz L10
00c8 push 0
00cd jmp L11
00d2 L10: push 1
00d7 L11: note deadline_from_discovery
00d9 check deadline, P21
00dd ldx police_report
00df push 1
00e4 eq
00e5 jnz L13
00ea ldx police_report
00ec push 0
00f1 eq
00f2 jnz L12
00f7 push 3
00fc jmp L14
0101 L12: push 1
0106 jmp L14
010b L13: push 0
0110 L14: check reporting, P22
0114 info P23
0117 ret