Journal DOI 10.68956/journal.international-computational-law

CodeX Source Archive · Release 1.0 · Tutorial or course record

Video Tutorial: Using Conditional Logic in Docassemble Interviews

Sam Harden

Originally published 2019-12-06Computational Law ReportCC BY 4.0367 extracted words

MIT Computational Law Report • Release 1.0 Video Tutorial: Using Conditional Logic in Docassemble Interviews Sam Harden Published on: Dec 06, 2019 URL: https://law.mit.edu/pub/usingconditionallogicindocassembleinterviews License: Creative Commons Attribution 4.0 International License (CC-BY 4.0)

MIT Computational Law Report • Release 1.0 Video Tutorial: Using Conditional Logic in Docassemble Interviews Video Visit the web version of this article to view interactive content. Using Conditional Logic in Docassemble Interviews Overview Docassemble is a free, open-source expert system for guided interviews and document assembly, based on Python, YAML, and Markdown. Docassemble has strong implications for the potential of computational law because it is a free and straightforward tool for computing legal processes and legal functions. This lesson provides an overview about how to use conditional logic Docassemble interview. Complete these steps and it is possible to start creating more dynamic user interviews to automate increasingly sophisticated tasks. Note: Steps are organized based on the software that is used to perform each step. Just in case you lose your place and have to start over, we have included a link to the specific place in the video where each step takes place. Microsoft Word 1. Replace name of judicial circuit, county, from previous template. (Link) Docassemble 2. Open previous example interview, when you upload the new version of the template, there are now Undefined names for “circuit” and “county.” (Link) 3. Update questions to incorporate questions for the conditional logic. Here, you will create a question, add information for fields, and add a series of choices for the possible counties that can be used (Link) Note: Conditional logic is a way to use features to determine which outcome a situation requires 4. How fields assign values (Link) 5. How logic blocks work in python (Link) Note: Some basic information about conditional logic is available on wikipedia. More information about programming in Python is available at Automate the Boring Stuff.

MIT Computational Law Report • Release 1.0 Video Tutorial: Using Conditional Logic in Docassemble Interviews Want to learn more about what Sam Harden is up to? Follow his latest work on his youtube channel, LegalTech School or check out his website samharden.github.io