-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More enhancements to "I'm now following" posts #332
Comments
Another change we should do is to include the initial complaint, not just photos of it. So, it should say:
In bankruptcy cases (I'm sorry, not sorry), these are called the "petition", so we'll have:
I think we still have space for that! This came up recently when somebody replied to our "I'm now following..." post with a link to the complaint. I was like, what? |
@mlissner looking at this, but I have a question. For something like
Option 1 seems like the better one to me, but I'm not sure how you folks feel about messing with database schema (and potentially ugly backfill code). |
Yeah, good questions, we could:
I think tweaking the DB and taking the third option is fine. We don't need to backfill, and it keeps the python code tidy. Works for me. @ERosendo, what do you think? |
@mlissner for your other request, how do I trace a new case back to its initial complaint? Would it just be the earliest item CL with the same docket#? (Sorry, not a lawyer 😆) As well I'm assuming that you wouldn't want to show the complaint link if this item IS the initial complaint, right? |
It's already finding the initial complaint and adding it as screenshots on the "I'm now following" posts. I think just use the same document as the one we're using for thumbnails? (Sorry, I forget how that area of the code works, but I think you should have the info you need already in there.) |
Most of our "I'm now following" posts are around the time the case comes out. After that, it's in auto-drive mode, and it posts about whatever docs are filed in a given moment. So..I'm not sure I understand your question, sorry! |
Sorry for not being clear: I was referring to this:
So maybe I'm just confused what "initial complaint" means here? |
I'm very sorry for joining the conversation this late.
I don't think we need to store the |
@TheCleric we have a helper function named bigcases2/bc/subscription/utils/courtlistener.py Lines 150 to 190 in 4c629d2
|
The bot uses various pre-defined messages to create posts within channels. These messages can be categorized into two main groups:
The initial complaint is typically part of the case from the beginning so the bot won't create a This issue focuses on tweaking the first group, the |
@TheCleric I'm pretty sure it means we should add the link to the "initial complaint" within the message template, right @mlissner? |
This is what I was thinking. Thanks for confirming. |
Also it looks like to test any of this I would need access to the CL API. I signed up for an account and got an API key, but I don't think I have access to the right endpoints (such as the recap-documents one). I completely get not wanting to hand that out. Please advise on how you would like to handle. |
Totally. I just granted access to your account. Thank you! |
feat(templates): Enhance I'm Now Following [#332]
I just added a new case for the bot to follow and it dutifully sent out an "I'm now following..." tweet. That's good, but there's a bit of missing context: The bot wasn't following the case until just recently, even though the case was opened over a year ago.
We should add a date stamp to the "I'm now following..." tweets for any case that's older than a month. This should be easy. Just get the date_filed field from the docket object via the API, do a comparison, and then add that bit of context, if needed.
The NYT times does this on its older articles. When you read them, there's a warning at the top that they're old. I think the Guardian does something like this too.
The text was updated successfully, but these errors were encountered: