-
Notifications
You must be signed in to change notification settings - Fork 3
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
Check bills in 116hr5150 for related bills #32
Comments
For text match, see https://github.com/govtrack/govtrack.us-web/blob/master/analysis/text_incorporation.py Also look at Library of Congress categorization |
The Mar-A-Lago Act (https://www.govinfo.gov/bulkdata/BILLS/116/1/hr/BILLS-116hr1736ih.xml) has, in section 2:
Compare to section 602 of 116hr5150 (https://www.govinfo.gov/bulkdata/BILLS/116/1/hr/BILLS-116hr5150ih.xml#toc-HA6E5D41CA4604496A974391D8D3EAF02):
|
The text of these two sections differs significantly. One way to match them would be to capture unusual phrases that are found in both, especially in the headings 'IMPROVING ACCESS TO INFLUENTIAL ... VISITOR ACCESS RECORDS" |
The 'more_like_this' query in the Elasticsearch branch returns these bills as the top matches in the 113-115th Congresses for the text in section 2 of 116hr1736ih, with the first four much higher similarity scores: ['115s953',
'115s721',
'115hr1711',
'115hr7236',
'115hr512',
'115hr512',
'114hr5166',
'114hr5166',
'115hr512',
'115s242'] With the 116th Congress included, the top matches are: ['115s953',
'116hr1736',
'116s769',
'115s721',
'115hr1711',
'115hr7236',
'115hr512',
'115hr512',
'114hr5166',
'114hr5166'] This does match s769 and other Acts that deal with White House visitor logs, but does not include 116hr5150. |
On the other hand, matching section 602 of 116hr5150 yields the following matches, including '116hr1736' and '116s769': ['115s721',
'115hr1711',
'115s953',
'116hr1736',
'116s769',
'115hr4009',
'115hr4009',
'115hr4009',
'hr4009',
'115s1954'] |
Section 602 incorporates Mar A Lago Act => (s769, hr1736)
https://flatgov.linkedlegislation.com/bills/116s769
The text was updated successfully, but these errors were encountered: