-
Notifications
You must be signed in to change notification settings - Fork 261
/
Copy pathlegal.py
543 lines (501 loc) · 25.4 KB
/
legal.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
from itertools import chain
from docassemble.base.functions import alpha, roman, item_label, comma_and_list, get_language, set_language, get_dialect, get_voice, set_country, get_country, word, comma_list, ordinal, ordinal_number, need, nice_number, quantity_noun, possessify, verb_past, verb_present, noun_plural, noun_singular, space_to_underscore, force_ask, force_gather, period_list, name_suffix, currency, currency_symbol, indefinite_article, nodoublequote, capitalize, title_case, url_of, do_you, did_you, does_a_b, did_a_b, your, her, his, is_word, get_locale, set_locale, update_locale, process_action, url_action, get_info, set_info, get_config, prevent_going_back, qr_code, action_menu_item, from_b64_json, defined, define, value, message, response, json_response, command, single_paragraph, quote_paragraphs, location_returned, location_known, user_lat_lon, interview_url, interview_url_action, interview_url_as_qr, interview_url_action_as_qr, interview_email, get_emails, get_default_timezone, user_logged_in, interface, user_privileges, user_has_privilege, user_info, current_context, action_arguments, action_argument, background_action, background_response, background_response_action, background_error_action, us, set_live_help_status, chat_partners_available, phone_number_in_e164, phone_number_formatted, phone_number_is_valid, countries_list, country_name, write_record, read_records, delete_record, variables_as_json, all_variables, language_from_browser, device, plain, bold, italic, states_list, state_name, subdivision_type, indent, raw, fix_punctuation, set_progress, get_progress, referring_url, undefine, invalidate, dispatch, yesno, noyes, split, showif, showifdef, phone_number_part, set_parts, log, encode_name, decode_name, interview_list, interview_menu, server_capabilities, session_tags, get_chat_log, get_user_list, get_user_info, set_user_info, get_user_secret, create_user, invite_user, create_session, get_session_variables, set_session_variables, get_question_data, go_back_in_session, manage_privileges, redact, forget_result_of, re_run_logic, reconsider, set_title, set_save_status, single_to_double_newlines, verbatim, add_separators, store_variables_snapshot, update_terms, set_variables, language_name, run_action_in_session, static_image # noqa: F401 # pylint: disable=unused-import
from docassemble.base.util import LatitudeLongitude, RoleChangeTracker, Name, IndividualName, Address, City, Event, Person, Thing, Individual, ChildList, FinancialList, PeriodicFinancialList, Income, Asset, Expense, Value, PeriodicValue, OfficeList, Organization, send_email, send_sms, send_fax, map_of, last_access_time, last_access_delta, last_access_days, last_access_hours, last_access_minutes, returning_user, timezone_list, as_datetime, current_datetime, date_difference, date_interval, today, month_of, day_of, dow_of, year_of, format_date, format_datetime, format_time, DARedis, DACloudStorage, DAGoogleAPI, SimpleTextMachineLearner, MachineLearningEntry, RandomForestMachineLearner, SVMMachineLearner, ocr_file, ocr_file_in_background, read_qr, get_sms_session, initiate_sms_session, terminate_sms_session, path_and_mimetype, run_python_module, pdf_concatenate, include_docx_template, start_time, zip_file, validation_error, DAValidationError, action_button_html, url_ask, overlay_pdf, DAStore, explain, clear_explanations, logic_explanation, set_status, get_status, DAWeb, DAWebError, json, re, iso_country, assemble_docx, docx_concatenate, task_performed, task_not_yet_performed, mark_task_as_performed, times_task_performed, set_task_counter, stash_data, retrieve_stashed_data, DABreadCrumbs, DAOAuth, DAObject, DAList, DADict, DAOrderedDict, DASet, DAFile, DAFileCollection, DAFileList, DAStaticFile, DAEmail, DAEmailRecipient, DAEmailRecipientList, DATemplate, DAEmpty, DALink, selections, objects_from_file, RelationshipTree, DAContext, DA, DAGlobal, transform_json_variables # noqa: F401 # pylint: disable=unused-import
# from docassemble.base.logger import logmessage
__all__ = [
'alpha',
'roman',
'item_label',
'interview_url',
'Court',
'Case',
'Document',
'LegalFiling',
'Person',
'Thing',
'Individual',
'IndividualName',
'Name',
'Address',
'Organization',
'City',
'Event',
'DAObject',
'DAList',
'DADict',
'DAOrderedDict',
'DASet',
'PartyList',
'ChildList',
'FinancialList',
'PeriodicFinancialList',
'Income',
'Asset',
'LatitudeLongitude',
'RoleChangeTracker',
'DATemplate',
'DAEmpty',
'DALink',
'Expense',
'Value',
'PeriodicValue',
'DAFile',
'DAFileCollection',
'DAFileList',
'DAStaticFile',
'DAEmail',
'DAEmailRecipient',
'DAEmailRecipientList',
'send_email',
'send_sms',
'send_fax',
'comma_and_list',
'get_language',
'get_dialect',
'get_voice',
'set_country',
'get_country',
'set_language',
'word',
'comma_list',
'ordinal',
'ordinal_number',
'need',
'nice_number',
'quantity_noun',
'verb_past',
'verb_present',
'noun_plural',
'noun_singular',
'space_to_underscore',
'force_ask',
'force_gather',
'period_list',
'name_suffix',
'currency',
'currency_symbol',
'indefinite_article',
'capitalize',
'title_case',
'url_of',
'get_locale',
'set_locale',
'update_locale',
'process_action',
'url_action',
'selections',
'get_info',
'set_info',
'user_lat_lon',
'location_known',
'location_returned',
'get_config',
'map_of',
'objects_from_file',
'prevent_going_back',
'month_of',
'day_of',
'dow_of',
'year_of',
'format_date',
'format_datetime',
'format_time',
'today',
'qr_code',
'interview_url_as_qr',
'interview_url_action_as_qr',
'action_menu_item',
'from_b64_json',
'define',
'defined',
'value',
'message',
'response',
'json_response',
'command',
'single_paragraph',
'quote_paragraphs',
'interview_url_action',
'action_arguments',
'action_argument',
'last_access_time',
'last_access_delta',
'last_access_days',
'last_access_hours',
'last_access_minutes',
'returning_user',
'timezone_list',
'as_datetime',
'current_datetime',
'date_difference',
'date_interval',
'get_default_timezone',
'user_logged_in',
'interface',
'user_privileges',
'user_has_privilege',
'user_info',
'current_context',
'task_performed',
'task_not_yet_performed',
'mark_task_as_performed',
'times_task_performed',
'set_task_counter',
'background_action',
'background_response',
'background_response_action',
'background_error_action',
'us',
'DARedis',
'DACloudStorage',
'DAGoogleAPI',
'SimpleTextMachineLearner',
'set_live_help_status',
'chat_partners_available',
'phone_number_in_e164',
'phone_number_formatted',
'phone_number_is_valid',
'countries_list',
'country_name',
'write_record',
'read_records',
'delete_record',
'variables_as_json',
'all_variables',
'ocr_file',
'ocr_file_in_background',
'read_qr',
'get_sms_session',
'initiate_sms_session',
'terminate_sms_session',
'language_from_browser',
'device',
'interview_email',
'get_emails',
'plain',
'bold',
'italic',
'path_and_mimetype',
'states_list',
'state_name',
'subdivision_type',
'indent',
'raw',
'fix_punctuation',
'set_progress',
'get_progress',
'referring_url',
'run_python_module',
'undefine',
'invalidate',
'dispatch',
'yesno',
'noyes',
'split',
'showif',
'showifdef',
'phone_number_part',
'pdf_concatenate',
'set_parts',
'log',
'encode_name',
'decode_name',
'interview_list',
'interview_menu',
'server_capabilities',
'session_tags',
'us_districts',
'include_docx_template',
'get_chat_log',
'get_user_list',
'get_user_info',
'set_user_info',
'get_user_secret',
'create_user',
'invite_user',
'create_session',
'get_session_variables',
'set_session_variables',
'go_back_in_session',
'manage_privileges',
'start_time',
'zip_file',
'validation_error',
'DAValidationError',
'redact',
'forget_result_of',
're_run_logic',
'reconsider',
'action_button_html',
'url_ask',
'overlay_pdf',
'get_question_data',
'set_title',
'set_save_status',
'single_to_double_newlines',
'RelationshipTree',
'DAContext',
'DAOAuth',
'DAStore',
'explain',
'clear_explanations',
'logic_explanation',
'set_status',
'get_status',
'verbatim',
'add_separators',
'DAWeb',
'DAWebError',
'json',
're',
'iso_country',
'assemble_docx',
'docx_concatenate',
'store_variables_snapshot',
'stash_data',
'retrieve_stashed_data',
'update_terms',
'chain',
'DABreadCrumbs',
'set_variables',
'language_name',
'DA',
'DAGlobal',
'run_action_in_session',
'static_image',
'MachineLearningEntry',
'RandomForestMachineLearner',
'SVMMachineLearner',
'transform_json_variables'
]
hooks = {}
class SpecialReturnObject():
pass
RUN_PARENTS = SpecialReturnObject()
def register_hook(object_type, hook_name, hook, target):
key = "^".join(target)
if key not in hooks:
hooks[key] = {}
if object_type not in hooks[key]:
hooks[key][object_type] = {}
# logmessage("Setting hook for " + key + " " + object_type + " " + hook_name)
hooks[key][object_type][hook_name] = hook
def run_hook(object_type, the_self, hook_name, target, **kwargs):
while len(target):
key = "^".join(target)
# logmessage("Looking for hook for " + key + " and " + hook_name)
if key in hooks and object_type in hooks[key] and hook_name in hooks[key][object_type]:
# logmessage("Found a hook for " + key + " " + object_type + " " + hook_name)
result = hooks[key][object_type][hook_name](the_self, **kwargs)
# logmessage("Done with hook for " + key + " and " + hook_name)
if not isinstance(result, SpecialReturnObject):
return result
target.pop()
return None
class Court(DAObject):
"""Represents a court of law."""
def init(self, *pargs, **kwargs):
if 'jurisdiction' not in kwargs:
self.jurisdiction = []
super().init(*pargs, **kwargs)
def __str__(self):
return str(self.name)
def in_the_court(self, **kwargs): # pylint: disable=unused-argument
"""Returns the top line of the first page of a pleading filed in the
court.
"""
result = run_hook('court', self, 'in_the_court', self.jurisdiction)
if result is None:
return "In the " + self.name
return result
def _add_person_and_children_of(target, output_list):
if target not in output_list and target.identified():
output_list.append(target)
if hasattr(target, 'child'):
for child in target.child.elements:
_add_person_and_children_of(child, output_list)
class PartyList(DAList):
"""Represents a list of parties to a case. The default object
type for items in the list is Individual."""
PartyClass = Individual
def init(self, *pargs, **kwargs):
self.object_type = self.PartyClass
super().init(*pargs, **kwargs)
class Case(DAObject):
"""Represents a case in court."""
PartyListClass = PartyList
CourtClass = Court
def init(self, *pargs, **kwargs):
# logmessage("Case init: running")
self.initializeAttribute('court', self.CourtClass)
self.initializeAttribute('defendant', self.PartyListClass)
self.initializeAttribute('plaintiff', self.PartyListClass)
self.firstParty = self.plaintiff
self.secondParty = self.defendant
self.is_solo_action = False
self.state = None
self.action_type = 'plaintiff defendant'
super().init(*pargs, **kwargs)
def __str__(self):
return str(self.case_id)
def set_action_type(self, the_value):
"""Initializes attributes for the different types of parties in the
case.
"""
# logmessage("setting action type to " + the_value)
# logmessage("set_action_type: self instanceName is " + self.instanceName)
if the_value == 'solo petition':
if hasattr(self, 'plaintiff'):
del self.plaintiff
if hasattr(self, 'defendant'):
del self.defendant
if hasattr(self, 'respondent'):
del self.respondent
if not hasattr(self, 'petitioner'):
self.initializeAttribute('petitioner', self.PartyListClass)
# logmessage("setting firstParty to petitioner")
self.firstParty = self.petitioner
# logmessage("firstParty instanceName is " + self.firstParty.instanceName)
self.is_solo_action = True
elif the_value == 'in re':
if hasattr(self, 'plaintiff'):
del self.plaintiff
if hasattr(self, 'defendant'):
del self.defendant
if hasattr(self, 'respondent'):
del self.respondent
if not hasattr(self, 'petitioner'):
self.initializeAttribute('petitioner', self.PartyListClass)
self.firstParty = self.petitioner
self.is_solo_action = True
elif the_value == 'petition':
if hasattr(self, 'plaintiff'):
del self.plaintiff
if hasattr(self, 'defendant'):
del self.defendant
if not hasattr(self, 'petitioner'):
self.initializeAttribute('petitioner', self.PartyListClass)
if not hasattr(self, 'respondent'):
self.initializeAttribute('respondent', self.PartyListClass)
self.firstParty = self.petitioner
self.secondParty = self.respondent
self.is_solo_action = True
elif the_value == 'plaintiff defendant':
if not hasattr(self, 'plaintiff'):
self.initializeAttribute('plaintiff', self.PartyListClass)
if not hasattr(self, 'defendant'):
self.initializeAttribute('defendant', self.PartyListClass)
self.firstParty = self.plaintiff
self.secondParty = self.defendant
self.is_solo_action = False
elif the_value == 'appellee appellant':
if hasattr(self, 'plaintiff'):
del self.plaintiff
if hasattr(self, 'defendant'):
del self.defendant
if not hasattr(self, 'appellee'):
self.initializeAttribute('appellee', self.PartyListClass)
if not hasattr(self, 'appellant'):
self.initializeAttribute('appellant', self.PartyListClass)
self.firstParty = self.appellee
self.secondParty = self.appellant
self.is_solo_action = False
self.action_type = the_value
def case_id_in_caption(self, **kwargs):
"""Returns the text for the case ID that will appear in the case
caption.
"""
result = run_hook('case', self, 'case_id_in_caption', self.court.jurisdiction, **kwargs)
if result is None:
if hasattr(self, 'case_id'):
return word('Case No.') + " " + self.case_id
return word('Case No.')
return result
def determine_court(self, **kwargs):
"""Runs code, if any exists, to determine what court has jurisdiction
over the case.
"""
# logmessage("determine_court 1: firstParty is " + str(self.firstParty.instanceName))
run_hook('case', self, 'determine_court', self.court.jurisdiction, **kwargs)
# logmessage("determine_court 2: firstParty is " + str(self.firstParty.instanceName))
def role_of(self, party):
"""Given a person object, it looks through the parties to the
case and returns the name of the party to which the person belongs.
Returns "third party" if the person is not found among the parties."""
for partyname in self.__dict__:
if not isinstance(getattr(self, partyname), self.PartyListClass):
continue
if partyname in ['firstParty', 'secondParty']:
continue
getattr(self, partyname)._trigger_gather()
for indiv in getattr(self, partyname).elements:
if indiv is party:
return partyname
return 'third party'
def all_known_people(self):
"""Returns a list of all parties and their children,
children's children, etc. Does not force the gathering of the
parties."""
output_list = []
for partyname in self.__dict__:
if not isinstance(getattr(self, partyname), self.PartyListClass):
continue
for party in getattr(self, partyname).elements:
_add_person_and_children_of(party, output_list)
return output_list
def parties(self):
"""Returns a list of all parties. Gathers the parties if
they have not been gathered yet."""
output_list = []
for partyname in self.__dict__:
if not isinstance(getattr(self, partyname), self.PartyListClass):
continue
getattr(self, partyname)._trigger_gather()
for indiv in getattr(self, partyname).elements:
if indiv not in output_list:
output_list.append(indiv)
return output_list
# class Jurisdiction(DAObject):
# """Represents a jurisdiction, e.g. of a Court. No functionality
# implemented yet."""
# pass
class Document(DAObject):
"""This is a base class for different types of documents."""
def __str__(self):
return str(self.title)
class LegalFiling(Document):
"""Represents a document filed in court."""
def caption(self):
"""Returns a case caption for the case, for inclusion in documents."""
# logmessage("caption: gathering first party")
# logmessage("caption: case action_type is " + self.case.action_type)
# logmessage("caption: case instanceName is " + self.case.instanceName)
# logmessage("caption: instanceName is " + self.case.firstParty.instanceName)
self.case.firstParty.gather()
# logmessage("caption: gathered first party")
if not self.case.is_solo_action:
# logmessage("caption: case is solo action")
self.case.secondParty.gather()
output = ""
# logmessage("caption: going to call in_the_court")
output += "[BOLDCENTER] " + self.case.court.in_the_court(legalfiling=self, case=self.case) + "\n\n"
output += "[BEGIN_CAPTION]"
if self.case.action_type == 'in re':
output += 'In re '
output += comma_and_list(self.case.firstParty.elements, comma_string=",[NEWLINE]", and_string=word('and'), before_and=" ", after_and='[NEWLINE]') + ",[NEWLINE]"
if self.case.action_type != 'in re':
output += "[TAB][TAB]" + word(self.case.firstParty.as_noun()).capitalize() + "[NEWLINE] "
if not self.case.is_solo_action:
output += "[SKIPLINE][TAB]" + word('v.') + " [NEWLINE][SKIPLINE] "
output += comma_and_list(self.case.secondParty.elements, comma_string=",[NEWLINE]", and_string=word('and'), before_and=" ", after_and='[NEWLINE]') + ",[NEWLINE]"
output += "[TAB][TAB]" + word(self.case.secondParty.as_noun()).capitalize()
output += "[VERTICAL_LINE]"
output += self.case.case_id_in_caption(legalfiling=self)
output += "[END_CAPTION]\n\n"
if self.title is not None:
output += "[BOLDCENTER] " + self.title.upper() + "\n"
return output
def us_districts(bankruptcy=False):
if bankruptcy:
return ['Northern District of Alabama', 'Middle District of Alabama', 'Southern District of Alabama', 'District of Alaska', 'District of Arizona', 'Eastern & Western Districts of Arkansas', 'Central District of California', 'Eastern District of California', 'Northern District of California', 'Southern District of California', 'District of Colorado', 'District of Connecticut', 'District of Delaware', 'District of Columbia', 'Northern District of Florida', 'Middle District of Florida', 'Southern District of Florida', 'Northern District of Georgia', 'Middle District of Georgia', 'Southern District of Georgia', 'District of Guam', 'District of Hawaii', 'District of Idaho', 'Northern District of Illinois', 'Central District of Illinois', 'Southern District of Illinois', 'Northern District of Indiana', 'Southern District of Indiana', 'Northern District of Iowa', 'Southern District of Iowa', 'District of Kansas', 'Eastern District of Kentucky', 'Western District of Kentucky', 'Eastern District of Louisiana', 'Middle District of Louisiana', 'Western District of Louisiana', 'District of Maine', 'District of Maryland', 'District of Massachusetts', 'Eastern District of Michigan', 'Western District of Michigan', 'District of Minnesota', 'Northern District of Mississippi', 'Southern District of Mississippi', 'Eastern District of Missouri', 'Western District of Missouri', 'District of Montana', 'District of Nebraska', 'District of Nevada', 'District of New Hampshire', 'District of New Jersey', 'District of New Mexico', 'Eastern District of New York', 'Northern District of New York', 'Southern District of New York', 'Western District of New York', 'Eastern District of North Carolina', 'Middle District of North Carolina', 'Western District of North Carolina', 'District of North Dakota', 'District of the Northern Mariana Islands', 'Northern District of Ohio', 'Southern District of Ohio', 'Eastern District of Oklahoma', 'Northern District of Oklahoma', 'Western District of Oklahoma', 'District of Oregon', 'Eastern District of Pennsylvania', 'Middle District of Pennsylvania', 'Western District of Pennsylvania', 'District of Puerto Rico', 'District of Rhode Island', 'District of South Carolina', 'District of South Dakota', 'Eastern District of Tennessee', 'Middle District of Tennessee', 'Western District of Tennessee', 'Eastern District of Texas', 'Northern District of Texas', 'Southern District of Texas', 'Western District of Texas', 'District of Utah', 'District of Vermont', 'District of the Virgin Islands', 'Eastern District of Virginia', 'Western District of Virginia', 'Eastern District of Washington', 'Western District of Washington', 'Northern District of West Virginia', 'Southern District of West Virginia', 'Eastern District of Wisconsin', 'Western District of Wisconsin', 'District of Wyoming']
return ['Northern District of Alabama', 'Middle District of Alabama', 'Southern District of Alabama', 'District of Alaska', 'District of Arizona', 'Eastern District of Arkansas', 'Western District of Arkansas', 'Central District of California', 'Eastern District of California', 'Northern District of California', 'Southern District of California', 'District of Colorado', 'District of Connecticut', 'District of Delaware', 'District of Columbia', 'Northern District of Florida', 'Middle District of Florida', 'Southern District of Florida', 'Northern District of Georgia', 'Middle District of Georgia', 'Southern District of Georgia', 'District of Guam', 'District of Hawaii', 'District of Idaho', 'Northern District of Illinois', 'Central District of Illinois', 'Southern District of Illinois', 'Northern District of Indiana', 'Southern District of Indiana', 'Northern District of Iowa', 'Southern District of Iowa', 'District of Kansas', 'Eastern District of Kentucky', 'Western District of Kentucky', 'Eastern District of Louisiana', 'Middle District of Louisiana', 'Western District of Louisiana', 'District of Maine', 'District of Maryland', 'District of Massachusetts', 'Eastern District of Michigan', 'Western District of Michigan', 'District of Minnesota', 'Northern District of Mississippi', 'Southern District of Mississippi', 'Eastern District of Missouri', 'Western District of Missouri', 'District of Montana', 'District of Nebraska', 'District of Nevada', 'District of New Hampshire', 'District of New Jersey', 'District of New Mexico', 'Eastern District of New York', 'Northern District of New York', 'Southern District of New York', 'Western District of New York', 'Eastern District of North Carolina', 'Middle District of North Carolina', 'Western District of North Carolina', 'District of North Dakota', 'District of the Northern Mariana Islands', 'Northern District of Ohio', 'Southern District of Ohio', 'Eastern District of Oklahoma', 'Northern District of Oklahoma', 'Western District of Oklahoma', 'District of Oregon', 'Eastern District of Pennsylvania', 'Middle District of Pennsylvania', 'Western District of Pennsylvania', 'District of Puerto Rico', 'District of Rhode Island', 'District of South Carolina', 'District of South Dakota', 'Eastern District of Tennessee', 'Middle District of Tennessee', 'Western District of Tennessee', 'Eastern District of Texas', 'Northern District of Texas', 'Southern District of Texas', 'Western District of Texas', 'District of Utah', 'District of Vermont', 'District of the Virgin Islands', 'Eastern District of Virginia', 'Western District of Virginia', 'Eastern District of Washington', 'Western District of Washington', 'Northern District of West Virginia', 'Southern District of West Virginia', 'Eastern District of Wisconsin', 'Western District of Wisconsin', 'District of Wyoming']