Skip to content

amending interview control variables - #4

Open
mnfurey25 wants to merge 21 commits into
mainfrom
interview_flow_variables
Open

amending interview control variables#4
mnfurey25 wants to merge 21 commits into
mainfrom
interview_flow_variables

Conversation

@mnfurey25

Copy link
Copy Markdown
Collaborator

The following changes interview control variables to order questions and add conditional pages.

@mnfurey25
mnfurey25 marked this pull request as draft July 9, 2026 00:55
@travissouthard

Copy link
Copy Markdown
Member

Hi @mnfurey25, this is marked as a draft. I assume that indicates it's not quite ready yet?

@mnfurey25

Copy link
Copy Markdown
Collaborator Author

Hi @travissouthard, thank you so much! I recently added a few more commits, that makes this PR ready to review, including some questions for the review answers page. I can remove the draft label and follow up with another PR that extends the review answers page.

@mnfurey25
mnfurey25 marked this pull request as ready for review July 14, 2026 19:03
@mnfurey25
mnfurey25 requested a review from travissouthard July 14, 2026 19:04

@travissouthard travissouthard left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great @mnfurey25! I was especially delighted to see you add to the review section! A lot is moving much more smoothly, but a few notes below.

yesno: fileAppeal
---
mandatory: fileAppeal == True
mandatory: fileAppeal

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried answering no to filing an appeal but still landed on this page.
Is that a fluke?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not seeing this behavior with the new template letter for this PR. I changed some variables in the template letter so that the interview did not interpret these as required.

Comment on lines +152 to 163
Appraisal
subquestion: |
Generally, an appraisal is a strong basis for an appeal. If you have a recent appraisal showing a lower home value than the City's assessment, you can appeal on that basis alone, and there is no need for you to answer any other questions. However, if you would like to answer other questions, you may do so.
Generally, an appraisal is a strong basis for an appeal. If you have a recent appraisal showing a lower home value than the City's assessment, you can appeal on that basis alone, and there is no need for you to answer any other questions. However, if you would like to answer other questions, you may do so.
fields:
- "Did you have an appraisal within the past 3 years showing a home value lower than the assessed value?": had_appraisal
datatype: yesnoradio
- Please upload a picture of your appraisal.: appraisal_document
datatype: file
show if: had_appraisal
- What was the appraisal amount?: appraisal_value
show if: had_appraisal
---

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I answered no to "Do you want to file an appeal?" and still filled out the info in the owner info form, answering "no" to having had an appeal freezes it, but answering yes and uploading a document still works.

Comment thread property-tax-appeal/Tax_Appeal.yml Outdated
* Number of Rooms: ${ home_data['number_of_rooms'] }
* Number of Stories: ${ home_data['number_stories'] }
* Fireplaces: ${ home_data['fireplaces'] }
* Central Air (Y for Yes, N for No): ${ home_data['central_air'] }

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than adding "(Y for Yes, N for No)" it would be friendlier to have the answer render with ${ "Yes" if home_data["central_air"] == "Y" else "No" } so that it just shows them "Yes" or "No"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. This was changed with a recent commit.

Comment thread property-tax-appeal/Tax_Appeal.yml Outdated
Comment on lines +347 to +354
- Review Applicant First Name: client.name.first
button: |
You said
${ client.name.first }.
- Review Applicant Last Name: client.name.last
button: |
You said
${ client.name.last }.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for inferring this from answers answers answers! I was delighted to see this.

For each of these, I think it will read easier if we change the button text to:
Applicant First Name: ${ client.name.first }
or
Applicant Last Name: ${ client.name.last }

And without a period at the end just to avoid any visual clutter

Image

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course! It made sense to me. :)

I agree, I changed the labels on the buttons with a recent commit.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the most recent commit, I removed the "You said" language.

Comment thread property-tax-appeal/Tax_Appeal.yml Outdated
mandatory: True
question: |
Please review your answers
Sign your name

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this box should be "Please review your answers" rather than "Sign your name"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. This has been changed with a recent commit.

Comment thread property-tax-appeal/Tax_Appeal.yml Outdated
Comment on lines +519 to +530
---
mandatory: True
code: |
# insert interview logic here
all_done
---
question: |
You have reached the end of the
interview.
subquestion: |
Thank you for your time.
sets: all_done No newline at end of file

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need these sections, however this may be a good place to send people who answer "No" to filing an appeal

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These sections have been condensed with a recent commit.

new_dictionary[row["location"]][key] = val
return new_dictionary
except TypeError:
return {}

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added handling for address type errors.

@travissouthard
travissouthard force-pushed the interview_flow_variables branch from b7eb8d5 to d25c8f6 Compare July 21, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants