Giter VIP home page Giter VIP logo

courtbot's People

Contributors

ashlux avatar brendanbabb avatar btrott18 avatar chimchim237 avatar faeranne avatar getabetterpic avatar jdungan avatar maxehnert avatar nigelkibodeaux avatar pipakin avatar samhashemi avatar tescher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

courtbot's Issues

Home Page

The courbot home page should have some instructions on how it works, etc.

Add next court case information with initial subscription confirmation

When we send the initial subscription confirmation to a client, if we have already found a matching court case and it already has upcoming events, include information about the next event in the subscription confirmation message.

Something to the effect of 'We found you have an event on description: . We'll send you a reminder the day before for this and any upcoming events related to the case'

Admin views

We need some admin pages to be able to edit users, review message queues.

(I'll admit to django-envy here)

Add form for entering case data

Provide a form that captures the following information and saves that to the CourtbotDB

  1. Case number
  2. Client name
  3. Client phone number (and other interested parties' phone numbers)

Allow clients to self sign-up

Default courtbot allows clients to self-subscribe to notifications by texting the service with a case number. Courtbot then searches data from a csv file to find their case information.

To get this up and running for our purposes, we need to replace the loadData function that loads CSV data to point to OSCN data.

Add digest email for users

Add a daily email to users of the application informing them of any need-to-know information, in particular to ensure that the service doesn't fail silently.

Include any failed messages, failures to find events for clients and parties, and any other such fail conditions so that they can be addressed.

Determine schedule for sending messages

Talk to Jill to see how far in advance she would like text messages to be sent and how many she would like to have sent to them before she is notified that they have not confirmed they received the messages (see #17).

Determine how often follow-up messages should be sent for this scenario.

Future reminders

Ideas for future reminders:

  1. Paying fines
  2. Probation officer (on assignment?, meetings?)
  3. DA fees
    4 DUI School (?)

Add documentation

Add documentation, including:

[ ] Specifications on Courtbot behavior
[ ] Specifications on Courtbot installation
[ ] Specifications on interface for public defenders' office

Add disclaimer

Need to have a message to the user that reminders are best effort and we are can't guarantee 100%

Add logging

In particular, we want to record all events and be able to show the history of interactions and messages sent to clients.

Add support for confirming receipt of messages

Have reminders for defendants registered by a public defender (see #15) solicit a confirmation message that they have received the reminder.

Have follow-up text messages sent a number of times to be determined until confirmation is received.

Create default reply

Sending a non-case gets no reply. We should send back a request for a case and a link to more info.

Future Features

  1. Public transit information for getting to appointments and court date
  2. List of employers
  3. Payment gamification
  • At least something to give them encouragement and show progress on paying down fines

Add authentication

Current code automates the creation of the intial method. We want public defenders to be able to add new clients.

I am looking at adding the passport-local library which means:

  1. npm installing passport-local
  2. creating routes for login
  3. html pages for login
  4. some simple method for admining the users

Add case numbers to messages

The message I received had a link to OSCN but not the original case number. It would be helpful to have a link to the OSCN case information. This may not exist in all reminders.

Add templates

Tulsa's courtbot will include interaction with public defenders.

Need to add jade or some other template engine to make this easier

Abstract the messages

Current message are ANC specific. We need a layer of abstraction for

  1. Easier management of TUL specific messages
  2. Make courtbot easier for other cities
  3. First step toward localization

Set up interface to abstract out retrieving case data

In order to make courtbot more court-system agnostic, allowing other cities to easily implement courtbot for their own use, create an interface for retrieving case data to be implemented in a separate solution.

The interface will have two operations:

  1. Get all parties for a case number
  2. Get all events for a party and case number

Ensure that implementers of this API return court date information in ascending order and exclude past events.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.