Repository navigation
Find set-aside motions in a case's court events - #1834
Merged
Merged
Conversation
A case with a motion to set aside already filed is before the court: it needs no new paperwork, and it leaves OECI once the motion is granted. The crawler reads the latest set-aside motion from the case's other events, and whether a later order of denial or a withdrawal resolved it. Only events after the latest motion resolve it, so an old denial leaves a refiled motion open. An open motion parks the case's eligible charges under "Motion Previously Filed", a blue section ahead of Needs More Analysis on the summary panel and in the summary PDF, and the paperwork skips the case with a bullet on the OSP form's warnings sheet. A denied or withdrawn motion changes no eligibility; the case shows the dates, the PDF prints them once under the case, and the case's new motion carries the sentence on its warnings sheet. The case editor sets the state by hand: None, Filed, Denied, or Withdrawn, with the dates. The design and the OECI findings behind it are in set-aside-motion-project/. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Codacy runs pydocstyle with D212 and D213 both on, so any multi-line docstring fails one of them. The new docstrings are one sentence each, with the rest of the text in a comment below. The probe script writes under the system temp directory instead of a literal /tmp path. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A case with a motion to set aside already filed is in the court's hands. It needs no new paperwork, and it disappears from OECI once the motion is granted. RecordSponge has treated such a case like any other: eligible, in "Eligible Now", and filed again by "Generate Paperwork".
The restitution flag was the template at every layer. The merger's label override is the hinge: once the charges carry the status, the summarizer, badges, PDF, and paperwork filter follow.
The design and the OECI findings behind it (event wording per county, the refile case, the false positives) are in
set-aside-motion-project/. Real names and case numbers stay in its ignoredprivate/folder.Out of scope
Test plan
tests/test_set_aside_motion.pyfor the merged record through the summary, serializer, editor, paperwork, and PDF.Record/setAsideMotion.test.tsxfor the sentence, the banner, and the editor controls.🤖 Generated with Claude Code