PolicyEngine / PolicyEngine/policyengine-gpt

Missed first child element in prompt about doubling UC child element

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1
Forks
0
Avg merge
24m
Merged PRs (30d)
1

Description

I provided the prompt:

If I double the Universal Credit child element, how would it affect deep child poverty?

and it only changed the main UC child element, not the higher amount for first children:

image

This is somewhat reasonable and we should probably make the PolicyEngine UK code clearer.

A more explicit prompt worked (I verified that the deep child poverty impact is the same):

If I double the Universal Credit child element (first and other), how would it affect deep child poverty?

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the two prompts described in the issue and inspect the PolicyEngine UK handling of the Universal Credit child element, including the higher first-child amount. Done means the shorter prompt accounts for both first and other child elements and produces the same deep child poverty impact as the explicit prompt.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.