Let one screener answer fill several check inputs
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start by tracing InputSchemaService.transformIncomeAssessmentsSchema and FormDataTransformer.expandIncomeAssessments, the existing special case introduced by PR #549. Follow how form-js field keys and check input paths control answered-question hiding, then inspect the AI drafting prompt. Done means a general binding approach supports copied and derived answers and makes the approximation visible in results; the issue leaves those design choices open.
Written by the indexing model from the issue text.
Description
Problem
The builder asks exactly one question per unique input path. When checks need the same fact under different paths, screeners repeat questions. For example, one check might read people.client.dateOfBirth while another reads an age, or programs might prepare the same household's income under different rules.
Branch #549 added a special case for income. Library checks key incomeAssessments by program basis (paLiheap, pecoCap, …). The builder asks incomeAssessments.annualIncome and incomeAssessments.householdSize once (InputSchemaService.transformIncomeAssessmentsSchema) and copies the answers to every basis before evaluation (FormDataTransformer.expandIncomeAssessments). Without that, a screener with every utility benefit would ask for income seven times.
Goal
Generalize this so one form field can supply several input paths, either declared by the library (path equivalences or derivations) or chosen in the builder. AI drafting could then reduce questions across benefits instead of only ordering them.
Considerations
- A shared answer approximates programs whose rules differ, such as income exclusions or household membership. Decide when that approximation is acceptable and how results should communicate it.
- Bindings involve form-js field keys,
FormDataTransformer, the check input paths used to hide answered questions, and the AI drafting prompt. - Derived values (age from date of birth) differ from copied values (the same income for several bases).
- Dominant language
- Java
- Stars
- 16
- Forks
- 5
- Avg merge
- 16h 37m
- Merged PRs (30d)
- 20
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CodeForPhilly/benefit-decision-toolkit
-
frontend quick win
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
CodeForPhilly/benefit-decision-toolkit#571 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
CodeForPhilly/benefit-decision-toolkit#565 ·
Maintainers usually reply within 1 day
-
backend Good for newcomer quick win
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
CodeForPhilly/benefit-decision-toolkit#562 ·
Maintainers usually reply within 1 day
-
documentation quick win
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CodeForPhilly/benefit-decision-toolkit#445 ·
Maintainers usually reply within 1 day
-
Make issue templatesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
CodeForPhilly/benefit-decision-toolkit#425 ·
Maintainers usually reply within 1 day
All issues in CodeForPhilly/benefit-decision-toolkit
Similar issues
-
Optimize consumer version heatmap aggregation to avoid repeated scansPossibly taken @praykaria31 claimed this today. Opentype/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Apicurio/apicurio-registry#10662 · 1 comment ·
Maintainers usually reply within 1 day
-
a:false-positive
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
status: waiting-for-triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
spring-projects/spring-boot#52347 ·
Maintainers usually reply within 2 days
-
bug untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
opensearch-project/opensearch-migrations#3480 ·
Maintainers usually reply within 2 days
-
enhancement feature
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
rsp777/service-pulse-app#28 ·