1. Python code (maybe best as a function?) 2. related Docassemble screens This is related to the project in https://arxiv.org/abs/2311.04911 (JusticeBot). See code here: https://colab.research.google.com/drive/1LHCRvBvlOQTW-0qwK3EUhJx8JqyXQo8s?usp=sharing