Assigned Counsel and Fee Waiver Bot

By Matthew T. Morgan, Jr.

I wrote a bot, and you can find it here. To write my bot, we used a tool called QnA Markup. Basically, you create an interactive dicision tree by nesting questions and answers. Here's my code.

User Testing

Initial peer testing results based on an earlier version of my bot:

  1. Resulted in “You may still qualify for a court-appointed attorney.” There is no option for input of income or number in household, or for selecting which type of crime it is. I am not sure if those options do not matter for California, or if they just need to be linked.
  2. Same as 1
  3. Child found indigent, however, doesn’t take into account parents income. Not sure if this is the California rule.
  4. Could condense benefits into one question with all of the programs as choices, rather than having 8 questions. End result: “Congratulations, you are eligible for a fee waiver.”
  5. End result: “Congratulations, you are eligible for a fee waiver.”

Subsequent self testing was done after feedback was incorporated to fix problems mentioned.

Many different variations of this bot have been made to get it to work.

Refinement

Had initial simple bot for basic questions of receiving benefits, hardships, and civil or criminal. Added more options and varied the flowchart based on possible answer choices. Then added equations to calculate the income in relation to the federal poverty guideline, which were later simplified using the fedpov() function provided, which simplified code. Added forms and then a function to help begin fill out forms based on information gathered from the chat bot. Another earlier form of my bots code can be seen here. I contacted a few law firms including Lone Star Legal Aid and private firms with either no response or a rejection.

Real-World Viability

Still needs a complete form to be able to fill out based on answers provided from chat bot. Additionally due to the differences between county rules, it can be fine tuned for use in a particular county, or a small set of counties for specific rules, and not just a general answer with a link for further reading elsewhere.

In [ ]:
 
In [ ]: