Skip to content

Infer Massachusetts courts from verified docket formats - #308

Merged
nonprofittechy merged 7 commits into
mainfrom
ux/05-massachusetts-inference
Oct 10, 2026
Merged

nonprofittechy merged 7 commits into
mainfrom
ux/05-massachusetts-inference

Conversation

@nonprofittechy

Copy link
Copy Markdown
Member

Change

Massachusetts lookup identifies the court for documented District, Superior, and Probate and Family docket formats only when the MACourts mapping and this environment's offered courts identify one Tyler ID. Legacy, unsupported, unavailable, and ambiguous matches retain manual court selection. Users can change an inferred court; Vermont continues asking for court and case number.

Official examples and source URLs are recorded in efile_app/efile/tests/fixtures/massachusetts_dockets.json. The resolver uses the Trial Court's format documentation and the shared catalog's Trial Court-to-Tyler mapping rather than treating those identifiers as interchangeable.

Part 5 of the core stack for #300. Base/dependency: ux/04-existing-case-lookup. Filing-type-only search follows next.

Validation

20 resolver and case-lookup tests passed, including official examples, unavailable courts, ambiguous mappings, and manual fallbacks. Full Python and JavaScript suites and pre-push checks passed.

nonprofittechy and others added 5 commits October 9, 2026 21:01
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The guided court selector was skipped for Massachusetts, so a number that
names no court left filers with the flat court list. The questions now
appear once inference fails, or when the filer chooses Change court, where
they open on the inferred court. A court the selector publishes while it is
starting no longer counts as the filer's choice, so it cannot stop a
verified case number from settling the court.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nonprofittechy
nonprofittechy marked this pull request as ready for review October 10, 2026 02:42
Base automatically changed from ux/04-existing-case-lookup to main October 10, 2026 03:12
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nonprofittechy
nonprofittechy merged commit 8f254bd into main Oct 10, 2026
8 checks passed
@nonprofittechy
nonprofittechy deleted the ux/05-massachusetts-inference branch October 10, 2026 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant