Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Front-end Updates for Policy2Code project #2009

Open
rachel-lawrie opened this issue Sep 6, 2024 · 0 comments · May be fixed by #2010
Open

Front-end Updates for Policy2Code project #2009

rachel-lawrie opened this issue Sep 6, 2024 · 0 comments · May be fixed by #2010

Comments

@rachel-lawrie
Copy link
Collaborator

  1. User hovers on information bubble next to each benefit
    “Explain with AI” button appears
  2. User clicks on button
    Get request is made to new get_tracer endpoint and passes the following:
    country_id: str,
    household_id:
    int, api_version:
    str, variable_name:
    str, policy_id: int
    Computation log is returned
  3. Call is then made to API endpoint associated w/ analysis.py file and passes the following values:
    Variable, value, computation_log
    Response is returned
  4. Response is then displayed to user in a modal
@rachel-lawrie rachel-lawrie linked a pull request Sep 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

1 participant