codeforamerica / balance

A text message system for checking one's EBT card balance (SNAP benefits and more)
MIT License
47 stars 37 forks source link

Make recording length state-specific (and increase maxLength for MO) #234

Open lippytak opened 9 years ago

lippytak commented 9 years ago

During the GTR2014 we discovered that our recordings occasionally cut off before the friendly robot finishes reading the final balance amount. This is really common for MO but we also saw a few incidents for CA and AK when balances were large.

Once we have state-specific recording length, let's set maxLength for MO, CA, and AK all to 21 seconds. I'm pretty sure this would have covered all of our observed cases.

I also noticed a few states recordings that were unnecessarily long so I'll review and see if we can shorten the wait time on any states.