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

Break down summary into multiple components. #112

Open
maxachis opened this issue Feb 2, 2024 · 0 comments
Open

Break down summary into multiple components. #112

maxachis opened this issue Feb 2, 2024 · 0 comments

Comments

@maxachis
Copy link
Collaborator

maxachis commented Feb 2, 2024

Enhancement

What needs done

Modify summary queries such that results are broken down into a consistent json file format containing the following keys:

  • "paragraph_summary": A paragraph-length summary of the bill, more or less equivalent to the summaries as they are given now, absent where information in those summaries are presented in the other sections
  • "sentence_summary": A single-sentence summary for quick perusal.
  • "takes_effect": When the bill takes effect (for example, 60 days after being passed)
  • "legislation_affected": What, if any, existing legislation is impacted by this legislation.

Why it needs done

Summaries at present reliably include a regular set of information: Who introduced the bill, when it takes effect, what (if any) existing legislation it affects, and its overall purpose. Breaking these components into separate components will aid search and perusal of information.

Additionally, a one-sentence summary would likely be useful in addition to a more in-depth paragraph-length summary, as it can allow people to examine the summary at a glance. An even shorter "summary title" might be useful, although this may overlap too much with a single-sentence summary.

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

No branches or pull requests

1 participant