text
stringlengths
13
30k
{"id": "GGSB_NPGDP", "title": "General government structural balance (Percent of potential GDP)", "description": "The structural budget balance refers to the general government cyclically adjusted balance adjusted for nonstructural elements beyond the economic cycle. These include temporary financial sector and asset price movements as well as one-off, or temporary, revenue or expenditure items. The cyclically adjusted balance is the fiscal balance adjusted for the effects of the economic cycle; see, for example, A. Fedelino. A. Ivanova and M. Horton ?Computing Cyclically Adjusted Balances and Automatic Stabilizers? IMF Technical Guidance Note No. 5, http://www.imf.org/external/pubs/ft/tnm/2009/tnm0905.pdf.", "units": "Percent of potential GDP", "scale": null}
{"id": "GGX", "title": "General government total expenditure (National currency)", "description": "Total expenditure consists of total expense and the net acquisition of nonfinancial assets. Note: Apart from being on an accrual basis, total expenditure differs from the GFSM 1986 definition of total expenditure in the sense that it also takes the disposals of nonfinancial assets into account.", "units": "National currency", "scale": "Billions"}
{"id": "GGXCNL", "title": "General government net lending/borrowing (National currency)", "description": "Net lending (+)/ borrowing (?) is calculated as revenue minus total expenditure. This is a core GFS balance that measures the extent to which general government is either putting financial resources at the disposal of other sectors in the economy and nonresidents (net lending), or utilizing the financial resources generated by other sectors and nonresidents (net borrowing). This balance may be viewed as an indicator of the financial impact of general government activity on the rest of the economy and nonresidents (GFSM 2001, paragraph 4.17). Note: Net lending (+)/borrowing (?) is also equal to net acquisition of financial assets minus net incurrence of liabilities.", "units": "National currency", "scale": "Billions"}
{"id": "GGXCNL_NGDP", "title": "General government net lending/borrowing (Percent of GDP)", "description": "Net lending (+)/ borrowing (?) is calculated as revenue minus total expenditure. This is a core GFS balance that measures the extent to which general government is either putting financial resources at the disposal of other sectors in the economy and nonresidents (net lending), or utilizing the financial resources generated by other sectors and nonresidents (net borrowing). This balance may be viewed as an indicator of the financial impact of general government activity on the rest of the economy and nonresidents (GFSM 2001, paragraph 4.17). Note: Net lending (+)/borrowing (?) is also equal to net acquisition of financial assets minus net incurrence of liabilities.", "units": "Percent of GDP", "scale": null}
{"task": "12591886_NewsBlur___24___year_Premium_Account", "input": "[0] Number of Sites [Free Account] Up to 64 sites [$24 / year Premium Account] ", "output": "Unlimited sites", "options": [], "pageTitle": "NewsBlur", "outputColName": "$24 / year Premium Account", "url": "https://newsblur.com/", "wdcFile": "39/1438043062723.96_20150728002422-00192-ip-10-236-191-2_884267327_0.json"}
{"task": "12591886_NewsBlur___24___year_Premium_Account", "input": "[0] River of News [Free Account] Only 5 stories at a time [$24 / year Premium Account] ", "output": "All stories at once", "options": [], "pageTitle": "NewsBlur", "outputColName": "$24 / year Premium Account", "url": "https://newsblur.com/", "wdcFile": "39/1438043062723.96_20150728002422-00192-ip-10-236-191-2_884267327_0.json"}
{"task": "12591886_NewsBlur___24___year_Premium_Account", "input": "[0] Site updates [Free Account] 1X [$24 / year Premium Account] ", "output": "Up to 10X as often", "options": [], "pageTitle": "NewsBlur", "outputColName": "$24 / year Premium Account", "url": "https://newsblur.com/", "wdcFile": "39/1438043062723.96_20150728002422-00192-ip-10-236-191-2_884267327_0.json"}
{"task": "12591886_NewsBlur___24___year_Premium_Account", "input": "[0] Search [$24 / year Premium Account] ", "output": "Search feeds, saved, and shared stories", "options": [], "pageTitle": "NewsBlur", "outputColName": "$24 / year Premium Account", "url": "https://newsblur.com/", "wdcFile": "39/1438043062723.96_20150728002422-00192-ip-10-236-191-2_884267327_0.json"}
{"task": "12591886_NewsBlur___24___year_Premium_Account", "input": "[0] Saved story tagging [Free Account] Only save stories [$24 / year Premium Account] ", "output": "Tag saved stories", "options": [], "pageTitle": "NewsBlur", "outputColName": "$24 / year Premium Account", "url": "https://newsblur.com/", "wdcFile": "39/1438043062723.96_20150728002422-00192-ip-10-236-191-2_884267327_0.json"}
{"task": "12591886_NewsBlur___24___year_Premium_Account", "input": "[0] Privacy [Free Account] Public shares only [$24 / year Premium Account] ", "output": "Public, protected, and private shares", "options": [], "pageTitle": "NewsBlur", "outputColName": "$24 / year Premium Account", "url": "https://newsblur.com/", "wdcFile": "39/1438043062723.96_20150728002422-00192-ip-10-236-191-2_884267327_0.json"}
{"task": "12591886_NewsBlur___24___year_Premium_Account", "input": "[0] Instant Access [Free Account] Wait in a queue [$24 / year Premium Account] ", "output": "Immediate", "options": [], "pageTitle": "NewsBlur", "outputColName": "$24 / year Premium Account", "url": "https://newsblur.com/", "wdcFile": "39/1438043062723.96_20150728002422-00192-ip-10-236-191-2_884267327_0.json"}
{"task": "12591886_NewsBlur___24___year_Premium_Account", "input": "[0] Feed poor Shiloh [Free Account] She goes hungry [$24 / year Premium Account] ", "output": "Home cooked meals of green beans, sweet potatoes, carrots, and brown rice", "options": [], "pageTitle": "NewsBlur", "outputColName": "$24 / year Premium Account", "url": "https://newsblur.com/", "wdcFile": "39/1438043062723.96_20150728002422-00192-ip-10-236-191-2_884267327_0.json"}
{"task": "62c681c6_SEO_reports___Analytics_Help__Term", "input": "[Analytics usage] Used for both AdWords impressions and Google Search impressions [Search Console usage] Used exclusively for Google Search impressions [Term] ", "output": "Impressions", "options": [["I", "m", "p", "r", "e", "s", "s", "i", "o", "n", "s"], ["C", "l", "i", "c", "k", "s"], ["A", "v", "e", "r", "a", "g", "e", " ", "P", "o", "s", "i", "t", "i", "o", "n"], ["C", "T", "R"], ["K", "e", "y", "w", "o", "r", "d"], ["Q", "u", "e", "r", "y"]], "pageTitle": "SEO reports - Analytics Help", "outputColName": "Term", "url": "https://support.google.com/analytics/answer/1308626?hl=en", "wdcFile": "39/1438042988305.14_20150728002308-00126-ip-10-236-191-2_887758285_0.json"}
{"task": "62c681c6_SEO_reports___Analytics_Help__Term", "input": "[Analytics usage] Used for both AdWords clicks and Google Search clicks [Search Console usage] Used exclusively for Google Search clicks [Term] ", "output": "Clicks", "options": [["I", "m", "p", "r", "e", "s", "s", "i", "o", "n", "s"], ["C", "l", "i", "c", "k", "s"], ["A", "v", "e", "r", "a", "g", "e", " ", "P", "o", "s", "i", "t", "i", "o", "n"], ["C", "T", "R"], ["K", "e", "y", "w", "o", "r", "d"], ["Q", "u", "e", "r", "y"]], "pageTitle": "SEO reports - Analytics Help", "outputColName": "Term", "url": "https://support.google.com/analytics/answer/1308626?hl=en", "wdcFile": "39/1438042988305.14_20150728002308-00126-ip-10-236-191-2_887758285_0.json"}
{"id": "0", "tokens": ["Identification", "of", "APC2", ",", "a", "homologue", "of", "the", "adenomatous", "polyposis", "coli", "tumour", "suppressor", "."], "ner_tags": [0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 0, 0]}
{"id": "1", "tokens": ["The", "adenomatous", "polyposis", "coli", "(", "APC", ")", "tumour", "-", "suppressor", "protein", "controls", "the", "Wnt", "signalling", "pathway", "by", "forming", "a", "complex", "with", "glycogen", "synthase", "kinase", "3beta", "(", "GSK", "-", "3beta", ")", ",", "axin", "/", "conductin", "and", "betacatenin", "."], "ner_tags": [0, 1, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"id": "2", "tokens": ["Complex", "formation", "induces", "the", "rapid", "degradation", "of", "betacatenin", "."], "ner_tags": [0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"id": "3", "tokens": ["In", "colon", "carcinoma", "cells", ",", "loss", "of", "APC", "leads", "to", "the", "accumulation", "of", "betacatenin", "in", "the", "nucleus", ",", "where", "it", "binds", "to", "and", "activates", "the", "Tcf", "-", "4", "transcription", "factor", "(", "reviewed", "in", "[", "1", "]", "[", "2", "]", ")", "."], "ner_tags": [0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"id": "4", "tokens": ["Here", ",", "we", "report", "the", "identification", "and", "genomic", "structure", "of", "APC", "homologues", "."], "ner_tags": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"id": "5", "tokens": ["Mammalian", "APC2", ",", "which", "closely", "resembles", "APC", "in", "overall", "domain", "structure", ",", "was", "functionally", "analyzed", "and", "shown", "to", "contain", "two", "SAMP", "domains", ",", "both", "of", "which", "are", "required", "for", "binding", "to", "conductin", "."], "ner_tags": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"id": "6", "tokens": ["Like", "APC", ",", "APC2", "regulates", "the", "formation", "of", "active", "betacatenin", "-", "Tcf", "complexes", ",", "as", "demonstrated", "using", "transient", "transcriptional", "activation", "assays", "in", "APC", "-", "/", "-", "colon", "carcinoma", "cells", "."], "ner_tags": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0]}
{"id": "7", "tokens": ["Human", "APC2", "maps", "to", "chromosome", "19p13", "."], "ner_tags": [0, 0, 0, 0, 0, 0, 0]}
{"id": "9", "tokens": ["APC", "and", "APC2", "may", "therefore", "have", "comparable", "functions", "in", "development", "and", "cancer", "."], "ner_tags": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0]}
{"text": "1. Two"}
{"text": "1. Three"}
{"text": "1. Five"}
{"text": "1. Eight"}
{"Unnamed: 0": 0, "repo_id": "albert-base-v1", "author": null, "model_type": "albert", "files_per_repo": 9, "downloads_30d": 34634, "library": "transformers", "likes": 2, "pipeline": "fill-mask", "pytorch": true, "tensorflow": true, "jax": false, "license": "apache-2.0", "languages": "['en']", "datasets": "['bookcorpus', 'wikipedia']", "co2": null, "prs_count": 1, "prs_open": 0, "prs_merged": 1, "prs_closed": 0, "discussions_count": 0, "discussions_open": 0, "discussions_closed": 0, "tags": "['pytorch', 'tf', 'safetensors', 'albert', 'fill-mask', 'en', 'dataset:bookcorpus', 'dataset:wikipedia', 'arxiv:1909.11942', 'transformers', 'exbert', 'license:apache-2.0', 'autotrain_compatible', 'has_space']", "has_model_index": false, "has_metadata": true, "has_text": true, "text_length": 9789}
{"Unnamed: 0": 1, "repo_id": "albert-base-v2", "author": null, "model_type": "albert", "files_per_repo": 11, "downloads_30d": 4080716, "library": "transformers", "likes": 55, "pipeline": "fill-mask", "pytorch": true, "tensorflow": true, "jax": true, "license": "apache-2.0", "languages": "['en']", "datasets": "['bookcorpus', 'wikipedia']", "co2": null, "prs_count": 4, "prs_open": 1, "prs_merged": 3, "prs_closed": 0, "discussions_count": 1, "discussions_open": 0, "discussions_closed": 1, "tags": "['pytorch', 'tf', 'jax', 'rust', 'safetensors', 'albert', 'fill-mask', 'en', 'dataset:bookcorpus', 'dataset:wikipedia', 'arxiv:1909.11942', 'transformers', 'license:apache-2.0', 'autotrain_compatible', 'has_space']", "has_model_index": false, "has_metadata": true, "has_text": true, "text_length": 9643}
{"Unnamed: 0": 2, "repo_id": "albert-large-v1", "author": null, "model_type": "albert", "files_per_repo": 9, "downloads_30d": 453, "library": "transformers", "likes": 0, "pipeline": "fill-mask", "pytorch": true, "tensorflow": true, "jax": false, "license": "apache-2.0", "languages": "['en']", "datasets": "['bookcorpus', 'wikipedia']", "co2": null, "prs_count": 1, "prs_open": 1, "prs_merged": 0, "prs_closed": 0, "discussions_count": 0, "discussions_open": 0, "discussions_closed": 0, "tags": "['pytorch', 'tf', 'albert', 'fill-mask', 'en', 'dataset:bookcorpus', 'dataset:wikipedia', 'arxiv:1909.11942', 'transformers', 'license:apache-2.0', 'autotrain_compatible', 'has_space']", "has_model_index": false, "has_metadata": true, "has_text": true, "text_length": 9681}
{"Unnamed: 0": 3, "repo_id": "albert-large-v2", "author": null, "model_type": "albert", "files_per_repo": 9, "downloads_30d": 8914, "library": "transformers", "likes": 11, "pipeline": "fill-mask", "pytorch": true, "tensorflow": true, "jax": false, "license": "apache-2.0", "languages": "['en']", "datasets": "['bookcorpus', 'wikipedia']", "co2": null, "prs_count": 2, "prs_open": 1, "prs_merged": 1, "prs_closed": 0, "discussions_count": 0, "discussions_open": 0, "discussions_closed": 0, "tags": "['pytorch', 'tf', 'safetensors', 'albert', 'fill-mask', 'en', 'dataset:bookcorpus', 'dataset:wikipedia', 'arxiv:1909.11942', 'transformers', 'license:apache-2.0', 'autotrain_compatible', 'has_space']", "has_model_index": false, "has_metadata": true, "has_text": true, "text_length": 9682}
{"Unnamed: 0": 4, "repo_id": "albert-xlarge-v1", "author": null, "model_type": "albert", "files_per_repo": 8, "downloads_30d": 312, "library": "transformers", "likes": 0, "pipeline": "fill-mask", "pytorch": true, "tensorflow": true, "jax": false, "license": "apache-2.0", "languages": "['en']", "datasets": "['bookcorpus', 'wikipedia']", "co2": null, "prs_count": 0, "prs_open": 0, "prs_merged": 0, "prs_closed": 0, "discussions_count": 0, "discussions_open": 0, "discussions_closed": 0, "tags": "['pytorch', 'tf', 'albert', 'fill-mask', 'en', 'dataset:bookcorpus', 'dataset:wikipedia', 'arxiv:1909.11942', 'transformers', 'license:apache-2.0', 'autotrain_compatible', 'has_space']", "has_model_index": false, "has_metadata": true, "has_text": true, "text_length": 9689}
{"Unnamed: 0": 5, "repo_id": "albert-xlarge-v2", "author": null, "model_type": "albert", "files_per_repo": 8, "downloads_30d": 3337, "library": "transformers", "likes": 3, "pipeline": "fill-mask", "pytorch": true, "tensorflow": true, "jax": false, "license": "apache-2.0", "languages": "['en']", "datasets": "['bookcorpus', 'wikipedia']", "co2": null, "prs_count": 1, "prs_open": 1, "prs_merged": 0, "prs_closed": 0, "discussions_count": 0, "discussions_open": 0, "discussions_closed": 0, "tags": "['pytorch', 'tf', 'albert', 'fill-mask', 'en', 'dataset:bookcorpus', 'dataset:wikipedia', 'arxiv:1909.11942', 'transformers', 'license:apache-2.0', 'autotrain_compatible', 'has_space']", "has_model_index": false, "has_metadata": true, "has_text": true, "text_length": 9690}
{"Unnamed: 0": 6, "repo_id": "albert-xxlarge-v1", "author": null, "model_type": "albert", "files_per_repo": 8, "downloads_30d": 4112, "library": "transformers", "likes": 2, "pipeline": "fill-mask", "pytorch": true, "tensorflow": true, "jax": false, "license": "apache-2.0", "languages": "['en']", "datasets": "['bookcorpus', 'wikipedia']", "co2": null, "prs_count": 1, "prs_open": 1, "prs_merged": 0, "prs_closed": 0, "discussions_count": 1, "discussions_open": 1, "discussions_closed": 0, "tags": "['pytorch', 'tf', 'albert', 'fill-mask', 'en', 'dataset:bookcorpus', 'dataset:wikipedia', 'arxiv:1909.11942', 'transformers', 'license:apache-2.0', 'autotrain_compatible', 'has_space']", "has_model_index": false, "has_metadata": true, "has_text": true, "text_length": 9698}
{"Unnamed: 0": 7, "repo_id": "albert-xxlarge-v2", "author": null, "model_type": "albert", "files_per_repo": 9, "downloads_30d": 66399, "library": "transformers", "likes": 10, "pipeline": "fill-mask", "pytorch": true, "tensorflow": true, "jax": false, "license": "apache-2.0", "languages": "['en']", "datasets": "['bookcorpus', 'wikipedia']", "co2": null, "prs_count": 1, "prs_open": 0, "prs_merged": 1, "prs_closed": 0, "discussions_count": 0, "discussions_open": 0, "discussions_closed": 0, "tags": "['pytorch', 'tf', 'safetensors', 'albert', 'fill-mask', 'en', 'dataset:bookcorpus', 'dataset:wikipedia', 'arxiv:1909.11942', 'transformers', 'exbert', 'license:apache-2.0', 'autotrain_compatible', 'has_space']", "has_model_index": false, "has_metadata": true, "has_text": true, "text_length": 9849}
{"Unnamed: 0": 8, "repo_id": "bert-base-cased-finetuned-mrpc", "author": null, "model_type": "bert", "files_per_repo": 8, "downloads_30d": 9166, "library": "transformers", "likes": 0, "pipeline": "fill-mask", "pytorch": true, "tensorflow": true, "jax": true, "license": null, "languages": null, "datasets": null, "co2": null, "prs_count": 0, "prs_open": 0, "prs_merged": 0, "prs_closed": 0, "discussions_count": 0, "discussions_open": 0, "discussions_closed": 0, "tags": "['pytorch', 'tf', 'jax', 'bert', 'fill-mask', 'transformers', 'autotrain_compatible', 'has_space']", "has_model_index": false, "has_metadata": false, "has_text": false, "text_length": 0}
{"Unnamed: 0": 9, "repo_id": "bert-base-cased", "author": null, "model_type": "bert", "files_per_repo": 10, "downloads_30d": 5460024, "library": "transformers", "likes": 117, "pipeline": "fill-mask", "pytorch": true, "tensorflow": true, "jax": true, "license": "apache-2.0", "languages": "['en']", "datasets": "['bookcorpus', 'wikipedia']", "co2": null, "prs_count": 3, "prs_open": 0, "prs_merged": 1, "prs_closed": 2, "discussions_count": 0, "discussions_open": 0, "discussions_closed": 0, "tags": "['pytorch', 'tf', 'jax', 'safetensors', 'bert', 'fill-mask', 'en', 'dataset:bookcorpus', 'dataset:wikipedia', 'arxiv:1810.04805', 'transformers', 'exbert', 'license:apache-2.0', 'autotrain_compatible', 'has_space']", "has_model_index": false, "has_metadata": true, "has_text": true, "text_length": 8891}
{"text": "SECTION 1. MODIFICATIONS OF REPORTING REQUIREMENTS FOR CERTAIN STATE \n AND LOCAL POLITICAL ORGANIZATIONS.\n\n (a) Notification.--Paragraph (5) of section 527(i) of the Internal \nRevenue Code of 1986 (relating to organizations must notify Secretary \nthat they are section 527 organizations) is amended by striking ``or'' \nat the end of subparagraph (A), by striking the period at the end of \nsubparagraph (B) and inserting ``, or'', and by adding at the end the \nfollowing:\n ``(C) which is a political committee of a State or \n local candidate, or a local committee of a political \n party, as defined by State law.''.\n (b) Exemption for Certain State and Local Political Committees From \nReporting Requirements.--\n (1) In general.--Paragraph (5) of section 527(j) of such \n Code (relating to required disclosures of expenditures and \n contributions) is amended by redesignating subparagraphs (C), \n (D), and (E) as subparagraphs (D), (E), and (F), respectively, \n and by inserting after subparagraph (B) the following new \n subparagraph:\n ``(C) to any organization which is an exempt State \n or local political organization,''.\n (2) Exempt state or local political organization.--\n Subsection (e) of section 527 of such Code (relating to other \n definitions) is amended by adding at the end the following new \n paragraph:\n ``(5) Exempt state or local political organization.--\n ``(A) In general.--The term `exempt State or local \n political organization' means a political \n organization--\n ``(i) which does not engage in any exempt \n function other than to influence or to attempt \n to influence the selection, nomination, \n election, or appointment of any individual to \n any State or local public office or office in a \n State or local political organization,\n ``(ii) which is subject to State or local \n requirements to submit reports containing \n information--\n ``(I) regarding individual \n expenditures from and contributions to \n such organization, and\n ``(II) regarding the person who \n makes such contributions or receives \n such expenditures,\n which is substantially similar to the \n information which would otherwise be required \n to be reported under this section, and\n ``(iii) with respect to which the reports \n referred to in clause (ii) are made public by \n the agency with which such reports are filed \n and are publicly available for inspection in a \n manner similar to that required by section \n 6104(d)(1).\n ``(B) Participation of federal candidate or office \n holder.--The term `exempt State or local political \n organization' shall not include any organization \n otherwise described in subparagraph (A) if a candidate \n for nomination or election to Federal elective office \n or an individual who holds such office--\n ``(i) controls or materially participates \n in the direction of the organization, or\n ``(ii) directs, in whole or in part, \n expenditures or fundraising activities of the \n organization.''.\n (c) Annual Return Requirements.--\n (1) Income tax returns required only where political \n organization taxable income.--Paragraph (6) of section 6012(a) \n of such Code (relating to general rule of persons required to \n make returns of income) is amended by striking ``or which has \n gross receipts of $25,000 or more for the taxable year (other \n than an organization to which section 527 applies solely by \n reason of subsection (f)(1) of such section)''.\n (2) Information returns.--Subsection (g) of section 6033 of \n such Code (relating to returns required by political \n organizations) is amended to read as follows:\n ``(g) Returns Required by Political Organizations.--\n ``(1) In general.--Every political organization (within the \n meaning of section 527(e)(1)), and every fund treated under \n section 527(g) as if it constituted a political organization, \n which has gross receipts of $25,000 or more for the taxable \n year shall file a return--\n ``(A) containing the information required, and \n complying with the other requirements, under subsection \n (a)(1) for organizations exempt from taxation under \n section 501(a), and\n ``(B) containing such other information as the \n Secretary deems necessary to carry out the provisions \n of this subsection.\n ``(2) Exceptions from filing.--\n ``(A) Mandatory exceptions.--Paragraph (1) shall \n not apply to an organization--\n ``(i) which is an exempt State or local \n political organization (as defined in section \n 527(e)(5)),\n ``(ii) which is a State or local committee \n of a political party, or political committee of \n a State or local candidate, as defined by State \n law,\n ``(iii) which is a caucus or association of \n State or local elected officials,\n ``(iv) which is a national association of \n State or local officials,\n ``(v) which is an authorized committee (as \n defined in section 301(6) of the Federal \n Election Campaign Act of 1971) of a candidate \n for Federal office,\n ``(vi) which is a national committee (as \n defined in section 301(14) of the Federal \n Election Campaign Act of 1971) of a political \n party, or\n ``(vii) to which section 527 applies for \n the taxable year solely by reason of subsection \n (f)(1) of such section.\n ``(B) Discretionary exception.--The Secretary may \n relieve any organization required under paragraph (1) \n to file an information return from filing such a return \n where he determines that such filing is not necessary \n to the efficient administration of the internal revenue \n laws.''.\n (d) Waiver of Penalties.--Section 527 of such Code is amended by \nadding at the end the following:\n ``(k) Authority To Waive.--The Secretary may waive all or any \nportion of the--\n ``(1) tax assessed on an organization by reason of the \n failure of the organization to give notice under subsection \n (i), or\n ``(2) penalty imposed under subsection (j) for a failure to \n file a report,\non a showing that such failure was due to reasonable cause and not due \nto willful neglect.''.\n (e) Effective Date.--The amendments made by this section shall take \neffect as if included in the amendments made by Public Law 106-230.\n\nSEC. 2. NOTIFICATION OF INTERACTION OF REPORTING REQUIREMENTS.\n\n (a) In General.--The Secretary of the Treasury, in consultation \nwith the Federal Election Commission, shall publicize information on--\n (1) the effect of the amendments made by this Act, and\n (2) the interaction of requirements to file a notification \n or report under section 527 of the Internal Revenue Code of \n 1986 and reports under the Federal Election Campaign Act of \n 1971.\n (b) Information.--Information provided under subsection (a) shall \nbe included in any appropriate form, instruction, notice, or other \nguidance issued to the public by the Secretary of the Treasury or the \nFederal Election Commission regarding reporting requirements of \npolitical organizations (as defined in section 527 of the Internal \nRevenue Code of 1986) or reporting requirements under the Federal \nElection Campaign Act of 1971.\n\nSEC. 3. TECHNICAL CORRECTIONS TO SECTION 527 ORGANIZATION DISCLOSURE \n PROVISIONS.\n\n (a) Unsegregated Funds Not To Avoid Tax.--Paragraph (4) of section \n527(i) of the Internal Revenue Code of 1986 (relating to failure to \nnotify) is amended by adding at the end the following new sentence: \n``For purposes of the preceding sentence, the term `exempt function \nincome' means any amount described in a subparagraph of subsection \n(c)(3), whether or not segregated for use for an exempt function.''.\n (b) Procedures for Assessment and Collection of Penalty.--Paragraph \n(1) of section 527(j) of such Code (relating to required disclosure of \nexpenditures and contributions) is amended by adding at the end the \nfollowing new sentence: ``For purposes of subtitle F, the penalty \nimposed by this paragraph shall be assessed and collected in the same \nmanner as penalties imposed by section 6652(c).''.\n (c) Application of Fraud Penalty.--Section 7207 of such Code \n(relating to fraudulent returns, statements, and other documents) is \namended by striking ``pursuant to subsection (b) of section 6047 or \npursuant to subsection (d) of section 6104'' and inserting ``pursuant \nto section 6047(b), section 6104(d), or subsection (i) or (j) of \nsection 527''.\n (d) Duplicate Electronic and Written Filings Not Required.--\n (1) Subparagraph (A) of section 527(i)(1) of such Code is \n amended by striking ``, electronically and in writing,''.\n (2) Subsection (i) of section 527 of such Code is amended \n by adding at the end the following new paragraph:\n ``(7) Electronic filing.--The Secretary shall develop \n procedures for submission in electronic form of notices \n required to be filed under this subsection and reports required \n to be filed under subsection (j).''.\n (e) Effective Dates.--\n (1) Subsections (a) and (b).--The amendments made by \n subsections (a) and (b) shall apply to failures occurring on or \n after the date of the enactment of this Act.\n (2) Subsections (c) and (d).--The amendments made by \n subsections (c) and (d) shall take effect as if included in the \n amendments made by Public Law 106-230.", "target": "Amends the Internal Revenue Code to: (1) exempt State and local candidate committees, as well as local committees of political parties, from specified notification requirements; (2) exempt certain State and local political organizations from specified reporting requirements; (3) remove language dictating that certain political organizations with gross receipts of $25,000 or more for a taxable year and specified political newsletter funds with such receipts shall file income tax returns; (4) mandate that, with certain designated exceptions, every political organization with gross receipts of $25,000 or more for a taxable year and specified political newsletter funds with such receipts file information returns with specified information including income, receipts and disbursements, as well as facts deemed necessary by the Secretary of the Treasury; (5) authorize the Secretary to waive certain related penalties; and (6) amend related penalty provisions.", "feat_title": "To amend section 527 of the Internal Revenue Code of 1986 to eliminate reporting and return requirements for State and local candidate committees and to avoid duplicate reporting of campaign-related information.", "evaluation_predictions": [0, 86, 48, 710, 1375, 6, 8, 3, 29, 291, 52, 1016, 4277, 7, 8, 2822, 1104, 358, 5, 94, 19, 3665, 16, 8647, 305, 13, 8, 5034, 19764, 4543, 11, 34, 19, 3028, 38, 271, 294, 13, 8, 96, 19812, 23, 106, 13, 1015, 11, 415, 1827, 2371, 535, 37, 126, 1375, 617, 7, 2651, 1151, 769, 6583, 9413, 12, 8, 19841, 30, 5099, 1502, 21, 96, 994, 9045, 538, 42, 16882, 1827, 2371, 121, 250, 79, 33, 96, 152, 1215, 9045, 1827, 1470, 976, 2530, 24, 150, 1157, 1470, 54, 2860, 136, 4356, 42, 4356, 42, 1764, 139, 8, 452, 828, 117, 2459, 6, 8, 1353, 560, 96, 15601, 23, 122, 257, 31, 7, 1205, 1502, 535, 37, 1108, 92, 4277, 7, 72, 1030, 81, 125, 8, 1181, 18, 134, 15, 1538, 159, 51, 1291, 65, 118, 7546, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"text": "SECTION 1. SHORT TITLE.\n\n This title may be cited as the ``Temporary Emergency Unemployment \nCompensation Act of 2001''.\n\nSEC. 2. FEDERAL-STATE AGREEMENTS.\n\n (a) In General.--Any State which desires to do so may enter into \nand participate in an agreement under this title with the Secretary of \nLabor (in this title referred to as the ``Secretary''). Any State which \nis a party to an agreement under this title may, upon providing 30 days \nwritten notice to the Secretary, terminate such agreement.\n (b) Provisions of Agreement.--Any agreement under subsection (a) \nshall provide that the State agency of the State will make payments of \ntemporary emergency unemployment compensation to individuals who--\n (1) have exhausted all rights to regular compensation under \n the State law;\n (2) have no rights to compensation (including both regular \n compensation and extended compensation) with respect to a week \n under such law or any other State unemployment compensation law \n or to compensation under any other Federal law (and are not \n paid or entitled to be paid any additional compensation under \n any State or Federal law); and\n (3) are not receiving compensation with respect to such \n week under the unemployment compensation law of Canada.\n (c) Exhaustion of Benefits.--For purposes of subsection (b)(1), an \nindividual shall be deemed to have exhausted such individual's rights \nto regular compensation under a State law when--\n (1) no payments of regular compensation can be made under \n such law because such individual has received all regular \n compensation available to such individual based on employment \n or wages during such individual's base period; or\n (2) such individual's rights to such compensation have been \n terminated by reason of the expiration of the benefit year with \n respect to which such rights existed.\n (d) Weekly Benefit Amount.--For purposes of any agreement under \nthis title--\n (1) the amount of temporary emergency unemployment \n compensation which shall be payable to any individual for any \n week of total unemployment shall be equal to the amount of the \n regular compensation (including dependents' allowances) payable \n to such individual during such individual's benefit year under \n the State law for a week of total unemployment;\n (2) the terms and conditions of the State law which apply \n to claims for regular compensation and to the payment thereof \n shall apply to claims for temporary emergency unemployment \n compensation and the payment thereof, except where inconsistent \n with the provisions of this title or with the regulations or \n operating instructions of the Secretary promulgated to carry \n out this title; and\n (3) the maximum amount of temporary emergency unemployment \n compensation payable to any individual for whom a temporary \n emergency unemployment compensation account is established \n under section 3 shall not exceed the amount established in such \n account for such individual.\n (e) Election by States.--Notwithstanding any other provision of \nFederal law (and if State law permits), the Governor of a State is \nauthorized and may elect to trigger off an extended compensation period \nin order to provide payment of temporary emergency unemployment \ncompensation to individuals who have exhausted their rights to regular \ncompensation under State law.\n\nSEC. 3. TEMPORARY EMERGENCY UNEMPLOYMENT COMPENSATION ACCOUNT.\n\n (a) In General.--Any agreement under this title shall provide that \nthe State will establish, for each eligible individual who files an \napplication for temporary emergency unemployment compensation, a \ntemporary emergency unemployment compensation account with respect to \nsuch individual's benefit year.\n (b) Amount in Account.--\n (1) In general.--The amount established in an account under \n subsection (a) shall be equal to 13 times the individual's \n average weekly benefit amount for the benefit year.\n (2) Reduction for extended benefits.--The amount in an \n account under paragraph (1) shall be reduced (but not below \n zero) by the aggregate amount of extended compensation (if any) \n received by such individual relating to the same benefit year \n under the Federal-State Extended Unemployment Compensation Act \n of 1970 (26 U.S.C. 3304 note).\n (3) Weekly benefit amount.--For purposes of this \n subsection, an individual's weekly benefit amount for any week \n is the amount of regular compensation (including dependents' \n allowances) under the State law payable to such individual for \n such week for total unemployment.\n\nSEC. 4. PAYMENTS TO STATES HAVING AGREEMENTS FOR THE PAYMENT OF \n TEMPORARY EMERGENCY UNEMPLOYMENT COMPENSATION.\n\n (a) General Rule.--There shall be paid to each State that has \nentered into an agreement under this title an amount equal to 100 \npercent of the temporary emergency unemployment compensation paid to \nindividuals by the State pursuant to such agreement.\n (b) Treatment of Reimbursable Compensation.--No payment shall be \nmade to any State under this section in respect of any compensation to \nthe extent the State is entitled to reimbursement in respect of such \ncompensation under the provisions of any Federal law other than this \ntitle or chapter 85 of title 5, United States Code. A State shall not \nbe entitled to any reimbursement under such chapter 85 in respect of \nany compensation to the extent the State is entitled to reimbursement \nunder this title in respect of such compensation.\n (c) Determination of Amount.--Sums payable to any State by reason \nof such State having an agreement under this title shall be payable, \neither in advance or by way of reimbursement (as may be determined by \nthe Secretary), in such amounts as the Secretary estimates the State \nwill be entitled to receive under this title for each calendar month, \nreduced or increased, as the case may be, by any amount by which the \nSecretary finds that the Secretary's estimates for any prior calendar \nmonth were greater or less than the amounts which should have been paid \nto the State. Such estimates may be made on the basis of such \nstatistical, sampling, or other method as may be agreed upon by the \nSecretary and the State agency of the State involved.\n\nSEC. 5. FINANCING PROVISIONS.\n\n (a) In General.--Funds in the extended unemployment compensation \naccount (as established by section 905(a) of the Social Security Act \n(42 U.S.C. 1105(a)) of the Unemployment Trust Fund (as established by \nsection 904(a) of such Act (42 U.S.C. 1104(a)) shall be used for the \nmaking of payments to States having agreements entered into under this \ntitle.\n (b) Certification.--The Secretary shall from time to time certify \nto the Secretary of the Treasury for payment to each State the sums \npayable to such State under this title. The Secretary of the Treasury, \nprior to audit or settlement by the General Accounting Office, shall \nmake payments to the State in accordance with such certification, by \ntransfers from the extended unemployment compensation account (as so \nestablished) to the account of such State in the Unemployment Trust \nFund (as so established).\n (c) Assistance to States.--There are appropriated, without fiscal \nyear limitation, such funds as may be necessary for purposes of \nassisting States (as provided in title III of the Social Security Act \n(42 U.S.C. 501 et seq.) in meeting the costs of administration of \nagreements under this title.\n (d) Authorization of Appropriations for Certain Payments.--There \nare appropriated from the general fund of the Treasury, without fiscal \nyear limitation, to the extended unemployment compensation account (as \nso established) of the Unemployment Trust Fund (as so established) such \nsums as the Secretary estimates to be necessary to make the payments \nunder this section in respect of--\n (1) compensation payable under chapter 85 of title 5, \n United States Code; and\n (2) compensation payable on the basis of services to which \n section 3309(a)(1) of the Internal Revenue Code of 1986 \n applies.\nAmounts appropriated pursuant to the preceding sentence shall not be \nrequired to be repaid.\n\nSEC. 6. FRAUD AND OVERPAYMENTS.\n\n (a) In General.--If an individual knowingly has made, or caused to \nbe made by another, a false statement or representation of a material \nfact, or knowingly has failed, or caused another to fail, to disclose a \nmaterial fact, and as a result of such false statement or \nrepresentation or of such nondisclosure such individual has received an \namount of temporary emergency unemployment compensation under this \ntitle to which he was not entitled, such individual--\n (1) shall be ineligible for further temporary emergency \n unemployment compensation under this title in accordance with \n the provisions of the applicable State unemployment \n compensation law relating to fraud in connection with a claim \n for unemployment compensation; and\n (2) shall be subject to prosecution under section 1001 of \n title 18, United States Code.\n (b) Repayment.--In the case of individuals who have received \namounts of temporary emergency unemployment compensation under this \ntitle to which they were not entitled, the State shall require such \nindividuals to repay the amounts of such emergency unemployment \ncompensation to the State agency, except that the State agency may \nwaive such repayment if it determines that--\n (1) the payment of such emergency unemployment compensation \n was without fault on the part of any such individual; and\n (2) such repayment would be contrary to equity and good \n conscience.\n (c) Recovery by State Agency.--\n (1) In general.--The State agency may recover the amount to \n be repaid, or any part thereof, by deductions from any \n temporary emergency unemployment compensation payable to such \n individual under this title or from any unemployment \n compensation payable to such individual under any Federal \n unemployment compensation law administered by the State agency \n or under any other Federal law administered by the State agency \n which provides for the payment of any assistance or allowance \n with respect to any week of unemployment, during the 3-year \n period after the date such individuals received the payment of \n the temporary emergency unemployment compensation to which they \n were not entitled, except that no single deduction may exceed \n 50 percent of the weekly benefit amount from which such \n deduction is made.\n (2) Opportunity for hearing.--No repayment shall be \n required, and no deduction shall be made, until a determination \n has been made, notice thereof and an opportunity for a fair \n hearing has been given to the individual, and the determination \n has become final.\n (d) Review.--Any determination by a State agency under this section \nshall be subject to review in the same manner and to the same extent as \ndeterminations under the State unemployment compensation law, and only \nin that manner and to that extent.\n\nSEC. 7. DEFINITIONS.\n\n In this title, the terms ``compensation'', ``regular \ncompensation'', ``extended compensation'', ``additional compensation'', \n``benefit year'', ``base period'', ``State'', ``State agency'', ``State \nlaw'', and ``week'' have the respective meanings given such terms under \nsection 205 of the Federal-State Extended Unemployment Compensation Act \nof 1970 (26 U.S.C. 3304 note).\n\nSEC. 8. APPLICABILITY.\n\n An agreement entered into under this Act shall apply to weeks of \nunemployment--\n (1) beginning no earlier than the first day of the first \n week beginning after the date on which such agreement is \n entered into; and\n (2) ending before the date that is 18 months after the date \n of enactment of this Act.\n\nSEC. 9. TEMPORARY REDUCTION IN INTEREST RATE APPLICABLE TO REPAYMENTS \n OF ADVANCES TO STATE UNEMPLOYMENT FUNDS.\n\n With respect to advances made to a State under section 1201 of the \nSocial Security Act (42 U.S.C. 1321) during the period beginning on the \ndate of enactment of this Act and ending on the date that is 18 months \nafter such date of enactment, the rate of interest paid by a State on \nsuch an advance shall be determined under section 1202(b)(4) of the \nsuch Act (42 U.S.C. 1322(b)(4)) by substituting ``5 percent'' for ``10 \npercent'' in the matter preceding subparagraph (A).", "target": "Temporary Emergency Unemployment Compensation Act of 2001 - Provides for a program of temporary emergency unemployment compensation (TEUC).Sets forth TEUC program requirements for Federal-State agreements, formulas for determining amounts in individual TEUC accounts and weekly benefits, payments to States, and financing. Includes among eligibility requirements an individual's not having rights, with respect to a week, to other compensation (including both regular and extended compensation). Reduces an individual TEUC account by the aggregate amount of any extended compensation for the same benefit year.Applies TEUC agreements to weeks of unemployment: (1) beginning on or after the first day of the first week after the date on which such agreement is entered into; and (2) ending before the date that is 18 months after enactment of this Act.Provides for a temporary reduction in the interest rate applicable to repayments of advances to State unemployment funds.", "feat_title": "A bill to provide for a program of temporary enhanced unemployment benefits.", "evaluation_predictions": [0, 37, 5034, 18, 7, 4748, 27944, 17646, 6107, 1983, 13, 4402, 19, 3, 9, 4494, 2791, 876, 12, 766, 24, 8, 538, 911, 7, 5299, 3583, 17646, 6107, 21, 1742, 113, 33, 59, 7201, 12, 1646, 21398, 6546, 6107, 365, 8, 538, 973, 42, 2822, 6107, 5, 71, 1696, 56, 5608, 13, 4364, 12, 1742, 113, 96, 994, 2989, 15, 66, 2166, 12, 31181, 6107, 3526, 8, 1015, 973, 121, 250, 79, 43, 21436, 70, 269, 12, 1646, 6107, 6, 11, 150, 1151, 6107, 133, 36, 1866, 365, 136, 538, 42, 2822, 973, 5, 86, 811, 6, 8, 1157, 789, 54, 11924, 12, 428, 22624, 22624, 12, 1742, 16, 455, 12, 17077, 21, 175, 5157, 5, 37, 126, 2233, 4277, 7, 72, 806, 9848, 30, 7234, 3583, 17646, 29052, 10, 5568, 6180, 5568, 6464, 5022, 8, 3602, 13, 46, 2791, 28, 8, 15852, 13, 9836, 12, 143, 1942, 12, 2315, 38, 168, 38, 12, 5334, 3135, 12, 321, 2315, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"text": "SECTION 1. SHORT TITLE.\n\n This Act may be cited as the ``Combating Climate Change Through \nIndividual Action Act of 2008''.\n\nSEC. 2. FINDINGS.\n\n Congress finds the following:\n (1) Agricultural, grassland, and forestry practices play an \n essential role in capturing atmospheric carbon and sequestering \n it as soil organic matter.\n (2) Released carbon can be captured through improved \n grassland management, tree planting, forest preservation, and \n enhanced agronomic and irrigation practices.\n (3) Promoting increased natural carbon sinks could have a \n significant impact on the world's projected carbon emissions \n from the burning of fossil fuels.\n (4) Certain agricultural and forestry practices can reduce \n greenhouse gases: (A) avoiding emissions by maintaining \n existing carbon storage in trees and soils; (B) increasing \n carbon storage by, e.g., tree planting, conversion from \n conventional to conservation tillage practices on agricultural \n lands;\n (5) The large potentials exist through known cropping and \n land management practices such as adoption of no-till, reduced \n fallow and use of cover crops, and conservation set-asides with \n perennial grasses and trees.\n\nSEC. 3. CARBON SEQUESTRATION AND SOIL CONSERVATION CREDIT.\n\n (a) In General.--Subpart D of part IV of subchapter A of chapter 1 \nof the Internal Revenue Code of 1986 (relating to business related \ncredits) is amended by adding at the end the following new section:\n\n``SEC. 45O. CARBON SEQUESTRATION AND SOIL CONSERVATION.\n\n ``(a) In General.--For purposes of section 38, in the case of a \ntaxpayer engaged in the business of farming, the credit determined \nunder this section for the taxable year is an amount equal to 30 \npercent of the qualified carbon sequestration and soil conservation \nexpenditures for the taxable year which are paid or incurred with \nrespect to the land used in such farming.\n ``(b) Limitation.--The credit allowed with respect to a taxpayer \nunder this section for a taxable year shall not exceed an amount equal \nto $10,000, reduced by the sum of the credits allowed with respect to \nthe taxpayer under subsection (a) for all preceding taxable years.\n ``(c) Qualified Carbon Sequestration and Soil Conservation \nExpenses.--For purposes of this section--\n ``(1) In general.--The term `qualified carbon sequestration \n and soil conservation expenditures' means amounts paid or \n incurred to sequester carbon and conserve soil, including--\n ``(A) expenditures described in section 175(c),\n ``(B) conservation tillage expenditures,\n ``(C) cover cropping expenditures,\n ``(D) amounts paid or incurred to increase the \n nitrogen use efficiency (other than use of nitrogen \n fertilizers) of land used in farming, and\n ``(E) amounts paid or incurred for multiple year \n rotations, including introduction of a perennial that \n reduces carbon loss and tillage, builds soil tilth, and \n increases carbon capture capacity.\n ``(2) Conservation tillage expenditures.--The term \n `conservation tillage expenditures' means any expenditures paid \n or incurred for a tilling and planting method in which at least \n 30 percent of the previous crop residue remains on the soil \n after planting the current crop. Such term includes the \n following tilling practices: no till, ridge till, minimum till, \n and mulch till.\n ``(3) Cover cropping expenditures.--The term `cover \n cropping expenditures' means expenditures paid or incurred for \n the preparation and seeding of land for any grass, legume, or \n small grain--\n ``(A) which is not the primary crop of the \n taxpayer,\n ``(B) the primary purpose of which is to achieve \n one or more of the following: reduction in erosion; \n maintenance or improvement in soil fertility, tilth, \n and structure,\n ``(C) a purpose of which may be interruption of \n pest cycles or conservation of water.\n ``(d) Per Acre Credit Alternative.--\n ``(1) In general.--Not later than 180 days after the date \n of the enactment of this section, the Secretary shall, in \n consultation with the Secretary of Agriculture, establish an \n alternative procedure for determining the credit under \n subsection (a), which, at the election of the taxpayer, shall \n be treated as the amount determined under subsection (a).\n ``(2) Procedure described.--(A) The Secretary shall \n establish credit amounts to apply to land used in farming on a \n per acre basis with respect to each method of carbon \n sequestration and soil conservation described in subsection \n (c)(1).\n ``(B) Such credit amounts shall be based on the efficacy of \n the method in sequestering carbon and preventing soil erosion.\n ``(C) No such credit amount may exceed $15 per acre.\n ``(D) The Secretary shall prescribe rules similar to the \n rules of paragraphs (1) through (4) of subsection (e) to apply \n for purposes of the procedure established under this \n subsection.\n ``(3) Election.--An election to use such alternative method \n shall be made in such form and manner as the Secretary may \n prescribe, and shall apply to the taxable year for which made \n and for all subsequent taxable years.\n ``(e) Definition and Special Rules.--\n ``(1) Land used in farming.--For purposes of this section, \n land shall be treated as used in farming only if such land is \n used (before or simultaneously with the expenditures described \n in subsection (c)(1)) by the taxpayer or his tenant for the \n production of crops, fruits, or other agricultural products or \n for the sustenance of livestock.\n ``(2) Expenditures must be consistent with soil \n conservation plan.--Notwithstanding any other provision of this \n section, subsection (a) shall not apply to any expenditures \n unless such expenditures are consistent with--\n ``(A) the plan (if any) approved by the Soil \n Conservation Service of the Department of Agriculture \n for the area in which the land is located, or\n ``(B) if there is no plan described in clause (i), \n any soil conservation plan of a comparable State \n agency.\n ``(3) Basis adjustment.--For purposes of this subtitle, if \n a credit is determined under this section for any expenditure \n with respect to any property, the increase in the basis of such \n property which would (but for this paragraph) result from such \n expenditure shall be reduced by the amount of the credit so \n determined.\n ``(4) Denial of double benefit.--No deduction or other \n credit shall be allowed under this chapter for any amount taken \n into account in determining the credit under this section.\n ``(f) Termination.--This section shall not apply to taxable years \nbeginning after December 31, 2013.''.\n (b) Credit Made Part of General Business Credit.--Subsection (b) of \nsection 38 of such Code (relating to current year business credit) is \namended by striking ``plus'' at the end of paragraph (30), by striking \nthe period at the end of paragraph (31) and inserting ``plus'', and by \nadding at the end the following new paragraph:\n ``(32) the carbon sequestration and soil conservation \n credit determined under section 45O(a).''.\n (c) Conforming Amendments.--Subsection (a) of section 1016 of such \nCode (relating to adjustments to basis) is amended by striking ``and'' \nat the end of paragraph (35), by striking the period at the end of \nparagraph (36) and inserting ``and'', and by adding at the end the \nfollowing new paragraph:\n ``(37) to the extent provided in section 45O(e).''.\n (d) Clerical Amendment.--The table of sections for subpart D of \npart IV of subchapter A of chapter 1 of such Code is amended by adding \nat the end the following new item:\n\n``Sec. 45O. Carbon sequestration and soil conservation.''.\n (e) Effective Date.--The amendments made by this section shall \napply to expenditures paid or incurred after December 31, 2008.\n\nSEC. 4. QUALIFYING PLANTING EXPENDITURE CREDIT.\n\n (a) In General.--Subpart B of part IV of subchapter A of chapter 1 \nof the Internal Revenue Code of 1986 (relating to other credits) is \namended by adding at the end the following new section:\n\n``SEC. 30D. QUALIFIED PLANTING EXPENDITURE CREDIT.\n\n ``(a) Allowance of Credit.--There shall be allowed as a credit \nagainst the tax imposed by this chapter for the taxable year an amount \nequal to 10 percent of the qualified planting expenditures of the \ntaxpayer for the taxable year.\n ``(b) Limitations.--The amount taken into account under subsection \n(a) for any taxable year shall not exceed--\n ``(1) in the case of expenditures paid or incurred by the \n taxpayer with respect to an area which is included under \n section 121 as part of the taxpayer's principal residence, \n $5,000,\n ``(2) in the case of expenditures paid or incurred by the \n taxpayer in the course of, or with respect to, a trade or \n business carried on by the taxpayer, $50,000, and\n ``(3) in any other case, zero.\n ``(c) Qualified Planting Expenditures.--For purposes of this \nsection--\n ``(1) In general.--The term `qualifying planting \n expenditures' means expenditures paid or incurred--\n ``(A) for the purchase and planting of any tree, \n plant, shrub, or bush which meets the requirements of \n paragraph (2), and\n ``(B) for the purchase and installation of a \n vegetated roof system.\n Such term shall not include expenditures relating to any \n property which is held by the taxpayer for use in a trade or \n business or for the production of income, or which is property \n described in section 1221(a)(1) in the hands of the taxpayer.\n ``(2) Trees, plants, shrubs, or bushes.--A tree, plant, \n shrub, or bush satisfies the requirements of the paragraph if \n such tree, plant, shrub, or bush is certified, in accordance \n with guidance prescribed by the Secretary (after consultation \n with the Administrator of the Environmental Protection Agency \n and the Secretary of Agriculture), to be quick-growing, \n appropriate for the region in which it is planted, and \n effective in capturing carbon.\n ``(3) Vegetated roof system.--The term `vegetated roof \n system' means a system by which vegetation growing in a \n substrate is integrated with the roof (or portion thereof) of a \n building owned by the taxpayer.\n ``(d) Application With Other Credits.--The credit allowed under \nsubsection (a) for any taxable year shall not exceed the excess (if \nany) of--\n ``(1) the regular tax liability (as defined in section \n 26(b)) reduced by the sum of the credits allowable under \n subpart A and sections 27, 30, 30B, and 30C, over\n ``(2) the tentative minimum tax for the taxable year.\n ``(e) Definition and Special Rules.--For purposes of this section--\n ``(1) Principal residence.--The term `principal residence' \n has the same meaning as when used in section 121, except that \n no ownership requirement shall be imposed.\n ``(2) Joint occupancy, cooperative housing corporations, \n and condominium management associations.--Rules similar to the \n rules of paragraphs (4), (5), and (6) of section 25D(e) shall \n apply.\n ``(3) Expenditures outside united states.--The credit under \n this section shall not be allowed with respect to expenditures \n paid or incurred for areas located outside the United States.\n ``(4) Basis adjustment.--For purposes of this subtitle, if \n a credit is allowed under this section for an expenditure, the \n increase in basis which would result (but for this subsection) \n from such expenditure shall be reduced by the amount of credit \n allowed under this section.\n ``(f) Termination.--This section shall not apply to taxable years \nbeginning after December 31, 2013.''.\n (b) Conforming Amendments.--\n (1) Subsection (a) of section 1016, as amended by section \n 3, is amended by striking ``and'' at the end of paragraph (36), \n by striking the period at the end of paragraph (37) and \n inserting ``and'', and by adding at the end the following new \n paragraph:\n ``(38) to the extent provided in section 30D(e)(4).''.\n (2) The table of sections for subpart B of part IV of \n subchapter A of chapter 1 of such Code is amended by inserting \n after the item relating to section 30C the following new item:\n\n``Sec. 30D. Qualified planting expenditure credit.''.\n (c) Effective Date.--The amendments made by this section shall \napply to expenditures paid or incurred after December 31, 2008.\n\nSEC. 5. GRASSLAND, RANGELAND, AND FOREST CONSERVATION CREDIT.\n\n (a) In General.--Not later than 180 days after the date of the \nenactment of this Act, the Secretary of the Treasury, in consultation \nwith the Department of Agriculture, shall establish an appropriate tax \ncredit, with respect to land located in the United States, for--\n (1) the conversion of cropland to pasture for grazing \n purposes or to grassland or rangeland, and\n (2) reforestation and afforestation of land--\n (A) which is not held by the taxpayer for the \n planting, cultivating, caring for, and cutting of trees \n for sale or use in the commercial production of timber \n products, and\n (B) with trees which are not held by the taxpayer \n for use in a trade or business or for the production of \n income.\n (b) Other Rules Relating to Credit.--\n (1) Credit to be per acre.--The Secretary shall establish \n credit amounts to apply to land on a per acre basis with \n respect to each method of conservation described in subsection \n (a).\n (2) Pursuant to approved plan.--Such methods must be \n pursuant to a plan submitted by the taxpayer and approved by \n the Secretaries of the Treasury and Agriculture.\n (3) Basis for credit amounts.--Credit amount shall be based \n on--\n (A) the efficacy of the method in sequestering \n carbon and preventing soil erosion,\n (B) the expenditures relating to such method, and\n (C) the number of years the taxpayer certifies to \n the Secretary or ensures (by conservation easement or \n otherwise) that the applicable land will remain subject \n to the approved plan.\n (4) Recapture.--The Secretary shall provide for recapturing \n the benefit of any credit allowed under this section with \n respect to any property that ceases to be used in accordance \n with the approved plan.\n (5) Denial of double benefit and basis adjustment.--The \n Secretary shall provide--\n (A) an appropriate basis adjustment for property \n with respect to which such credit is allowed, and\n (B) rules disallowing such deductions and other \n credits as may be appropriate to avoid allowing \n additional tax benefits for the same conservation \n method or expenses.\n (c) Effective Date.--The credit established by the Secretary shall \napply to taxable years beginning after December 31, 2008.\n\nSEC. 6. CARBON SEQUESTRATION CREDIT REPORT.\n\n (a) In General.--In the case of any substantial change in the \ncarbon sequestration market (including the enactment into law of a \ncarbon cap and trade program), the Secretary of the Treasury shall, in \nconsultation with any appropriate Federal officers, study such change \nand any effect of such change on the efficiency of, and need for, the \ncredits allowed under section 5 of this Act and sections 45O and 30D of \nthe Internal Revenue Code of 1986.\n (b) Report.--As soon as practicable after sufficient opportunity to \nobserve the effect of such change in the carbon sequestration market, \nthe Secretary shall submit a report to Congress containing the results \nof the study conducted under subsection (a) and any recommendations of \nthe Secretary for modifying such credits based on such results.", "target": "Combating Climate Change Through Individual Action Act of 2008 - Amends the Internal Revenue Code to allow tax credits for: (1) 30% of carbon sequestration and soil conservation expenditures made by taxpayers engaged in the business of farming; (2) 10% of qualifying planting expenditures, including expenditures for the purchase and planting of any tree, plant, shrub, or bush, and the purchase and installation of a vegetated roof system; (3) the conversion of cropland to pasture for grazing purposes or to grassland or rangeland; and (4) certain types of reforestation and afforestation of land.", "feat_title": "To amend the Internal Revenue Code of 1986 to provide incentives for carbon sequestration.", "evaluation_predictions": [0, 86, 48, 5800, 6, 8, 3, 29, 291, 52, 1016, 4277, 7, 8, 5034, 2126, 13, 8, 22077, 38, 3, 9, 96, 5890, 115, 1014, 3298, 483, 190, 928, 1041, 1983, 13, 2628, 535, 37, 1485, 2146, 1983, 19, 92, 21012, 57, 2651, 430, 1375, 12, 8, 358, 21, 4146, 142, 10952, 4203, 11, 4484, 18260, 5, 37, 5212, 5212, 11167, 19, 3353, 28, 1151, 14172, 12, 8, 570, 13, 11893, 7020, 365, 8, 7491, 7, 5, 37, 1485, 3608, 16060, 33, 974, 16, 8, 166, 1375, 6, 84, 617, 7, 72, 996, 9848, 30, 8, 998, 787, 12, 8, 1104, 12501, 5, 37, 511, 1375, 963, 192, 806, 1502, 10, 8925, 8, 5051, 831, 57, 13293, 1322, 261, 16, 11402, 117, 11, 3, 5268, 8, 21727, 13, 4146, 57, 6011, 4484, 18907, 5, 37, 1025, 1375, 92, 1250, 8, 6601, 905, 12, 36, 8839, 15, 26, 57, 1151, 5161, 24, 56, 59, 36, 5383, 12, 136, 1805, 28665, 215, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"text": "SECTION 1. SHORT TITLE.\n\n This Act may be cited as the ``Lower Colorado River Multi-Species \nConservation Program Act''.\n\nSEC. 2. DEFINITIONS.\n\n In this Act:\n (1) Lower colorado river multi-species conservation \n program.--The term ``Lower Colorado River Multi-Species \n Conservation Program'' or ``LCR MSCP'' means the cooperative \n effort on the Lower Colorado River between Federal and non-\n Federal entities in Arizona, California, and Nevada approved by \n the Secretary of the Interior on April 2, 2005.\n (2) Lower colorado river.--The term ``Lower Colorado \n River'' means the Colorado River from Lake Mead to the \n Southerly International Boundary with Mexico, including its \n historic floodplain and its mainstem reservoirs to their full \n pool elevations.\n (3) Program documents.--The term ``Program Documents'' \n means the Habitat Conservation Plan, Biological Assessment and \n Biological and Conference Opinion, Environmental Impact \n Statement/Environmental Impact Report, Funding and Management \n Agreement, Implementing Agreement, and Section 10(a)(1)(B) \n Permit issued and, as applicable, executed in connection with \n the LCR MSCP.\n (4) Secretary.--The term ``Secretary'' means the Secretary \n of the Interior.\n (5) State.--The term ``State'' means each of the States of \n Arizona, California, and Nevada.\n (6) Steering committee.--The term ``Steering Committee'' \n means the LCR MSCP steering committee established pursuant to \n the Program Documents.\n\nSEC. 3. IMPLEMENTATION AND WATER ACCOUNTING.\n\n (a) Implementation.--The Secretary shall manage and implement the \nLCR MSCP in accordance with the Program Documents.\n (b) Water Accounting.--The Secretary is authorized and directed to \nenter into an agreement with the States providing for the use of water \nfrom the Lower Colorado River for habitat creation and maintenance in \naccordance with the Program Documents.\n\nSEC. 4. AUTHORIZATION OF APPROPRIATIONS.\n\n (a) In General.--There is authorized to be appropriated to the \nSecretary such sums as may be necessary to meet the obligations of the \nSecretary under the Program Documents, to remain available until \nexpended.\n (b) Investments.--The Secretary is authorized to invest with the \nSecretary of the Treasury such portions of appropriations, and any non-\nFederal contributions made pursuant to the Program Documents, as are \nnot, in the judgment of the Secretary, required to meet current \nexpenditures. Such investments shall be made only in interest-bearing \nobligations of the United States. Funds invested under this subsection \nand interest on those funds shall be available to the Secretary to meet \nthe obligations of the Secretary under the Program Documents.\n (c) Non-Reimbursable and Non-Returnable.--All amounts appropriated \nto and expended by the Secretary for the LCR MSCP shall be non-\nreimbursable and non-returnable.\n\nSEC. 5. APPLICABLE LAW, CONTINUITY OF PROGRAM, ENFORCEABILITY OF \n PROGRAM DOCUMENTS.\n\n (a) In General.--Nothing in this Act shall impair any right to the \ndelivery or beneficial consumptive use of Colorado River water under \nany compact, treaty, law, decree, or contract in effect on the date of \nenactment of this Act.\n (b) Continuity of Program Documents.--No future act of Congress \nrelating to Public Law 93-205 (16 U.S.C. 1531 et seq.) shall have the \neffect of modifying the Program Documents unless expressly made \napplicable to the LCR MSCP.\n (c) Enforceability of Program Documents.--Any party to any \nagreement entered into with the United States or any agency thereof \npursuant to the LCR MSCP may commence a civil action in United States \ndistrict court to enforce the agreement or to declare the rights and \nobligations of the parties under the Program Documents. The district \ncourt shall have jurisdiction of such actions and may issue such \norders, judgments, and decrees as are consistent with the court's \nexercise of jurisdiction under this section. The United States or any \nagency thereof may be named as a defendant in such actions. The \nsovereign immunity of the United States is waived for purposes of \nactions commenced pursuant to this section. Nothing in this section \nwaives the sovereign immunity of the United States to claims for money \ndamages, monetary compensation, the provision of indemnity, or any \nclaim seeking money from the United States. Any suit pursuant to this \nsection may be brought in any United States district court in the State \nin which any non-Federal party to the suit is situated.\n (d) Applicable Law.--Nothing in this Act affects the enforceability \nof the requirement that the Program Documents comply with existing law \nas of April 2, 2005, except that the Steering Committee shall not be \nsubject to the Federal Advisory Committee Act (5 U.S.C. App.).", "target": "Lower Colorado River Multi-Species Conservation Program Act - Directs the Secretary of the Interior to manage and implement the Lower Colorado River Multi-Species Conservation Program, and to enter into an agreement with Arizona, California, and Nevada providing for the use of water from the Lower Colorado River for habitat creation and maintenance, in accordance with the Habitat Conservation Plan, Biological Assessment and Biological and Conference Opinion, Environmental Impact Statement/Environmental Impact Report, Funding and Management Agreement, Implementing Agreement (Agreement).\n\nPermits any party to an agreement entered into with the United States pursuant to the Program to commence a civil action in U.S. district court to enforce the agreement or to declare the rights and obligations of the parties under the program documents. Grants the district court jurisdiction over any such action.", "feat_title": "A bill to authorize appropriations for the Bureau of Reclamation to carry out the Lower Colorado River Multi-Species Conservation Program in the States of Arizona, California, and Nevada, and for other purposes.", "evaluation_predictions": [0, 96, 634, 15877, 6144, 2473, 1249, 18, 7727, 725, 8712, 478, 1983, 976, 19, 3, 9, 1375, 13, 8, 5034, 120, 4157, 2052, 16, 84, 2822, 12311, 11, 529, 18, 16557, 12311, 43, 3754, 8, 3949, 11, 2453, 13, 8, 15877, 6144, 4033, 5, 37, 2578, 13, 8, 9126, 9126, 12532, 6, 983, 6, 56, 59, 36, 2225, 12, 1912, 8, 337, 2491, 38, 8, 2090, 405, 5, 37, 15852, 13, 8, 8226, 19, 92, 11330, 12, 4032, 128, 13, 8, 5043, 1438, 1316, 12, 380, 8, 516, 365, 8, 478, 5, 465, 72, 5139, 7, 54, 36, 263, 16, 8, 478, 6, 3578, 24, 34, 19, 59, 5383, 12, 8, 478, 250, 34, 19, 46, 2791, 344, 8, 2315, 11, 8, 1157, 789, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"text": "SECTION 1. SHORT TITLE.\n\n This Act may be cited as the ``Clearwater Basin Project Act''.\n\nSEC. 2. DEFINITIONS.\n\n (a) Definitions.--In this Act:\n (1) Advisory panel.--The term ``advisory panel'' means the \n Clearwater Advisory Panel, established by the Secretary under \n section 3.\n (2) Pilot project.--The term ``pilot project'' means the \n Clearwater Basin Pilot Project authorized by section 4.\n (3) Pilot project area.--The term ``pilot project area'' \n means the area described in section 4(a) in which the pilot \n project will be conducted.\n (4) Secretary.--The term ``Secretary'' means the Secretary \n of Agriculture.\n (5) Stewardship contract.--The term ``stewardship \n contract'' means a contract to achieve land management goals \n for National Forest System lands as described in section 347 of \n the Department of Interior and Related Agencies Appropriations \n Act, 1999 (16 U.S.C. 2104 note).\n (6) Stewardship objectives.--The term ``stewardship \n objectives'' means objectives that enhance forest ecosystems, \n and restore and improve land health water quality such as--\n (A) road, trail, and infrastructure maintenance or \n obliteration;\n (B) soil productivity improvement;\n (C) improvements in forest ecosystem health;\n (D) watershed restoration and maintenance;\n (E) restoration, maintenance and improvement of \n wildlife and fish habitat;\n (F) control of noxious weeds; and\n (G) reestablishment of native species.\n\nSEC. 3. CLEARWATER ADVISORY PANEL.\n\n (a) Establishment and Purpose.--The Secretary shall establish an \nadvisory group, to be known as the ``Clearwater Advisory Panel'', for \nthe purpose of improving collaborative relationships and providing \nadvice and recommendations to the Forest Service regarding the \nClearwater Basin pilot project and activities under the pilot project, \nas authorized by and consistent with this Act.\n (b) Duties.--The advisory panel shall--\n (1) review and make recommendations to the Forest Service \n regarding activities proposed for high priority implementation \n as part of the pilot project;\n (2) provide early and continuous coordination with \n appropriate Forest Service and other agency officials in \n reviewing and recommending activities for high priority \n implementation; and\n (3) provide frequent opportunities for citizens, \n organizations, tribes, agencies, and other interested parties \n to participate in all stages of the activity schedule \n development process.\n (c) Appointment of Members.--\n (1) Appointment and term.--No later than 90 days after the \n date of enactment of this Act, and consistent with subsection \n (d), the Secretary shall appoint the members of the advisory \n panel and each member shall serve without compensation for a \n term of three years beginning on the date of appointment. The \n Secretary may reappoint members to subsequent three-year terms.\n (2) Vacancies.--The Secretary shall make appointments to \n fill vacancies on the advisory panel as soon as practicable \n after the vacancy has occurred.\n (d) Composition of Advisory Panel.--The advisory panel shall \nbe comprised of 15 members who shall be representative of the interests \nof the following categories:\n (1) Category i.--\n (A) organized labor;\n (B) developed outdoor recreation, off highway \n vehicle users, or commercial recreation activities;\n (C) energy and mineral development interests;\n (D) commercial timber industry; and\n (E) Federal grazing permit holders, or other land \n use permit holders within the pilot project area.\n (2) Category ii.--\n (A) national environmental organizations;\n (B) regional or local environmental organizations;\n (C) dispersed recreational activities;\n (D) archaeological and historical interests; and\n (E) national or regional fish and wildlife interest \n groups.\n (3) Category iii.--\n (A) State elected officeholders or their designee;\n (B) county or local elected officeholders;\n (C) Indian Tribes within or adjacent to the pilot \n project area;\n (D) school officials or teachers; and\n (E) the affected public at large.\n (4) Balanced representation.--The Secretary shall provide \n for balanced representation from among the categories described \n in paragraphs (1), (2), and (3).\n (5) Geographic distribution.--The members of the advisory \n panel shall reside within the State of Idaho, and to the extent \n practicable, within or adjacent to the pilot project area.\n (e) Approval Procedures.--\n (1) Establishment.--Subject to paragraph (2) and the other \n requirements of this Act, the advisory panel shall establish \n procedures for proposing, developing, and reviewing activities \n and schedules for recommendation to the Forest Service for \n approval and implementation under the pilot project. A majority \n must be present to constitute an official meeting of the \n advisory panel.\n (2) Majority vote.--An activity or schedule may be \n recommended by the advisory panel to the applicable Forest \n Supervisor for approval and implementation under the pilot \n program if it is approved by a majority of the advisory panel \n members from each of the three categories described in \n subsection (d).\n (f) Other Authorities and Requirements.--\n (1) Chairperson.--A majority of the advisory panel shall \n select a chairperson.\n (2) Staff assistance.--The Secretary may provide staff \n assistance to the advisory panel from employees under the \n jurisdiction of the Secretary.\n (3) Meetings.--All meetings of the advisory panel shall be \n announced at least one week in advance in a local newspaper of \n record and shall be open to the public. Records of the meetings \n shall be retained and made available for public inspection.\n\nSEC. 4 CLEARWATER BASIN PILOT PROJECT.\n\n (a) Pilot Project Authorized.--The Secretary may conduct a pilot \nproject under this section, to be known as the ``Clearwater Basin pilot \nproject'', on those National Forest System land encompassed by the \nNorth Fork, Powell, and Lochsa Ranger Districts of the Clearwater \nNational Forest in the State of Idaho, and the Red River/Elk City, \nMoose Creek and Clearwater Ranger Districts of the Nez Perce National \nForest in the State of Idaho.\n (b) Role of Advisory Panel.--The advisory panel shall review and \nrecommend activities for high priority implementation of stewardship \nobjectives within the pilot project area, for which funding is \nauthorized under this Act or other laws.\n (c) Stewardship Contracts.--A total of three stewardship contracts \nare authorized for recommendation by the advisory panel and for \napproval and implementation in accordance with, and to achieve the \npurposes of, the pilot project. These contracts are in addition to any \nstewardship contracts authorized under any other law.\n (d) Activity Schedules.--\n (1) Development.--Within two years after the date of the \n enactment of this Act, the advisory panel shall develop and \n submit for Forest Supervisor review schedules of high priority \n activities to be commenced within the pilot project area for \nthe ensuing five-year period. Separate schedules shall be developed for \nthe Clearwater National Forest portion of the pilot project area. \nThereafter, the advisory panel shall develop and submit in advance \nschedules for subsequent five-year periods.\n (2) Consultation.--The advisory panel shall develop each \n five-year schedule in consultation with, and with technical \n assistance from, the applicable Forest Supervisor and the Nez \n Perce Tribe. The Forest Service shall ensure that the \n activities in the schedules are consistent with treaty and any \n other obligations to the Tribe.\n (3) Content.--Each five-year schedule shall be in \n sufficient detail to describe the high priority activities to \n be conducted in the pilot project area over the five-year \n period and the timing for their implementation, and to allow \n reasonable site-specific, project-level evaluation of their \n environmental effects. The scope of the activities included in \n each schedule shall be reasonably adjusted to the extent that \n the advisory panel and applicable Forest Supervisor determine \n necessary to allow such evaluation to be completed within the \n time periods provided by this Act.\n (4) Consistency with forest plan.--The activities included \n within the five-year schedules shall be consistent with the \n applicable forest land and resource management plan. The \n schedule may include any amendment of the applicable forest \n land and resource management plan that the advisory panel \n recommends or that the applicable Forest Supervisor determines \n is necessary to allow or facilitate implementation of one or \n more activities in the schedule.\n (f) NEPA Requirements and Related Procedures.--\n (1) Process.--The Forest Service shall conduct any \n applicable procedures under the National Environmental Policy \n Act of 1969 (42 U.S.C. 4321 et seq.) for the approval of the \n activities in each five-year schedule, tiered to the \n environmental impact statement for the applicable forest land \n and resource management plan. The procedures under such Act, \n and any review, consultation, or coordination under other laws, \n including the Forest and Rangeland Renewable Resources Planning \n Act of 1974 (16 U.S.C. 1600 et seq.), Endangered Species Act of \n 1973 (16 U.S.C. 1531 et seq.) and National Historic \n Preservation Act (16 U.S.C. 470), shall be completed within one \n year after the Forest Service, in consultation with the North \n Central Idaho resource advisory committee, issues the public \n scoping notice regarding the proposed schedule.\n (2) Resources.--The Forest Service, and any other Federal \n agencies involved in the process described in paragraph (1), \n shall provide sufficient personnel and other resources, \n directly or through contracting, to complete the review, \n consultation, or coordination within the required one-year \n period, and without substantially delaying implementation of \n other forest management activities in Region 1 of the Forest \n Service. The Forest Service and other involved agencies may \n rely upon or use any analysis, documents, or procedures \n previously performed under the National Environmental Policy \n Act of 1969 or other law for any activity in the schedule.\n (3) Effect of failure to complete process.--If any review, \n consultation, or coordination required under the National \n Environmental Policy Act of 1969 or other law has not been \n completed for a schedule within the required one-year period, \n the lack of completion shall not be a basis for challenging or \n delaying submittal, approval, or implementation of an activity \n in the schedule, if the applicable Forest Supervisor, in \n consultation with the advisory panel, finds that sufficient \n review, consultation, and coordination regarding the activity \n has occurred and a sufficient record exists to make a reasoned \n decision regarding approval of the activity.\n (g) Review by Forest Supervisor.--\n (1) Submission.--The advisory panel shall submit a final \n recommendation regarding each five-year schedule, together with \n the record of the review, consultation, and coordination \n performed under subsection (f) for the schedule, to the \n applicable Forest Supervisor for review. The final \n recommendation and record shall be submitted to the Forest \n Supervisor at least 30 days in advance of the date for \n commencing implementation of activities under the schedule.\n (2) Review.--Within 30 days after receiving the schedule \n and record from the advisory panel, the Forest Supervisor shall \n issue a project or activity decision document regarding review \n of the recommended schedule in accordance with the National \n Environmental Policy Act of 1969 and any other applicable \n procedures. In the decision document, the Forest Supervisor may \n approve the schedule, or disapprove the schedule and return it \n to the advisory panel for further consideration with \n instructions. If the Forest Supervisor has not issued a \ndecision document upon expiration of the 30-day period, the schedule \nshall be deemed approved by the Forest Supervisor and subject to \nadministrative appeal under Department of Agriculture procedures \napplicable to Forest Service project or activity record of decision or \ndecision notice documents issued pursuant to the National Environmental \nPolicy Act of 1969.\n (h) Implementation.--Upon approval of the schedule, but subject to \nany stay that may be in effect pursuant to Forest Service project or \nactivity administrative appeal procedures, the Forest Service may issue \nany permits, contracts, or other authorizations for activities in the \nschedule without further review, consultation, or coordination under \nthe National Environmental Policy Act of 1969 or other laws.\n (i) Activities Not Included in a 5-Year Schedule; Amendment of \nSchedule.--An activity that the advisory panel determines should \nproceed in advance of approval of the first five-year schedule, or an \nactivity in the pilot project area that is not included in a five-year \nschedule, may be approved and implemented on an individual or group \nbasis, upon completing the process and requirements for review and \napproval of a five-year schedule. A five-year schedule may be amended \nupon completed the process and requirements for review and approval of \nthe schedule.\n (j) Relation to Other Schedules, Plans, and Activities.--The five-\nyear schedules and activities authorized under the pilot project shall \nsupplement other schedules plans and projects or other activities \nauthorized and implemented under other law. Upon advisory panel \nrecommendation and applicable Forest Supervisor approval, an activity \nthat is included in another schedule or plan or proposed, authorized, \nor funded under other law may be authorized and implemented as an \nactivity under the pilot project, if the activity meets the \nrequirements of this section for implementation as a high priority \nactivity.\n\nSEC. 5. MONITORING AND REPORTING REQUIREMENTS.\n\n (a) Report on Applicable Rules and Regulations.--The advisory panel \nmay submit to the Secretary, the Committee on Energy and Natural \nResources of the Senate and the Committee on Resources of the House of \nRepresentatives a compilation of regulations applicable to the pilot \nproject that the advisory panel determines are inappropriate for the \npilot project, incompatible with the pilot project, or unduly \nburdensome in conducting the pilot project.\n (b) Monitoring; Annual Report on the Project.--The Secretary shall \nmonitor the activities and achievement in the pilot project area under \nthe pilot project. Not later than two years after the date of the \nenactment of this Act, and each year thereafter during the pilot \nproject, the Secretary shall submit a report to the Committee on Energy \nand Natural Resources of the Senate and the Committee on Resources of \nthe House of Representatives on the results of such monitoring, \nincluding detailed information on the sources and uses of funds and the \nstatus, outputs, and other results accomplished for each activity \nrecommended for priority implementation by the advisory panel under the \npilot project.\n (c) State of Idaho Report.--The Secretary shall request the State \nof Idaho, through the University of Idaho College of Natural Resource \nor other source, to prepare a report reviewing the activities and \nachievements of the pilot project in the pilot project area. The \nSecretary shall request the State to prepare and submit the report at \nfive-year intervals to the Secretary, the Committee on Energy and \nNatural Resources of the Senate, and the Committee on Resources of the \nHouse of Representatives. The requested report should include an \nassessment of whether, and to what extent, the activities conducted \nunder the pilot project are meeting or enhancing the accomplishment of \nstewardship objectives.\n\nSEC. 6. AUTHORIZATION OF APPROPRIATIONS.\n\n (a) Authorization of Appropriations.--There is authorized to be \nappropriated to the Secretary, through fiscal year 2012, such sums as \nmay be necessary for the following purposes:\n (1) Developing, submitting, reviewing, and implementing \n five-year schedules and priority activities under the pilot \n project, including the stewardship contracts authorized by this \n Act.\n (2) Other advisory panel activities and technical \n assistance to the advisory panel for the purposes of the pilot \n project.\n (3) Monitoring and reporting requirements under section 5.\n (4) Such other actions as are necessary to implement this \n Act.\n (b) Availability.--Amount appropriated for the purposes specified \nin subsection (a) shall remain available until expended.\n (c) Treatment of Receipts.--Notwithstanding the Secure Rural \nSchools and Community Self-Determination Act of 2000 (Public Law 106-\n393; 16 U.S.C. 500 note), any moneys received by the Forest Service \nfrom activities approved and implemented under the pilot project shall \nbe distributed in accordance with the sixth paragraph under the heading \n``Forest Service'' in the Act of May 23, 1908 (16 U.S.C. 500).\n\nSEC. 7. SEVERABILITY.\n\n If any provisions of this Act or the application of this Act to any \nperson or circumstances is held to be invalid, the validity of the \nremainder of this Act and of the application of such provision to other \npersons and circumstances shall not be affected.", "target": "Clearwater Basin Project Act - Directs the Secretary of Agriculture to establish and maintain the Clearwater Advisory Panel (CAP), which shall provide advice and recommendations to the Forest Service regarding the Clearwater Basin pilot project (the Project) within the Clearwater and Nez Perce National Forests, Idaho. States that the CAP shall: (1) make recommendations regarding activities for high priority implementation; (2) provide early and continuous coordination with Federal officials; and (3) provide for public input into its proceedings.Authorizes the Secretary to conduct the Project. Directs the CAP, in consultation with and receiving technical assistance from the applicable Forest Supervisor, to develop and submit for approval from the Forest Supervisor five-year schedules of high priority activities for the Project (with separate schedules for each Forest). Requires that the activities included in such schedules be consistent with the applicable forest land and resource management plan. Directs the Forest Service to complete any applicable National Environmental Policy Act (NEPA) procedures for the approval of the activities at the site-specific, project level. Directs the CAP to consult with the Nez Perce Tribe in developing and recommending each schedule.Directs the Forest Supervisor to issue a project or activity decision document regarding approval of the recommended schedule in accordance with NEPA and other applicable procedures.Provides for the schedules and activities authorized under this section to supplement certain other schedules, plans, and projects or other activities authorized and implemented under other law.", "feat_title": "A bill to provide for enhanced collaborative forest stewardship management within the Clearwater and Nez Perce National Forests in Idaho, and for other purposes.", "evaluation_predictions": [0, 37, 1983, 4277, 7, 3, 9, 126, 1375, 16, 8, 5034, 2216, 2216, 2216, 2159, 1983, 6, 84, 2315, 24, 8, 386, 18, 1201, 1657, 13, 8, 96, 254, 109, 291, 387, 6653, 77, 17777, 516, 121, 56, 36, 7020, 5, 37, 15852, 65, 2127, 46, 18599, 563, 718, 8, 96, 5991, 15, 35, 13, 8, 17037, 9871, 976, 12, 1716, 38, 3, 9, 2069, 1539, 21, 8, 2231, 13, 8, 5827, 313, 30, 8, 8912, 3552, 14885, 77, 4487, 516, 5, 37, 2952, 19, 10431, 13, 627, 724, 45, 2399, 1637, 10, 4997, 5347, 6, 2655, 17711, 6, 91, 10367, 1689, 1105, 42, 1328, 17711, 1756, 117, 827, 11, 7590, 11336, 3984, 117, 1328, 14592, 681, 1636, 2822, 3, 3484, 8128, 14079, 117, 1157, 3262, 2371, 1636, 3518, 42, 415, 9185, 2371, 1636, 1028, 883, 3843, 24121, 1087, 117, 28949, 11, 4332, 1046, 1637, 1636, 1157, 42, 3518, 6779, 11, 9106, 21230, 1637, 535, 37, 662, 5897, 13, 724, 33, 7283, 57, 284, 3295, 5, 1698, 874, 215, 2023, 133, 36, 16, 17817, 12, 5530, 8, 1385, 5734, 1087, 3454, 16, 8, 4487, 616, 147, 874, 203, 5, 71, 1338, 13, 8, 2952, 19, 2162, 80, 471, 16, 3, 9, 8468, 11, 3187, 13, 4677, 56, 36, 18570, 11, 1790, 11652, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"text": "SECTION 1. SHORT TITLE; REFERENCES TO TITLE 38, UNITED STATES CODE.\n\n (a) Short Title.--This Act may be cited as the ``Veterans Programs \nImprovement Act of 2003''.\n (b) References.--Except as otherwise expressly provided, wherever \nin this Act an amendment is expressed in terms of an amendment to a \nsection or other provision, the reference shall be considered to be \nmade to a section or other provision of title 38, United States Code.\n\nSEC. 2. INCREASE IN RATES OF DISABILITY COMPENSATION AND DEPENDENCY AND \n INDEMNITY COMPENSATION.\n\n (a) Rate Adjustment.--The Secretary of Veterans Affairs shall, \neffective on December 1, 2003, increase the dollar amounts in effect \nfor the payment of disability compensation and dependency and indemnity \ncompensation by the Secretary, as specified in subsection (b).\n (b) Amounts To Be Increased.--The dollar amounts to be increased \npursuant to subsection (a) are the following:\n (1) Compensation.--Each of the dollar amounts in effect \n under section 1114.\n (2) Additional compensation for dependents.--Each of the \n dollar amounts in effect under section 1115(1).\n (3) Clothing allowance.--The dollar amount in effect under \n section 1162.\n (4) New dic rates.--Each of the dollar amounts in effect \n under paragraphs (1) and (2) of section 1311(a).\n (5) Old dic rates.--Each of the dollar amounts in effect \n under section 1311(a)(3).\n (6) Additional dic for surviving spouses with minor \n children.--The dollar amount in effect under section 1311(b);\n (7) Additional dic for disability.--Each of the dollar \n amounts in effect under subsections (c) and (d) of section \n 1311.\n (8) DIC for dependent children.--Each of the dollar amounts \n in effect under sections 1313(a) and 1314.\n (c) Determination of Increase.--\n (1) The increase under subsection (a) shall be made in the \n dollar amounts specified in subsection (b) as in effect on \n November 30, 2003.\n (2) Except as provided in paragraph (3), each such amount \n shall be increased by the same percentage as the percentage by \n which benefit amounts payable under title II of the Social \n Security Act (42 U.S.C. 401 et seq.) are increased effective \n December 1, 2003, as a result of a determination under section \n 215(i) of such Act (42 U.S.C. 415(i)).\n (3) Each dollar amount increased pursuant to paragraph (2) \n shall, if not a whole dollar amount, be rounded down to the \n next lower whole dollar amount.\n (d) Special Rule.--The Secretary may adjust administratively, \nconsistent with the increases made under subsection (a), the rates of \ndisability compensation payable to persons within the purview of \nsection 10 of Public Law No. 85-857 (72 Stat. 1263) who are not in \nreceipt of compensation payable pursuant to chapter 11 of title 38, \nUnited States Code.\n (e) Publication of Adjusted Rates.--At the same time as the matters \nspecified in section 215(i)(2)(D) of the Social Security Act (42 U.S.C. \n415(i)(2)(D)) are required to be published by reason of a determination \nmade under section 215(i) of such Act during fiscal year 2004, the \nSecretary of Veterans Affairs shall publish in the Federal Register the \namounts specified in subsection (b) as increased pursuant to subsection \n(a).\n\nSEC. 3. REPEAL OF 45-DAY RULE FOR EFFECTIVE DATE OF AWARD OF DEATH \n PENSION.\n\n Subsection (d) of section 5110 is amended--\n (1) by striking the designation ``(1)'';\n (2) by striking ``death compensation or dependency and \n indemnity compensation'' and inserting ``death compensation, \n dependency and indemnity compensation, or death pension''; and\n (3) by striking paragraph (2).\n\nSEC. 4. EXCLUSION OF LUMP-SUM LIFE INSURANCE PROCEEDS FROM \n DETERMINATIONS OF ANNUAL INCOME FOR PENSION PURPOSES.\n\n Subsection (a) of section 1503 is amended--\n (1) by striking ``and'' at the end of paragraph (9);\n (2) by striking ``materials.'' at the end of paragraph \n (10)(B) and inserting ``materials; and''; and\n (3) by adding at the end the following new paragraph:\n ``(11) lump-sum proceeds of any life insurance policy or \n policies on a veteran, for purposes of pension under subchapter \n III of this chapter.''.\n\nSEC. 5. CLARIFICATION OF PROHIBITION ON PAYMENT OF COMPENSATION FOR \n ALCOHOL OR DRUG-RELATED DISABILITY.\n\n (a) Clarification.--Chapter 11 is amended--\n (1) in section 1110, by striking ``drugs.'' and inserting \n ``drugs, even if the abuse is secondary to a service-connected \n disability.''; and\n (2) in section 1131, by striking ``drugs.'' and inserting \n ``drugs, even if the abuse is secondary to a service-connected \n disability.''.\n (b) Applicability.--The amendments made by subsection (a) shall \napply to any claim--\n (1) filed on or after the date of enactment of this Act; or\n (2) filed before the date of enactment of this Act and not \n finally decided as of that date.\n\nSEC. 6. ALTERNATIVE BENEFICIARIES FOR NATIONAL SERVICE LIFE INSURANCE \n AND UNITED STATES GOVERNMENT LIFE INSURANCE.\n\n (a) National Service Life Insurance.--\n (1) Section 1917 is amended by adding at the end the \n following new subsection:\n ``(f)(1) Following the death of the insured and in a case not \ncovered by subsection (d)--\n ``(A) if the first beneficiary otherwise entitled to \n payment of the insurance does not make a claim for such payment \n within two years after the death of the insured, payment may be \n made to another beneficiary designated by the insured, in the \n order of precedence as designated by the insured, as if the \n first beneficiary had predeceased the insured; and\n ``(B) if, within four years after the death of the insured, \n no claim has been filed by a person designated by the insured \n as a beneficiary and the Secretary has not received any notice \n in writing that any such claim will be made, payment may \n (notwithstanding any other provision of law) be made to such \n person as may in the judgment of the Secretary be equitably \n entitled thereto.\n ``(2) Payment of insurance under paragraph (1) shall be a bar to \nrecovery by any other person.''.\n (b) United States Government Life Insurance.--Section 1952 is \namended by adding at the end the following new subsection:\n ``(c)(1) Following the death of the insured and in a case not \ncovered by section 1950 of this title--\n ``(A) if the first beneficiary otherwise entitled to \n payment of the insurance does not make a claim for such payment \n within two years after the death of the insured, payment may be \n made to another beneficiary designated by the insured, in the \n order of precedence as designated by the insured, as if the \n first beneficiary had predeceased the insured; and\n ``(B) if, within four years after the death of the insured, \n no claim has been filed by a person designated by the insured \n as a beneficiary and the Secretary has not received any notice \n in writing that any such claim will be made, payment may \n (notwithstanding any other provision of law) be made to such \n person as may in the judgment of the Secretary be equitably \n entitled thereto.\n ``(2) Payment of insurance under paragraph (1) shall be a bar to \nrecovery by any other person.''.\n (c) Transition Provision.--In the case of a person insured under \nsubchapter I or II of chapter 19, title 38, United States Code, who \ndies before the date of the enactment of this Act, the two-year and \nfour-year periods specified in subsection (f)(1) of section 1917 of \ntitle 38, United States Code, as added by subsection (a), and \nsubsection (c)(1) of section 1952 of such title, as added by subsection \n(b), as applicable, shall for purposes of the applicable subsection be \ntreated as being the two-year and four-year periods, respectively, \nbeginning on the date of the enactment of this Act.\n\nSEC. 7. TIME LIMITATION ON RECEIPT OF CLAIM INFORMATION PURSUANT TO \n REQUEST BY DEPARTMENT OF VETERANS AFFAIRS.\n\n (a) In General.--Section 5102 is amended by adding at the end the \nfollowing new subsection:\n ``(c) Time Limitation.--\n ``(1) If information that a claimant and the claimant's \n representative, if any, are notified under subsection (b) is \n necessary to complete an application is not received by the \n Secretary within one year from the date of such notification, \n no benefit may be paid or furnished by reason of the claimant's \n application.\n ``(2) This subsection shall not apply to any application or \n claim for Government life insurance benefits.''.\n (b) Repeal of Superseded Provisions.--Section 5103 is amended--\n (1) by striking ``(a) Required Information and Evidence.--\n ''; and\n (2) by striking subsection (b).\n (c) Effective Date.--The amendments made by this section shall take \neffect as if enacted on November 9, 2000, immediately after the \nenactment of the Veterans Claims Assistance Act of 2000 (Public Law \n106-475; 114 Stat. 2096).\n\nSEC. 8. BURIAL PLOT ALLOWANCE.\n\n (a) Subsection (b) of section 2303 is amended--\n (1) in the matter preceding paragraph (1), by striking ``a \n burial allowance under such section 2302, or under such \n subsection, who was discharged from the active military, naval, \n or air service for a disability incurred or aggravated in line \n of duty, or who is a veteran of any war'' and inserting \n ``burial in a national cemetery under section 2402 of this \n title''; and\n (2) in paragraph (2), by striking ``(other than a veteran \n whose eligibility for benefits under this subsection is based \n on being a veteran of any war)'' and inserting ``is eligible \n for a burial allowance under section 2302 of this title or \n under subsection (a) of this section, or was discharged from \n the active military, naval, or air service for a disability \n incurred or aggravated in line of duty, and such veteran''.\n (b) Section 2307 is amended in the last sentence by striking ``and \n(b)'' and inserting ``and (b)(2)''.\n\nSEC. 9. PROVISION OF MARKERS FOR PRIVATELY MARKED GRAVES.\n\n (a) In General.--Subsection (d) of section 502 of the Veterans \nEducation and Benefits Expansion Act of 2001 (Public Law 107-103; 115 \nStat. 995), as amended by section 203 of the Veterans Benefits Act of \n2002 (Public Law 107-330; 116 Stat. 2824), is further amended by \nstriking ``September 11, 2001'' and inserting ``November 1, 1990''.\n (b) Effective Date.--The amendment made by subsection (a) shall \ntake effect as if included in the enactment of section 502 of Public \nLaw 107-103.\n\nSEC. 10. EXPANSION OF BURIAL ELIGIBILITY FOR REMARRIED SPOUSES.\n\n (a) In General.--Paragraph (5) of section 2042 is amended by \nstriking ``(which for purposes of this chapter includes an unremarried \nsurviving spouse who had a subsequent remarriage which was terminated \nby death or divorce)'' and inserting ``(which for purposes of this \nchapter includes a surviving spouse who remarries following the \nveteran's death)''.\n (b) Effective Date.--The amendments made by subsection (a) shall \napply to deaths occurring on or after the date of the enactment of this \nAct.\n\nSEC. 11. MAKE PERMANENT AUTHORITY FOR STATE CEMETERY GRANTS PROGRAM.\n\n (a) Permanent Authorization.--Paragraph (2) of section 2408(a) is \namended--\n (1) by striking ``for fiscal year 1999 and for each \n succeeding fiscal year through fiscal year 2004''; and\n (2) by adding at the end ``Funds appropriated under the \n preceding sentence shall remain available until expended.''.\n (b) Technical Amendment.--Subsection (e) of section 2408 is amended \nby striking ``Sums appropriated under subsection (a) of this section \nshall remain available until expended.''.\n\nSEC. 12. FORFEITURE OF BENEFITS FOR SUBVERSIVE ACTIVITIES.\n\n (a) Addition of Certain Offenses.--Paragraph (2) of section 6105(b) \nis amended by striking ``sections 792, 793, 794, 798, 2381, 2382, 2383, \n2384, 2385, 2837, 2388, 2389, 2390, and chapter 105 of title 18'' and \ninserting ``sections 175, 229, 792, 793, 794, 798, 831, 1091, 2332a, \n2332b, 2381, 2382, 2383, 2384, 2385, 2387, 2388, 2389, 2390, and \nchapter 105 of title 18''.\n (b) Effective Date.--The amendment made by subsection (a) shall \napply to claims filed after the date of the enactment of this Act.\n\nSEC. 13. VETERANS' ADVISORY COMMITTEE ON EDUCATION.\n\n Section 3692 is amended--\n (1) in subsection (a), by inserting ``as far as \n practicable'' after ``include'';\n (2) in subsections (a) and (b), by striking ``chapter 106'' \n and inserting ``chapter 1606'' both places it appears; and\n (3) in subsection (c), by striking ``2003'' and inserting \n ``2013''.\n\nSEC. 14. REPEAL OF EDUCATION LOAN PROGRAM.\n\n (a) Termination of Program.--No loans shall be made under \nsubchapter III of chapter 36 after the date of the enactment of this \nAct, and such subchapter shall be repealed 90 days after such date of \nenactment.\n (b) Closing of Loan Fund.--All monies in the revolving fund \nestablished in the Treasury of the United States of America known as \nthe ``Department of Veterans Affairs Education Loan Fund'' (the \n``Fund'') on the day before the date of repeal of such subchapter III \nshall be transferred to the Department of Veterans Affairs Readjustment \nBenefits Account, and the Fund shall be closed.\n (c) Discharge of Liability.--The liability on any education loan \ndebt outstanding under such subchapter III shall be discharged, and any \noverpayments declared under section 3698(e)(1) of that subchapter shall \nbe waived without further process on the date funds are transferred as \nreferred to in subsection (b) of this section.\n (d) Technical Amendment.--On the date of repeal of such subchapter \nIII, as provided herein, the table of sections at the beginning of \nchapter 36 shall be amended by striking the items relating to \nsubchapter III.\n (e) Conforming Amendments.--\n (1) Chapter 34 is amended--\n (A) by repealing paragraph (2) of section 3462(a); \n and\n (B) in paragraph (1) of section 3485(e), by \n striking ``(other than an education loan under \n subchapter III)''.\n (2) Section 3512 is amended by repealing subsection (f).\n (3) The amendments made by paragraphs (1)(B) and (2) shall \n take effect 90 days after the date of the enactment of this \n Act.\n\nSEC. 15. RESTORATION OF CHAPTER 35 EDUCATION BENEFITS OF CERTAIN \n INDIVIDUALS.\n\n (a) Restoration.--Subsection (h) of section 3512 is amended by \ninserting ``or is involuntarily ordered to full-time National Guard \nduty under section 502(f) of title 32'' following ``title 10''.\n (b) Effective Date.--The amendment made by subsection (a) shall \ntake effect as of September 11, 2001.\n\nSEC. 16. EXPANSION OF MONTGOMERY GI BILL EDUCATION BENEFITS FOR CERTAIN \n SELF-EMPLOYMENT TRAINING.\n\n (a) Self-Employment Training.--Subparagraph (B) of section 3002(3) \nis amended--\n (1) in clause (i) by striking ``and'';\n (2) by adding at the end the following clause:\n ``(iii) a program of self-employment on-job \n training approved as provided in section \n 3677(d) of this title; and''.\n (b) Program Approval.--Section 3677 is amended--\n (1) in subsections (a) and (c), by inserting ``self-\n employment on-job training or'' after ``(other than'';\n (2) in subsection (b)(1), by inserting ``described in \n subsection (a)'' after ``offering training''; and\n (3) by adding at the end the following new subsection:\n ``(d)(1) Any State approving agency may approve a program of self-\nemployment on-job training for purposes of chapter 30 of this title \nonly when it finds that the training is generally recognized as needed \nor accepted for purposes of obtaining licensure to engage in the self-\nemployment occupation or is required for ownership and operation of a \nfranchise that is the objective of the training.\n ``(2) The training entity offering the training for which approval \nis sought under this chapter must submit to the State approving agency \na written application for approval, in the form and with the content as \nprescribed by the Secretary, which shall include such information as is \nrequired by the State approving agency.\n ``(3) As a condition for approving a program of self-employment on-\njob training, the State approving agency must find upon investigation \nthat the following criteria are met:\n ``(A) The training content is adequate to qualify the \n eligible individual for the self-employment occupation that is \n the objective of the training.\n ``(B) The training consists of full-time training for a \n period of less than six months.\n ``(C) The length of the training period is not longer than \n that customarily required to obtain the knowledge, skills, and \n experience needed to successfully engage in the particular \n self-employment occupation that is the objective of the \n training.\n ``(D) The training entity has adequate instructional space, \n equipment, materials, and personnel to provide satisfactory \n training on the job.\n ``(E) The training entity keeps adequate records of each \n trainee's progress toward the self-employment objective and, at \n the end of the training period, issues a license, certificate, \n or other document recording the individual's successful \n completion of the training program.\n ``(F) The training entity and the self-employment on-job \n training program meet such other criteria as the Secretary may \n prescribe and as the State approving agency, with the \n Secretary's approval, may establish.''.\n (c) Conforming Amendment.--Paragraph (2) of section 3687(a) is \namended by inserting ``subsections (a), (b), and (c) of'' before \n``section 3677''.\n (d) Effective Date.--The amendments made by this section shall take \neffect on the date six months after the enactment of this Act and shall \napply to self-employment on-job training approved and pursued on or \nafter that date.", "target": "Veterans Programs Improvement Act of 2003 - Directs the Secretary of Veterans Affairs to increase, as of December 1, 2003, the rates of veterans' disability compensation, additional compensation for dependents, the clothing allowance for certain disabled adult children, and dependency and indemnity compensation for surviving spouses and children.\n\nMakes the effective date for the award of death pension the same as that for the award of death compensation or dependency and indemnity compensation.\n\nExcludes lump-sum insurance proceeds from income for purposes of eligibility for veterans' pensions.\n\nProhibits the payment of veterans' disability compensation for an alcohol- or drug-abuse related disability even if the the alcohol or drug abuse is secondary to a service-connected disability.\n\nProvides alternative beneficiaries for National Service Life Insurance and United States Government Life Insurance proceeds when the first beneficiary does not make a claim.\n\nProvides burial benefit eligibility for a veteran's surviving spouse who remarries following the veteran's death.\n\nMakes permanent the authority for the State cemetery grants program.\n\nRepeals the Department of Veterans Affairs Education Loan program.\n\nIncludes self-employment training under the Montgomery GI Bill.", "feat_title": "A bill to amend title 38, United States Code, to improve the authorities of the Department of Veterans Affairs relating to compensation, dependency and indemnity compensation, pension, education benefits, life insurance benefits, and memorial benefits, to improve the administration of benefits for veterans, and for other purposes.", "evaluation_predictions": [0, 37, 29632, 31, 7, 2350, 7, 4179, 1983, 13, 3888, 19, 21012, 57, 3, 9, 4514, 30, 8, 9090, 13, 13391, 113, 1988, 70, 6107, 16, 455, 12, 993, 8, 1080, 13, 10050, 6107, 5, 94, 92, 14545, 7, 128, 13, 8, 9848, 13, 8, 7491, 7, 13, 1193, 16812, 4710, 11, 119, 6795, 13, 8, 5034, 3684, 1983, 6, 3346, 2651, 1151, 6107, 21, 8976, 502, 11, 3094, 8, 1917, 13, 27804, 6107, 21, 273, 28, 10050, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"text": "SECTION 1. SHORT TITLE.\n\n This Act may be cited as the ``Iran Nonproliferation Amendments Act \nof 2005''.\n\nSEC. 2. FINDINGS.\n\n Congress makes the following findings:\n (1) The Director of Central Intelligence's most recent \n Unclassified Report to Congress on the Acquisition of Technology \n Relating to Weapons of Mass Destruction and Advanced Conventional \n Munitions, 1 July Through 31 December 2003, states ``Russian \n entities during the reporting period continued to supply a variety \n of ballistic missile-related goods and technical know-how to \n countries such as Iran, India, and China. Iran's earlier success in \n gaining technology and materials from Russian entities helped \n accelerate Iranian development of the Shahab-3 MRBM, and continuing \n Russian entity assistance has supported Iranian efforts to develop \n new missiles and increase Tehran's self-sufficiency in missile \n production.''\n (2) Vice Admiral Lowell E. Jacoby, the Director of the Defense \n Intelligence Agency, stated in testimony before the Select \n Committee on Intelligence of the Senate on February 16, 2005, that \n ``Tehran probably will have the ability to produce nuclear weapons \n early in the next decade''.\n (3) Iran has--\n (A) failed to act in accordance with the Agreement Between \n Iran and the International Atomic Energy Agency for the \n Application of Safeguards in Connection with the Treaty on the \n Non-Proliferation of Nuclear Weapons, done at Vienna June 19, \n 1973 (commonly referred to as the ``Safeguards Agreement'');\n (B) acted in a manner inconsistent with the Protocol \n Additional to the Agreement Between Iran and the International \n Atomic Energy Agency for the Application of Safeguards, signed \n at Vienna December 18, 2003 (commonly referred to as the \n ``Additional Protocol'');\n (C) acted in a manner inconsistent with its obligations \n under the Treaty on the Non-Proliferation of Nuclear Weapons, \n done at Washington, London, and Moscow July 1, 1968, and \n entered into force March 5, 1970 (commonly referred to as the \n ``Nuclear Non-Proliferation Treaty''); and\n (D) resumed uranium conversion activities, thus ending the \n confidence building measures it adopted in its November 2003 \n agreement with the foreign ministers of the United Kingdom, \n France, and Germany.\n (4) On September 24, 2005, the Board of Governors of the \n International Atomic Energy Agency (IAEA) formally declared that \n Iranian actions constituted noncompliance with its nuclear \n safeguards obligations, and that Iran's history of concealment of \n its nuclear activities has given rise to questions that are within \n the purview of the United Nations Security Council.\n (5) The executive branch has on multiple occasions used the \n authority provided under section 3 of the Iran Nonproliferation Act \n of 2000 (Public Law 106-178; 50 U.S.C. 1701 note) to impose \n sanctions on entities that have engaged in activities in violation \n of restrictions in the Act relating to--\n (A) the export of equipment and technology controlled under \n multilateral export control lists, including under the \n Australia Group, Chemical Weapons Convention, Missile \n Technology Control Regime, Nuclear Suppliers Group, and the \n Wassenaar Arrangement or otherwise having the potential to make \n a material contribution to the development of weapons of mass \n destruction or cruise or ballistic missile systems to Iran; and\n (B) the export of other items to Iran with the potential of \n making a material contribution to Iran's weapons of mass \n destruction programs or on United States national control lists \n for reasons related to the proliferation of weapons of mass \n destruction or missiles.\n (6) The executive branch has never made a determination \n pursuant to section 6(b) of the Iran Nonproliferation Act of 2000 \n that--\n (A) it is the policy of the Government of the Russian \n Federation to oppose the proliferation to Iran of weapons of \n mass destruction and missile systems capable of delivering such \n weapons;\n (B) the Government of the Russian Federation (including the \n law enforcement, export promotion, export control, and \n intelligence agencies of such government) has demonstrated and \n continues to demonstrate a sustained commitment to seek out and \n prevent the transfer to Iran of goods, services, and technology \n that could make a material contribution to the development of \n nuclear, biological, or chemical weapons, or of ballistic or \n cruise missile systems; and\n (C) no entity under the jurisdiction or control of the \n Government of the Russian Federation, has, during the 1-year \n period prior to the date of the determination pursuant to \n section 6(b) of such Act, made transfers to Iran reportable \n under section 2(a) of the Act.\n (7) On June 29, 2005, President George W. Bush issued Executive \n Order 13382 blocking property of weapons of mass destruction \n proliferators and their supporters, and used the authority of such \n order against 4 Iranian entities, Aerospace Industries \n Organization, Shahid Hemmat Industrial Group, Shahid Bakeri \n Industrial Group, and the Atomic Energy Organization of Iran, that \n have engaged, or attempted to engage, in activities or transactions \n that have materially contributed to, or pose a risk of materially \n contributing to, the proliferation of weapons of mass destruction \n or their means of delivery (including missiles capable of \n delivering such weapons), including efforts to manufacture, \n acquire, possess, develop, transport, transfer, or use such items.\n\nSEC. 3. AMENDMENTS TO IRAN NONPROLIFERATION ACT OF 2000 RELATED TO \n INTERNATIONAL SPACE STATION PAYMENTS.\n\n (a) Treatment of Certain Payments.--Section 7(1)(B) of the Iran \nNonproliferation Act of 2000 (Public Law 106-178; 50 U.S.C. 1701 note) \nis amended--\n (1) by striking the period at the end and inserting a comma; \n and\n (2) by adding at the end the following:\n ``except that such term does not mean payments in cash or in kind \n made or to be made by the United States Government prior to January \n 1, 2012, for work to be performed or services to be rendered prior \n to that date necessary to meet United States obligations under the \n Agreement Concerning Cooperation on the Civil International Space \n Station, with annex, signed at Washington January 29, 1998, and \n entered into force March 27, 2001, or any protocol, agreement, \n memorandum of understanding, or contract related thereto.''.\n (b) Exception.--Section 6(h) of the Iran Nonproliferation Act of \n2000 (Public Law 106-178; 50 U.S.C. 1701 note) is amended by inserting \nafter ``extraordinary payments in connection with the International \nSpace Station'' the following: ``, or any other payments in connection \nwith the International Space Station,''.\n (c) Reporting Requirements.--Section 6 of the Iran Nonproliferation \nAct of 2000 (Public Law 106-178; 50 U.S.C. 1701 note) is amended by \nadding at the end the following new subsection:\n ``(i) Report on Certain Payments Related to International Space \nStation.--\n ``(1) In general.--The President shall, together with each \n report submitted under section 2(a), submit to the Committee on \n Foreign Relations of the Senate and the Committee on International \n Relations of the House of Representatives a report that identifies \n each Russian entity or person to whom the United States Government \n has, since the date of the enactment of the Iran Nonproliferation \n Amendments Act of 2005, made a payment in cash or in kind for work \n to be performed or services to be rendered under the Agreement \n Concerning Cooperation on the Civil International Space Station, \n with annex, signed at Washington January 29, 1998, and entered into \n force March 27, 2001, or any protocol, agreement, memorandum of \n understanding, or contract related thereto.\n ``(2) Content.--Each report submitted under paragraph (1) shall \n include--\n ``(A) the specific purpose of each payment made to each \n entity or person identified in the report; and\n ``(B) with respect to each such payment, the assessment of \n the President that the payment was not prejudicial to the \n achievement of the objectives of the United States Government \n to prevent the proliferation of ballistic or cruise missile \n systems in Iran and other countries that have repeatedly \n provided support for acts of international terrorism, as \n determined by the Secretary of State under section 620A(a) of \n the Foreign Assistance Act of 1961 (22 U.S.C. 2371(a)), section \n 6(j) of the Export Administration Act of 1979 (50 U.S.C. App. \n 2405(j)), or section 40(d) of the Arms Export Control Act (22 \n U.S.C. 2780(d)).''.\n\nSEC. 4. AMENDMENTS TO THE IRAN NONPROLIFERATION ACT OF 2000 TO MAKE \n SUCH ACT APPLICABLE TO IRAN AND SYRIA.\n\n (a) Reports on Proliferation Relating to Iran or Syria.--Section 2 \nof the Iran Nonproliferation Act of 2000 (Public Law 106-178; 50 U.S.C. \n1701 note) is amended--\n (1) in the heading, by striking ``TO IRAN'' and inserting \n ``RELATING TO IRAN AND SYRIA''; and\n (2) in subsection (a)--\n (A) in the matter preceding paragraph (1)--\n (i) by inserting ``or acquired from'' after \n ``transferred to''; and\n (ii) by inserting after ``Iran'' the following: ``, or \n on or after January 1, 2005, transferred to or acquired \n from Syria''; and\n (B) in paragraph (2), by inserting after ``Iran'' the \n following: ``or Syria, as the case may be,''.\n (b) Determination Exempting Foreign Persons From Certain \nMeasures.--Section 5(a) of the Iran Nonproliferation Act of 2000 \n(Public Law 106-178; 50 U.S.C. 1701 note) is amended--\n (1) in paragraph (1), by striking ``transfer to Iran'' and \n inserting ``transfer to or acquire from Iran or Syria, as the case \n may be,''; and\n (2) in paragraph (2), by striking ``Iran's efforts'' and \n inserting ``the efforts of Iran or Syria, as the case may be,''.\n (c) Restriction on Extraordinary Payments in Connection With the \nInternational Space Station.--Section 6(b) of the Iran Nonproliferation \nAct of 2000 (Public Law 106-178; 50 U.S.C. 1701 note) is amended--\n (1) in the heading, by striking ``to Iran'' and inserting \n ``Relating to Iran and Syria'';\n (2) in paragraphs (1) and (2), by striking ``to Iran'' each \n place it appears and inserting ``to or from Iran and Syria''; and\n (3) in paragraph (3), by striking ``to Iran'' and inserting \n ``to or from Iran or Syria''.\n (d) Definitions.--Section 7(2) of the Iran Nonproliferation Act of \n2000 (Public Law 106-178; 50 U.S.C. 1701 note) is amended--\n (1) in subparagraph (C) to read as follows:\n ``(C) any foreign government, including any foreign \n governmental entity; and''; and\n (2) in subparagraph (D), by striking ``subparagraph (B) or \n (C)'' and inserting ``subparagraph (A), (B), or (C), including any \n entity in which any entity described in any such subparagraph owns \n a controlling interest''.\n (e) Short Title.--\n (1) Amendment.--Section 1 of the Iran Nonproliferation Act of \n 2000 (Public Law 106-178; 50 U.S.C. 1701 note) is amended by \n striking ``Iran Nonproliferation Act of 2000'' and inserting ``Iran \n and Syria Nonproliferation Act''.\n (2) References.--Any reference in a law, regulation, document, \n or other record of the United States to the Iran Nonproliferation \n Act of 2000 shall be deemed to be a reference to the Iran and Syria \n Nonproliferation Act.\n\n Speaker of the House of Representatives.\n\n Vice President of the United States and \n President of the Senate.", "target": "Iran Nonproliferation Amendments Act of 2005 - Amends the Iran Nonproliferation Act of 2000 to state that the definition of \"extraordinary payments in connection with the International Space Station\" does not mean payments in cash or in kind made or to be made by the U.S. government prior to January 1, 2012, for work to be performed or services to be rendered prior to that date necessary to meet U.S. obligations under the Agreement Concerning Cooperation on the Civil International Space Station, with annex, signed at Washington January 29, 1998, and entered into force March 27, 2001, or any protocol, agreement, memorandum of understanding, or contract related thereto. (Under such Act the United States is prohibited from making such payments to the Russian Aviation and Space Agency unless specified determinations are made with respect to Russian cooperation in preventing proliferation to Iran, or to a foreign person identified as contributing to proliferation to Iran.)\n\nProhibits any U.S. agency from making extraordinary payments and any other payments (currently, such prohibition is limited to extraordinary payments) in connection with the International Space Station to a foreign person subject to specified measures under such Act or Executive Order No. 12938.\n\n Directs the President to submit to the Committee on Foreign Relations of the Senate and the Committee on International Relations of the House of Representatives a report that identifies each Russian entity or person to whom the United States has, since the date of enactment of this Act, made a cash or in-kind payment under the Agreement.\n\nRequires such report to include: (1) the purpose of each payment; and (2) with respect to each such payment, an assessment that the payment was not prejudicial to preventing the proliferation of ballistic or cruise missile systems in Iran and other countries that have supported acts of international terrorism.\n\n Applies the provisions of such Act to: (1) Syria with respect to transfers on or after January 1, 2005; and (2) transfers to or from such countries (currently, limited to transfers to Iran).\n\nRedefines \"foreign person\" or \"person\" to include any foreign government or government entity (currently, any governmental entity operating as a business enterprise).\n\nRetitles the Iran Nonproliferation Act of 2002 as the Iran and Syria Nonproliferation Act.", "feat_title": "An act to make amendments to the Iran Nonproliferation Act to 2000 related to International Space Station payments, and for other purposes.", "evaluation_predictions": [0, 37, 1983, 19, 21012, 57, 8, 23381, 1983, 13, 3105, 12, 14545, 8, 28000, 7, 13, 8, 7449, 529, 1409, 4597, 2661, 12123, 7, 1983, 13, 2766, 5, 4442, 2279, 24, 8, 4263, 7, 43, 2925, 12, 1899, 96, 9, 1196, 13, 11607, 3040, 16953, 18, 1341, 4968, 11, 2268, 1103, 18, 4067, 121, 12, 1440, 224, 282, 7449, 6, 3, 88, 65, 4567, 12, 1810, 1315, 12, 8, 1181, 18, 134, 15, 1538, 159, 51, 16494, 63, 11, 16, 12374, 13, 8, 4066, 18, 371, 15, 588, 9, 3350, 7, 31, 9076, 30, 4202, 53, 1277, 11, 748, 12, 7449, 5, 37, 5408, 6421, 65, 16049, 3, 16068, 17210, 30, 12311, 113, 43, 3454, 1087, 16, 17880, 13, 8, 7491, 20651, 12, 8, 30693, 13, 2025, 12, 7449, 28, 1055, 6275, 12, 8, 2421, 42, 2421, 7749, 13, 3294, 24512, 5, 86, 811, 6, 2753, 3080, 8905, 4683, 4297, 455, 3, 22974, 4613, 19551, 53, 136, 2025, 12, 19143, 12311, 38, 168, 38, 662, 19143, 12311, 6, 15726, 6633, 18080, 9139, 117, 216, 635, 144, 2913, 563, 117, 3926, 11740, 10731, 122, 23, 9199, 563, 117, 11, 8, 20474, 6402, 827, 9139, 13, 7449, 24, 43, 5908, 87, 13090, 12, 4082, 1636, 16, 1087, 24, 43, 11303, 120, 12932, 12, 70, 606, 6, 42, 7663, 1020, 13, 1037, 12932, 12, 8, 606, 1129, 7749, 13, 5770, 11203, 42, 70, 1243, 18, 715, 1929, 1636, 224, 38, 16953, 7, 9004, 13, 2156, 224, 7749, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"text": "SECTION 1. SHORT TITLE.\n\n This Act may be cited as the ``National Park Service \nEntrepreneurial Management Reform Act of 1994''.\n\nSEC. 2. FEES.\n\n (a) Admission Fees.--Section 4(a) of the Land and Water \nConservation Fund Act of 1965 (16 U.S.C. 460l-4 and following) is \namended as follows:\n (1) In the first sentence of paragraph (1)(A)(i), by \n striking ``$25'' and inserting ``$40''.\n (2) By amending the second sentence of paragraph (1)(A)(i) \n to read as follows: ``The permittee and the accompanying \n spouse, children, and parents of the permittee shall be \n entitled to general admission into any area designated pursuant \n to this section.''.\n (3) By modifying the margin of clause (ii) of paragraph \n (1)(A) to align with the margin of clause (i).\n (4) By inserting at the end of clause (ii) of paragraph \n (1)(A) the following: ``Such receipts shall be made available, \n subject to appropriation, for authorized resource protection, \n rehabilitation, and conservation projects as provided for by \n subsection (i), including projects to be carried out by the \n Public Land Corps or any other conservation corps pursuant to \n the Youth Conservation Corps Act of 1970 (16 U.S.C. 1701 and \n following), or other related programs or authorities, on lands \n administered by the Secretary of the Interior and the Secretary \n of Agriculture.''.\n (5) In paragraph (1)(B), by striking ``$15'' and inserting \n ``$25'' and by adding at the end the following new sentence: \n ``Any amount by which the fee for such an annual permit exceeds \n $15 shall be credited to the appropriation account of the unit \n of the National Park System that collected the fee, shall be \n available to the unit without further appropriation, and shall \n remain available until expended.''.\n (6) In paragraph (2), by inserting ``(A)'' after ``(2)'', \n by striking the fifth and sixth sentences, by amending the \n fourth sentence to read as follows: ``The fee for a single-\n visit permit at any designated area shall be not more than $6 \n per person for persons entering by any means, except that the \n fee shall not exceed $20 for all persons entering a designated \n area in a single noncommercial vehicle.'', and by adding at the \n end the following new subparagraph:\n ``(B) The Secretary shall establish a pilot project at \n Yosemite National Park that utilizes incentives, including \n waiving or reducing admission fees, to encourage use of public \n transit which serves the purpose of reducing vehicular traffic \n within Yosemite National Park.''.\n (7) In paragraph (3), by striking the last sentence.\n (8) In paragraph (4), by striking ``No other free permits \n shall be issued to any person'' and inserting ``No other free \n permits shall be issued to any person, except as otherwise \n provided by this subsection''.\n (9) In paragraph (4), by amending the second sentence to \n read as follows: ``Such permit shall be nontransferable, shall \n be issued for a one-time charge of $10, and shall entitle the \n permittee and the accompanying spouse of the permitee to \n general admission into any area designated pursuant to this \n subsection.''.\n (10) In paragraph (6) by striking ``on Interior and Insular \n Affairs'' and inserting ``on Natural Resources''.\n (11) In paragraph (9), by striking ``San Juan National \n Historic Site, and Canaveral National Seashore'' and inserting \n ``and San Juan National Historic Site'' and by adding the \n following at the end thereof: ``The Secretary of the Interior \n shall submit a report to the Congress within 6 months after the \n enactment of this sentence respecting the areas at which the \n Secretary determines admission fees would be appropriate but at \n which such fees are prohibited by law and respecting each area \n at which such fees are authorized but not being collected \n (including an explanation of the reasons that such fees are not \n being collected).''.\n (12) By amending paragraph (11) to read as follows:\n ``(11) In the case of Yellowstone and Grand Teton National \n Parks, a single-visit fee collected at one unit shall also \n admit the person who paid such fee for a single visit to the \n other unit.''.\n (b) Penalty.--Section 4(e) of the Land and Water Conservation Fund \nAct of 1965 (16 U.S.C. 460l-4 and following) is amended by striking \n``$100'' and inserting ``$1,000''.\n (c) Technical Amendments.--(1) Section 4(h) of the Land and Water \nConservation Fund Act of 1965 (16 U.S.C. 460l-4 and following) is \namended by striking ``on Interior and Insular Affairs of the United \nStates House of Representatives and United States Senate'' and \ninserting ``on Natural Resources of the United States House of \nRepresentatives and on Energy and Natural Resources of the United \nStates Senate'', by striking ``Bureau of Outdoor Recreation'' and \ninserting ``National Park Service'', and by striking ``Bureau'' and \ninserting ``National Park Service''.\n (2) Section 4(g) of the Land and Water Conservation Fund Act of \n1965 (16 U.S.C. 460l-4 and following) is amended by striking ``or \ncharges for commercial or other activities not related to recreation''.\n (d) Use of Fees.--Section 4(i) of the Land and Water Conservation \nFund Act of 1965 (16 U.S.C. 460l-4 and following) is amended as \nfollows:\n (1) By inserting ``Use of Fees.--'' after ``(i)''.\n (2) In the first sentence of paragraph (1)(B), by striking \n ``fee collection costs for that fiscal year'' and inserting \n ``fee collection costs for the immediately preceding fiscal \n year'' and by striking ``section in that fiscal year'' and \n inserting ``section in such immediately preceding fiscal \n year''.\n (3) In the second sentence of paragraph (1)(B), by striking \n ``in that fiscal year''.\n (4) In paragraph (1), by adding at the end the following \n new subparagraph:\n ``(C) Notwithstanding subparagraph (A) and notwithstanding any \nother provision of law, for fiscal years after fiscal year 1995, the \namount by which the receipts collected pursuant to this section by the \nNational Park Service (except for the portion of fee receipts withheld \nas provided in subparagraph (B) for fee collection costs) exceeds the \nreceipts collected pursuant to this section by the National Park \nService in fiscal year 1993 shall be covered into a special fund \nestablished in the Treasury of the United States to be known as the \n`National Park Renewal Fund'. Amounts in such fund shall be available \nto the Secretary of the Interior, without further appropriation, for \nresource protection, research, interpretation, and maintenance \nactivities related to resource protection and visitor enjoyment in \nareas managed by the National Park Service and shall be allocated among \nnational park system units in accordance with subsection (j). Such \namounts shall remain available until expended. The Secretary shall \ndevelop procedures for the use of amounts in the fund that ensure \naccountability and demonstrated results consistent with the purposes of \nthis Act. Beginning after the first full fiscal year following \nenactment of this subparagraph, the Secretary shall submit an annual \nreport to Congress, on a unit-by-unit basis, detailing the fees \nreceipts collected pursuant to this section and the expenditures of \nsuch receipts.''.\n (e) Time of Reimbursement.--Section 4(k) of the Land and Water \nConservation Fund Act of 1965 (16 U.S.C. 460l-4 and following) is \namended by striking the last sentence.\n (f) Fees for Special Uses.--Section 4 of the Land and Water \nConservation Fund Act of 1965 (16 U.S.C. 460l-4 and following) is \namended by adding the following new subsection at the end:\n ``(o) Fees for Special Uses.--The Secretary of the Interior shall \nestablish reasonable fees for nonrecreational uses of national park \nsystem units that require special arrangements, including permits. The \nfees shall be set at such level as the Secretary deems necessary to \ninsure that the United States will receive fair market value for the \nuse of the area concerned and shall, at a minimum, cover all costs of \nproviding necessary services associated with such special uses, except \nthat the Secretary may, in his discretion, waive or reduce such fees in \nthe case of any nonprofit organization or any organization using an \narea within the national park system for educational or park-related \npurposes. Notwithstanding any other provision of law, the Secretary \nshall retain so much of the revenue from such fees as is equal to fee \ncollection costs and the costs of providing the necessary services \nassociated with such special uses. Such retained amounts shall be \ncredited to the appropriation account for the national park system unit \nconcerned and shall remain available until expended, beginning in the \nfiscal year in which the amounts are so credited.''.\n (g) Admission or Recreation Use Fees.--Section 4 of the Land and \nWater Conservation Fund Act of 1965 (16 U.S.C. 460l-4 and following) is \namended by adding the following new subsection at the end:\n ``(p) Admission or Recreation Use Fees.--Notwithstanding any other \nprovision of law, no admission or recreation use fee of any kind shall \nbe charged or imposed for entrance into, or use of, any federally owned \narea operated and maintained by a Federal agency and used for outdoor \nrecreation purposes, except as provided for by this Act.''.\n\nSEC. 3. CHALLENGE COST-SHARE AGREEMENTS.\n\n (a) Agreements.--The Secretary of the Interior is authorized to \nnegotiate and enter into challenge cost-share agreements with \ncooperators. For purposes of this section--\n (1) The term ``challenge cost-share agreement'' means any \n agreement entered into between the Secretary and any cooperator \n for the purpose of sharing costs or services in carrying out \n any authorized functions and responsibilities of the Secretary \n with respect to any unit of the national park system (as \n defined in section 2(a) of the Act of August 8, 1953 (16 U.S.C. \n 1b-1c)), any affiliated area, or any designated national scenic \n or historic trail.\n (2) The term ``cooperator'' means any State or local \n government, public or private agency, organization, \n institution, corporation, individual, or other entity.\n (b) Use of Federal Funds.--In carrying out challenge cost-share \nagreements, the Secretary is authorized, subject to appropriation, to \nprovide the Federal funding share from any funds available to the \nNational Park Service.\n\nSEC. 4. COST RECOVERY FOR DAMAGE TO NATIONAL PARK RESOURCES.\n\n Notwithstanding any other provision of law, any funds payable to \nUnited States as restitution on account of damage to national park \nresources or property shall be paid to the Secretary of the Interior. \nAny such funds, and any other funds received as a result of forfeiture, \ncompromise, or settlement on account of damage to national park \nresources or property shall be credited to the appropriation account \nfor the national park system unit concerned and shall be available, \nwithout further appropriation, for expenditure by the Secretary, \nwithout regard to fiscal year limitation, to improve, protect, or \nrehabilitate any park resources or property which have been damaged by \nthe action of a permittee or any unauthorized person.", "target": "National Park Service Entrepreneurial Management Reform Act of 1994 - Amends the Land and Water Conservation Fund Act of 1965 to increase fees for admission to units of the National Park System (NPS) and other specified areas. Makes receipts from admission available, subject to appropriation, for authorized resource protection, rehabilitation, and conservation projects. \n(Sec. 2) Requires the Secretary of the Interior to establish a pilot project at Yosemite National Park that utilizes incentives, including waiving or reducing admission fees, to encourage use of public transit which serves the purpose of reducing vehicular traffic within such park. \nRevises provisions regarding the issuance of lifetime admission permits, including a limitation that such a permit entitles only the permittee and the accompanying spouse to free admission. \nDirects the Secretary to report to the Congress respecting areas where the Secretary determines that admission fees would be appropriate but where such fees are prohibited by law, and areas where such fees are authorized but not being collected. \nIncreases the penalty for violations of rules and regulations regarding admission and special recreation use fees. \nModifies provisions regarding the use of fees collected. Requires that specified receipts be covered into a special National Park Renewal Fund. Makes such funds available for resource protection, research, interpretation, and maintenance activities related to resource protection and visitor enjoyment in areas managed by the National Park Service. \nRepeals a requirement that qualified public or private entities selling annual admission permits reimburse the United States for the full amount to be received from the sale of such permits when or before the agency delivers the permits to such entity for sale. \nDirects the Secretary to establish reasonable fees for nonrecreational uses of NPS units that require special arrangements. \nProhibits charging an admission or recreation use fee for entrance into, or use of, any federally owned area operated and maintained by a Federal agency which is used for outdoor recreation purposes, except as provided for by such Act. \n(Sec. 3) Authorizes the Secretary to: (1) negotiate and enter into agreements with State or local governments, individuals, or other entities for the purpose of sharing costs or services in carrying out authorized functions and responsibilities of the Secretary with respect to NPS units; and (2) provide, subject to appropriation, the Federal funding share from any funds available to the National Park Service in carrying out such agreements. \n(Sec. 4) Requires any funds payable to the United States as restitution for damages to national park resources or property to be paid to the Secretary and made available for improvement, protection, or rehabilitation of damaged resources or property.", "feat_title": "National Park Service Entrepreneurial Management Reform Act of 1994", "evaluation_predictions": [0, 37, 1157, 2447, 313, 7884, 19, 3, 9, 5139, 1810, 13, 7520, 5, 290, 33, 14172, 12, 8, 1353, 13, 8, 2216, 18, 232, 18, 3552, 18260, 3563, 1983, 11, 1151, 9076, 30, 2572, 3051, 5, 94, 92, 1112, 8, 866, 13, 540, 540, 19768, 12, 8, 1157, 1061, 15260, 57, 8, 7471, 21, 3135, 1438, 16, 8, 616, 365, 8, 7491, 7, 13, 1193, 16812, 4710, 5, 37, 12183, 11, 2336, 18260, 3069, 6775, 13, 19201, 14545, 7, 8, 9848, 13, 8, 166, 1375, 6, 84, 963, 66, 3500, 1026, 45, 8, 1157, 9307, 117, 34, 92, 617, 7, 430, 1375, 2651, 192, 996, 14442, 7, 10, 96, 188, 2572, 21, 80, 719, 719, 1522, 36, 705, 145, 17255, 399, 568, 121, 117, 11, 8, 119, 29233, 7, 560, 96, 29, 32, 119, 339, 14079, 121, 117, 42, 96, 29, 3258, 119, 339, 5720, 535, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"text": "SECTION 1. SHORT TITLE.\n\n This Act may be cited as the ``Overseas Citizens Voting Rights Act \nof 1996''.\n\nSEC. 2. EXTENSION OF PERIOD FOR RECEIPT OF ABSENTEE BALLOTS.\n\n Section 102 of the Uniformed and Overseas Citizens Absentee Voting \nAct (42 U.S.C. 1973ff-1) is amended--\n (1) by striking out ``and'' at the end of paragraph (2);\n (2) by striking out the period at the end of paragraph (3) \n and inserting in lieu thereof ``; and''; and\n (3) by adding at the end the following new paragraph:\n ``(4) permit absentee ballots to be received at least until \n the close of polls on election day.''.\n\nSEC. 3. EXTENSION OF FEDERAL WRITE-IN ABSENTEE BALLOT PROVISIONS TO \n SPECIAL, PRIMARY, AND RUNOFF ELECTIONS.\n\n (a) In General.--Section 103(a) of the Uniformed and Overseas \nCitizens Absentee Voting Act (42 U.S.C. 1973ff-2(a)) is amended--\n (1) by inserting after ``general'' the following: ``, \n special, primary, and runoff''; and\n (2) by striking out ``States,'' and inserting in lieu \n thereof ``State''.\n (b) Special Rules.--Section 103(c) of the Uniformed and Overseas \nCitizens Absentee Voting Act (42 U.S.C. 1973ff-2(c)) is amended--\n (1) in paragraph (1), by inserting after ``candidate or'' \n the following: ``, with respect to a general or special \n election,''; and\n (2) in paragraph (2), by inserting after ``candidate or'' \n the following: ``with respect to a general election''.\n (c) Use of Approved State Absentee Ballot in Place of Federal \nWrite-in Absentee Ballot.--Section 103(e) of the Uniformed and Overseas \nCitizens Absentee Voting Act (42 U.S.C. 1973ff-2(e)) is amended by \nstriking out ``a general'' and inserting in lieu thereof ``an''.\n (d) Certain States Exempted.--Section 103(f) of the Uniformed and \nOverseas Citizens Absentee Voting Act (42 U.S.C. 1973ff-2(f)) is \namended by striking out ``general'' each place it appears.\n (e) Effective Date.--The amendments made by this section shall \napply with respect to elections taking place after December 31, 1996.\n\nSEC. 4. USE OF ELECTRONIC RETURN OF ABSENTEE BALLOTS.\n\n (a) In General.--Section 104 of the Uniformed and Overseas Citizens \nAbsentee Voting Act (42 U.S.C. 1973ff-3) is amended--\n (1) by striking out ``and'' at the end of paragraph (8);\n (2) by striking out the period at the end of paragraph (9) \n and inserting in lieu thereof ``; and''; and\n (3) by adding at the end the following new paragraph:\n ``(10) in consultation with the Presidential designee, \n consider means for providing for expeditious methods for the \n return of absentee ballots, including return by electronic \n transmittal, with maximum regard for ballot secrecy, audit \n procedures, and other considerations relating to the integrity \n of the election process.''.\n (b) Secrecy and Verification of Electronically Transmitted \nBallots.--Section 104 of the Uniformed and Overseas Citizens Absentee \nVoting Act (42 U.S.C. 1973ff-3) is amended--\n (1) by striking out ``To afford'' and inserting in lieu \n thereof ``(a) In General.--To afford''; and\n (2) by adding at the end the following new subsection:\n ``(b) Secrecy and Verification of Electronically Transmitted \nBallots.--No electronic transmittal or related procedure under \nsubsection (a)(10) that is paid for, in whole or in part, with Federal \nfunds may be carried out in any manner that (1) permits any person \nother than the voter to view a completed ballot, or (2) otherwise \ncompromises ballot secrecy. At the earliest possible opportunity, the \noriginal of each completed ballot that is transmitted electronically \nshall be submitted in a secrecy envelope to the applicable location in \nthe State involved.''\n\nSEC. 5. ELECTRONIC TRANSMITTAL OF BALLOTING MATERIALS.\n\n (a) In General.--The Uniformed and Overseas Citizens Absentee \nVoting Act (42 U.S.C. 1973ff et seq.) is amended by adding at the end \nthe following new sections:\n\n``SEC. 108. ELECTRONIC TRANSMITTAL OF BALLOTING MATERIALS.\n\n ``(a) In General.--Each State, in cooperation with the Presidential \ndesignee, shall establish a system for electronic transmittal of \nballoting materials for overseas voters. The system shall provide for--\n ``(1) electronic transmittal as an alternative method for \n transmittal of balloting materials to overseas voters;\n ``(2) use of the format of the official post card form \n prescribed under section 101 (or the format of any other \n registration form provided for under State law) for purposes of \n absentee voter registration application and absentee ballot \n application, with the condition that a State may require \n receipt of a form with an original signature before the ballot \n of the voter is counted;\n ``(3) furnishing of absentee ballots by electronic \n transmittal, from locations within the State, as selected by \n the chief State election official, to overseas voters who \n request such transmittal; and\n ``(4) special alternative methods of transmittal of \n balloting materials for use only when required by an emergency \n declared by the President or the Congress.\n ``(b) Funding Requirement.--The requirements of subsection (a) \nshall apply to a State with respect to an election--\n ``(1) if there is full payment by the Federal Government of \n any additional cost incurred by the State after the date of the \n enactment of this Act for the implementation of such subsection \n (a), with such costs to be determined by the Presidential \n designee and the chief State election official, acting jointly; \n or\n ``(2) in any case of less than full payment, as described \n in paragraph (1), if the State, in the manner provided for \n under the law of the State, agrees to the application of such \n requirements.\n\n``SEC. 109. NOTIFICATION REQUIREMENT FOR APPROVAL OF ELECTRONIC \n TRANSMITTAL METHOD.\n\n ``The Presidential designee may not approve use of any method of \nelectronic transmittal for purposes of this Act, unless, not later than \n90 days before the effective date of the approval, the Presidential \ndesignee submits to the Congress a detailed report describing the \nmethod.''.\n (b) Definition Amendment.--Section 107 of the Uniformed and \nOverseas Citizens Absentee Voting Act (42 U.S.C. 1973ff-6) is amended--\n (1) by striking out ``and'' at the end of paragraph (7);\n (2) by striking out the period at the end of paragraph (8) \n and inserting in lieu thereof ``; and''; and\n (3) by adding at the end the following new paragraph:\n ``(9) the term `electronic transmittal' means, with respect \n to balloting materials, transmittal by facsimile machine or \n other electronic method approved by the Presidential \n designee.''.\n (c) Effective Date.--The amendments made by this section shall \napply with respect to elections taking place after December 31, 1996.\n\nSEC. 6. REPORT PROVISION.\n\n Section 101(b)(6) of the Uniformed and Overseas Citizens Absentee \nVoting Act (42 U.S.C. 1973ff(b)(6)) is amended--\n (1) by striking out ``participation and'' and inserting in \n lieu thereof ``participation,''; and\n (2) by inserting before the period at the end the \n following: ``, and a separate analysis of electronic \n transmittal of balloting materials''.\n\n Passed the House of Representatives May 14, 1996.\n\n Attest:\n\n ROBIN H. CARLE,\n\n Clerk.", "target": "Overseas Citizens Voting Rights Act of 1996 - Amends the Uniformed and Overseas Citizens Absentee Voting Act to require each State to allow absentee ballots to be received at least until the closing of polls on election day. \n(Sec. 3) Extends the Federal write-in ballot provisions to include special, primary, and run-off elections. \n(Sec. 4) Recommends that the States consider, with respect to absent uniformed services voters and overseas voters, means to provide for the expeditious return of absentee ballots, including return by electronic transmittal. \n(Sec. 5) Requires each State to establish a system for electronic transmittal of balloting materials for overseas voters. Sets forth provisions concerning system requirements, including funding and notification requirements.", "feat_title": "Overseas Citizens Voting Rights Act of 1996", "evaluation_predictions": [0, 86, 8, 5034, 343, 7819, 6, 8, 25606, 4396, 28, 3, 9, 5023, 16, 84, 3, 88, 7181, 8, 3172, 13, 10601, 2166, 5, 94, 19, 359, 12, 817, 178, 24, 8, 1181, 18, 16812, 9, 3350, 7, 33, 59, 352, 12, 428, 95, 70, 96, 6740, 121, 21, 4442, 11, 143, 135, 72, 952, 12, 1845, 34, 5, 328, 2204, 12, 474, 30, 1831, 8, 337, 1569, 38, 79, 103, 44, 8, 4356, 239, 5, 37, 711, 962, 3315, 149, 10861, 54, 911, 16524, 7, 57, 893, 1517, 42, 5657, 550, 16524, 7, 5, 71, 381, 13, 12123, 7, 43, 118, 974, 12, 8, 7491, 7, 13, 1193, 17585, 10, 5568, 3, 14388, 19, 21012, 57, 6585, 91, 8, 97, 1059, 21, 1205, 13, 8787, 4617, 15, 16524, 7, 117, 1375, 3, 17864, 92, 617, 7, 1151, 9848, 81, 20554, 7, 45, 8, 2822, 789, 31, 7, 96, 17434, 2219, 976, 224, 38, 96, 27369, 121, 42, 96, 5771, 17, 13281, 121, 9768, 117, 11, 6795, 3, 17864, 560, 96, 994, 9045, 53, 2315, 1215, 9045, 15, 26, 535, 100, 1810, 92, 14545, 7, 4750, 21, 11924, 53, 151, 12, 1205, 14101, 15, 15, 11839, 57, 3031, 5790, 5, 5212, 1375, 4277, 7, 126, 6795, 1636, 96, 427, 3437, 52, 4554, 19751, 19751, 11303, 7, 535, 6656, 538, 56, 4797, 3, 9, 748, 21, 3507, 16524, 7, 1204, 57, 10055, 10861, 5, 1698, 538, 56, 169, 8, 607, 14327, 365, 5568, 13736, 21, 3659, 13, 8605, 15, 15, 3816, 917, 11, 10018, 3816, 917, 117, 11, 258, 370, 452, 2467, 15, 15, 3691, 2807, 21, 10055, 10861, 117, 11, 3608, 13661, 2254, 13, 27707, 138, 13, 16524, 1397, 21, 169, 131, 116, 1316, 5, 5034, 343, 7, 164, 174, 12, 726, 21, 224, 15700, 7, 552, 8, 2753, 1299, 7, 3, 9, 934, 20185, 8, 1573, 13, 9153, 1947, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"text": "SECTION 1. SHORT TITLE.\n\n This Act may cited as the ``District of Columbia Full Self-\nGovernment Act''.\n\n TITLE I--STATUS OF THE DISTRICT OF COLUMBIA\n\nSEC. 101. STATUS OF THE DISTRICT.\n\n (a) In General.--All of the territory constituting the permanent \nseat of the Government of the United States shall continue to be \ndesignated as the District of Columbia. The District of Columbia shall \nremain and continue a body corporate, as provided in section 2 of the \nRevised Statutes relating to the District (sec. 1-102, D.C. Official \nCode).\n (b) No Effect on Existing Laws.--No law or regulation which is in \nforce on the effective date of this Act shall be deemed amended or \nrepealed by this Act except to the extent specifically provided herein \nor to the extent that such law or regulation is inconsistent with this \nAct, but any such law or regulation may be amended or repealed by act \nor resolution as authorized in this Act, or by Act of Congress.\n (c) No Effect on Boundary Line.--Nothing contained in this section \nshall affect the boundary line between the District of Columbia and the \nCommonwealth of Virginia as the same was established or may be \nsubsequently established under the provisions of title I of the Act of \nOctober 31, 1945 (59 Stat. 552).\n\nSEC. 102. LEGISLATIVE POWER OF DISTRICT OF COLUMBIA.\n\n Except as provided in section 202, the legislative power of the \nDistrict of Columbia shall extend to all rightful subjects of \nlegislation within the District consistent with the Constitution of the \nUnited States and the provisions of this Act subject to all the \nrestrictions and limitations imposed upon the States by the tenth \nsection of the first article of the Constitution of the United States.\n\n TITLE II--LEGISLATIVE BRANCH\n\nSEC. 201. ESTABLISHMENT OF THE COUNCIL.\n\n (a) Establishment.--There is established a Council of the District \nof Columbia (hereafter in this Act referred to as the ``Council''), and \nthe members of the Council shall be elected by the registered qualified \nelectors of the District.\n (b) Powers, Organization, and Procedure.--The powers, organization, \nand procedure of the Council shall be set forth under such laws as may \nbe enacted by the District of Columbia consistent with the provisions \nof this Act.\n\nSEC. 202. LIMITATIONS ON AUTHORITY.\n\n The Council shall have no authority to pass any act contrary to the \nprovisions of this Act except as specifically provided in this Act, or \nto--\n (1) impose any tax on property of the United States or any \n of the several States;\n (2) lend the public credit for support of any private \n undertaking;\n (3) enact any act, or enact any act to amend or repeal any \n Act of Congress, which concerns the functions or property of \n the United States or which is not restricted in its application \n exclusively in or to the District of Columbia;\n (4) enact any act, resolution, or rule with respect to any \n provision of title 11 of the District of Columbia Official Code \n (relating to organization and jurisdiction of the District of \n Columbia courts);\n (5) impose any tax on the whole or any portion of the \n personal income, either directly or at the source thereof, of \n any individual not a resident of the District (the terms \n ``individual'' and ``resident'' in this paragraph to have the \n meaning given such terms in section 47-1801.04, D.C. Official \n Code);\n (6) enact any act, resolution, or rule which permits the \n building of any structure within the District of Columbia in \n excess of the height limitations contained in section 5 of the \n Act of June 1, 1910 (sec. 5-405, D.C. Official Code), and in \n effect on the effective date of this Act;\n (7) enact any act, resolution, or regulation with respect \n to the Commission of Mental Health;\n (8) enact any act or regulation relating to the United \n States District Court for the District of Columbia or any other \n court of the United States in the District other than the \n District courts, or relating to the duties or powers of the \n United States attorney or the United States Marshal for the \n District of Columbia; or\n (9) enact any act, resolution, or rule with respect to the \n District of Columbia Financial Responsibility and Management \n Assistance Authority established under section 101(a) of the \n District of Columbia Financial Responsibility and Management \n Assistance Act of 1995.\n\n TITLE III--EXECUTIVE BRANCH\n\nSEC. 301. OFFICE OF THE MAYOR.\n\n (a) Establishment.--There is established the Office of the Mayor of \nthe District of Columbia, and the Mayor shall be elected by the \nregistered qualified electors of the District.\n (b) Powers and Duties.--The powers and duties of the Mayor of the \nDistrict of Columbia, and the organization of the Office of the Mayor \nof the District of Columbia, shall be set forth under such laws as may \nbe enacted by the District of Columbia consistent with the provisions \nof this Act.\n\nSEC. 302. TREATMENT OF EMPLOYEES FORMERLY COVERED BY FEDERAL CIVIL \n SERVICE SYSTEM.\n\n In the case of persons employed by the District government \nimmediately preceding the effective date of the personnel system \nestablished by the District government pursuant to section 422(3) of \nthe District of Columbia Home Rule Act, the personnel system of the \nDistrict government may provide for continued participation in all or \npart of the Federal Civil Service System and shall provide for \nbenefits, including but not limited to pay, tenure, leave, residence, \nretirement, health and life insurance, and employee disability and \ndeath benefits, all at least equal to those provided by legislation \nenacted by Congress, or regulation adopted pursuant thereto, and \napplicable to such officers and employees immediately prior to such \ndate, except that nothing in this Act shall prohibit the District from \nseparating an officer or employee subject to such system in the \nimplementation of a financial plan and budget for the District \ngovernment approved under subtitle A of title II of the District of \nColumbia Financial Responsibility and Management Assistance Act of \n1995.\n\nSEC. 303. RESTRICTIONS ON CERTAIN MUNICIPAL PLANNING ACTIVITIES.\n\n The Mayor's planning responsibility shall not extend to Federal and \ninternational projects and developments in the District, as determined \nby the National Capital Planning Commission, or to the United States \nCapitol buildings and grounds as defined in chapter 51 of title 40, \nUnited States Code, or to any extension thereof or addition thereto, or \nto buildings and grounds under the care of the Architect of the \nCapitol.\n\nSEC. 304. EMERGENCY CONTROL OF METROPOLITAN POLICE DEPARTMENT.\n\n (a) Authority of President To Exercise Control in Emergencies.--\n (1) Authority.--Notwithstanding any other provision of law, \n whenever the President of the United States determines that \n special conditions of an emergency nature exist which require \n the use of the Metropolitan Police force for Federal purposes, \n he may direct the Mayor to provide him, and the Mayor shall \n provide, such services of the Metropolitan Police force as the \n President may deem necessary and appropriate.\n (2) Limitation of duration of authority.--In no case shall \n services made available pursuant to any direction of the \n President under this subsection extend--\n (A) for a period in excess of 48 hours unless the \n President has, prior to the expiration of such period, \n notified the chairman and ranking minority member of \n the Committee on Oversight and Government Reform of the \n House of Representatives and the chairman and ranking \n minority member of the Committee on Homeland Security \n and Governmental Affairs of the Senate, in writing, as \n to the reason for such direction and the period of time \n during which the need for such services is likely to \n continue; or\n (B) for any period in excess of 30 days, unless the \n Senate and the House of Representatives enact into law \n a joint resolution authorizing such an extension.\n (b) Termination.--\n (1) In general.--Subject to paragraph (2), the services \n made available in accordance with subsection (a) shall \n terminate upon the end of such emergency, the expiration of a \n period of 30 days following the date on which such services are \n first made available, or the enactment into law of a joint \n resolution by the Congress providing for such termination, \n whichever first occurs.\n (2) Special rule in case of adjournment of congress sine \n die.--Notwithstanding paragraph (1), in any case in which \n services are made available in accordance with subsection (a) \n during any period of an adjournment of the Congress sine die, \n such services shall terminate upon the end of the emergency, \n the expiration of the 30-day period following the date on which \n Congress first convenes following such adjournment, or the \n enactment into law of a joint resolution by the Congress \n providing for such termination, whichever first occurs.\n\n TITLE IV--JUDICIAL BRANCH\n\nSEC. 401. JUDICIAL BRANCH.\n\n The judicial powers of the District of Columbia, and the provisions \nof the charter of the District of Columbia government which are \napplicable to the judges and courts of the District of Columbia, shall \nbe those set forth in part C of title IV of the District of Columbia \nHome Rule Act (sec. 1-204.31 et seq., D.C. Official Code), as in effect \non the effective date of this Act.\n\n TITLE V--BUDGET AND FINANCIAL MANAGEMENT\n\nSEC. 501. APPLICATION OF LAWS ESTABLISHED BY DISTRICT OF COLUMBIA.\n\n (a) Budget and Financial Management.--Subject to this Act, the \nprocess by which the District of Columbia develops and enacts the \nbudget for the District government for a fiscal year, and the \nactivities carried out with respect to the financial management of the \nDistrict government for a fiscal year, shall be established under such \nlaws as may be enacted by the District.\n (b) Borrowing.--Subject to this Act, the process and rules by which \nthe District of Columbia issues bonds or otherwise borrows money shall \nbe established under such laws as may be enacted by the District.\n\nSEC. 502. FULL FAITH AND CREDIT OF UNITED STATES NOT PLEDGED.\n\n The full faith and credit of the United States is not pledged for \nthe payment of any principal of or interest on any bond, note, or other \nobligation issued by the District of Columbia, and the United States is \nnot responsible or liable for the payment of any principal of or \ninterest on any bond, note, or other obligation issued by the District.\n\nSEC. 503. FEDERAL TAX EXEMPTION.\n\n Bonds and notes issued by the District of Columbia and the interest \nthereon shall be exempt from all Federal taxation except estate, \ninheritance, and gift taxes.\n\nSEC. 504. LEGAL INVESTMENT IN BONDS AND NOTES ISSUED BY DISTRICT OF \n COLUMBIA.\n\n Notwithstanding any restriction on the investment of funds by \nfiduciaries contained in any other law, all domestic insurance \ncompanies, domestic insurance associations, executors, administrators, \nguardians, trustees, and other fiduciaries within the District of \nColumbia may legally invest any sinking funds, moneys, trust funds, or \nother funds belonging to them or under or within their control in any \nbonds issued by the District of Columbia. National banking associations \nare authorized to deal in, underwrite, purchase and sell, for their own \naccounts or for the accounts of customers, bonds and notes issued by \nthe District to the same extent as national banking associations are \nauthorized by paragraph seven of section 5136 of the Revised Statutes \n(12 U.S.C. 24), to deal in, underwrite, purchase and sell obligations \nof the United States, States, or political subdivision thereof. All \nFederal building and loan associations and Federal savings and loan \nassociations, and banks, trust companies, building and loan \nassociations, and savings and loan associations, domiciled in the \nDistrict may purchase, sell, underwrite, and deal in, for their own \naccount or for the account of others, all bonds or notes issued by the \nDistrict of Columbia. Nothing contained in this section shall be \nconstrued as relieving any person, firm, association, or corporation \nfrom any duty of exercising due and reasonable care in selecting \nsecurities for purchase or investment.\n\n TITLE VI--RETENTION OF FEDERAL AUTHORITIES\n\nSEC. 601. RETENTION OF CONGRESSIONAL AUTHORITY.\n\n Notwithstanding any other provision of this Act, Congress reserves \nthe right, at any time, to exercise its constitutional authority as \nlegislature for the District of Columbia, by enacting legislation for \nthe District on any subject, whether within or without the scope of \nlegislative power granted to the Council by this Act, including \nlegislation to amend or repeal any law in force in the District prior \nto or after the effective date of this Act and any act passed by the \nCouncil.\n\nSEC. 602. LIMITATION ON AUTHORITY OF DISTRICT OVER CERTAIN AGENCIES.\n\n Nothing in this Act shall be construed as vesting in the District \nof Columbia government any greater authority over the National \nZoological Park, the National Guard of the District of Columbia, the \nWashington Aqueduct, the National Capital Planning Commission, or over \nany Federal agency, than was vested in the Commissioner of the District \nof Columbia established under Reorganization Plan Numbered 3 of 1967 \nprior to January 2, 1975.\n\n TITLE VII--TERMINATION OF EXISTING CHARTER; TRANSITION\n\nSEC. 701. TERMINATION OF EXISTING CHARTER.\n\n (a) In General.--Except as provided in section 401 and subsection \n(b), the District of Columbia Home Rule Act (sec. 1-201.01 et seq., \nD.C. Official Code) is repealed.\n (b) No Effect on Amendatory Provisions.--Nothing in subsection (a) \nshall be construed to affect any provision of law which is amended or \nrepealed by the District of Columbia Home Rule Act.\n\nSEC. 702. NO EFFECT ON EXISTING OBLIGATIONS.\n\n (a) Budgets.--Nothing in this Act or in the amendment made by \nsection 701 may be construed to relieve the District of Columbia of any \ncontractual or other financial obligations incurred by the District \nunder a budget enacted for a fiscal year prior to the effective date of \nthis Act.\n (b) Borrowing.--Nothing in this Act or in the amendment made by \nsection 701 may be construed--\n (1) to relieve the District of Columbia of any obligation \n incurred with respect to bonds or other forms of borrowing \n issued prior to the effective date of this Act; or\n (2) to waive the application to the District of Columbia of \n any other Federal law governing the borrowing of funds by \n States or units of local government, including the Internal \n Revenue Code of 1986.\n\nSEC. 703. NO EFFECT ON INDIVIDUALS HOLDING POSITIONS WITHIN DISTRICT \n GOVERNMENT.\n\n Nothing in this Act or in the amendment made by section 701 may be \nconstrued to affect the status of any individual who holds elective or \nappointed office in, or is an officer or employee of, the government of \nthe District of Columbia as of the effective date of this Act.\n\nSEC. 704. NO EFFECT ON PENDING ACTIONS OR PROCEEDINGS.\n\n No suit, action, or other judicial proceeding lawfully commenced by \nor against any officer or agency in his or its official capacity or in \nrelation to the exercise of his or its official functions, and no \nadministrative action or proceeding lawfully commenced, shall abate by \nreason of this Act or the amendment made by section 701.\n\n TITLE VIII--EFFECTIVE DATE\n\nSEC. 801. EFFECTIVE DATE.\n\n This Act and the amendments made by this Act shall take effect on \nthe effective date of legislation enacted by the District of Columbia \nafter the date of the enactment of this Act which establishes--\n (1) the powers, organization, and procedure of the Council \n of the District of Columbia; and\n (2) the powers and duties of the Mayor of the District of \n Columbia, and the organization of the Office of the Mayor of \n the District of Columbia.", "target": "District of Columbia Full Self-Government Act - Declares that: (1) this Act shall have no effect on existing law or regulation unless otherwise repealed or amended by this Act or an Act of Congress; and (2) the legislative power of the District shall extend to all rightful subjects of legislation within the District consistent with the U.S. Constitution and the provisions of this Act, subject to all the restrictions and limitations imposed upon the states by the Constitution.\n\nEstablishes a Council of the District of Columbia and the Office of the Mayor.\n\nPrescribes requirements for treatment of District employees formerly covered by the Federal Civil Service System.\n\nProhibits the Mayor's planning responsibility from extending to federal and District international projects and developments.\n\nPrescribes requirements granting the President emergency control of the Metropolitan Police Department.\n\nDeclares that the District's judicial powers and the provisions of the District charter applicable to District judges and courts shall be those set forth in the District of Columbia Home Rule Act as in effect on the enactment of this Act.\n\nSubjects the process by which the District develops and enacts its fiscal year budget and related financial management activities to such laws as the District may enact.\n\nDeclares that the full faith and credit of the United States is not pledged for any District obligations, nor is the United States responsible or liable for them.\n\nExempts all District bonds and notes (and interest) from federal taxation, except estate, inheritance, and gift taxes. Authorizes certain entities to invest in District bonds and notes.\n\nReserves Congress the right to exercise constitutional authority as legislature for the District.\n\nRepeals the District of Columbia Home Rule Act (establishing the existing District charter), but not any provision of law amended or repealed by such Act.", "feat_title": "To establish the charter for the government of the District of Columbia.", "evaluation_predictions": [0, 37, 3939, 13, 8183, 65, 118, 3, 9, 96, 6965, 2849, 976, 11, 34, 19, 230, 8, 3939, 31, 7, 3574, 3143, 5, 37, 3570, 56, 916, 12, 36, 3, 9, 11861, 6, 68, 150, 973, 42, 9464, 24, 19, 16, 2054, 1286, 8, 18652, 833, 13, 48, 23312, 133, 36, 21012, 42, 5821, 57, 6704, 42, 3161, 5, 37, 14751, 11552, 13, 8, 3939, 1522, 4285, 12, 273, 1426, 12, 9076, 11, 10005, 30, 8, 2315, 5, 37, 6098, 56, 43, 150, 579, 12, 1903, 136, 6775, 15943, 12, 8, 28000, 7, 13, 100, 1983, 3578, 21, 3346, 937, 16, 12689, 1983, 117, 12, 3, 12436, 5161, 30, 785, 45, 8, 907, 1323, 3701, 136, 13, 8, 119, 2315, 117, 16173, 8, 452, 6529, 21, 380, 13, 959, 1045, 16529, 117, 11, 12, 14545, 42, 3601, 136, 1983, 13, 27197, 84, 3315, 8, 1681, 42, 785, 13, 532, 907, 1323, 42, 3339, 19, 59, 12103, 139, 165, 917, 9829, 44, 42, 12, 8, 3939, 5, 37, 2063, 164, 1810, 38, 3, 9, 1144, 13, 8, 16492, 16492, 2126, 828, 6, 298, 8, 12394, 225, 36, 8160, 57, 724, 13, 8, 1157, 1784, 1459, 5473, 5, 37, 5803, 11, 1652, 113, 33, 8152, 1884, 12, 8, 2822, 313, 358, 54, 911, 1393, 4081, 12, 273, 7020, 57, 6704, 3, 695, 9925, 57, 4442, 42, 13683, 7546, 19890, 288, 270, 235, 5, 37, 10516, 1459, 3263, 1178, 4285, 12, 2716, 1195, 42, 3950, 365, 8, 2686, 13, 8, 3, 13188, 13, 8, 18808, 535, 37, 6601, 12014, 2935, 17, 7, 56, 59, 36, 2225, 12, 103, 72, 145, 370, 364, 28, 3583, 1124, 5, 37, 2753, 54, 169, 8, 25233, 2095, 2054, 38, 46, 3583, 3193, 250, 8, 3583, 523, 12, 36, 4771, 5, 37, 789, 405, 59, 1457, 224, 364, 552, 8, 27405, 2103, 7, 8, 13404, 13, 8, 4492, 30, 147, 7, 2632, 11, 789, 18490, 11, 2204, 7, 12, 240, 1567, 13, 8, 5362, 5, 37, 14743, 11, 8773, 398, 36, 7604, 12, 294, 205, 13, 11029, 314, 13, 8, 3570, 31, 7, 234, 3356, 1983, 5, 37, 981, 758, 433, 47, 2127, 365, 824, 3786, 38, 487, 5, 5034, 5028, 130, 92, 11330, 12, 4032, 16, 13237, 42, 13237, 5, 5034, 8175, 10906, 228, 805, 11, 1789, 13237, 42, 3358, 437, 361, 4817, 23, 1208, 7686, 33, 13595, 11496, 5, 4442, 4532, 8, 269, 12, 1912, 14751, 579, 16, 8, 3939, 57, 3, 35, 26797, 6704, 21, 8, 14126, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{"model_type": "albert", "pytorch": true, "tensorflow": true, "flax": true, "processor": "AutoTokenizer"}
{"model_type": "align", "pytorch": true, "tensorflow": false, "flax": false, "processor": "AutoProcessor"}
{"model_type": "altclip", "pytorch": true, "tensorflow": false, "flax": false, "processor": "AutoProcessor"}
{"model_type": "audio-spectrogram-transformer", "pytorch": true, "tensorflow": false, "flax": false, "processor": "AutoFeatureExtractor"}
{"model_type": "autoformer", "pytorch": true, "tensorflow": false, "flax": false, "processor": "AutoTokenizer"}
{"model_type": "bark", "pytorch": true, "tensorflow": false, "flax": false, "processor": "AutoProcessor"}
{"model_type": "bart", "pytorch": true, "tensorflow": true, "flax": true, "processor": "AutoTokenizer"}
{"model_type": "beit", "pytorch": true, "tensorflow": false, "flax": true, "processor": "AutoImageProcessor"}
{"model_type": "bert", "pytorch": true, "tensorflow": true, "flax": true, "processor": "AutoTokenizer"}
{"model_type": "bert-generation", "pytorch": true, "tensorflow": false, "flax": false, "processor": "AutoTokenizer"}
{"text": "SICKO MODE Lyrics\nAstro, yeah\nSun is down, freezin cold\nThats how we already know, winters here\nMy dawg would probably do it for a Louis belt\nThats just all he know, he dont know nothin else\nI tried to show em, yeah\nI tried to show em, yeah, yeah\nYeah, yeah, yeah\nGoin on you with the pick and roll\nYoung La Flame, he in sicko mode\n Made this here with all the ice on in the booth\nAt the gate outside, when they pull up, they get me loose\nYeah, Jump Out boys, thats Nike boys, hoppin out coupes\nThis shit way too big, when we pull up, give me the loot \nWas off the Remy, had a Papoose\nHad to hit my old town to duck the news\nTwo-four hour lockdown, we made no moves\nNow its 4 AM and Im back up poppin with the crew\nI just landed in, Chase B mixes pop like Jamba Juice\nDifferent colored chains, think my jeweler really sellin fruits\nAnd they chokin, man, know the crackers wish it was a noose\nSome-Some-Some-Someone said\nTo win the retreat, we all in too deep\nPlay-Play-Playin for keeps, dont play us for weak \nTo win the retreat, we all in too deep\nPlay-Play-Playin for keeps, dont play us for weak\nYeah, this shit way too formal, yall know I dont follow suit\nStacey Dash, most of these girls aint got a clue\nAll of these hoes I made off records I produced\nI might take all my exes and put em all in a group\nHit my eses, I need the bootch\nBout to turn this function to Bonnaroo\nTold her, Hop in, you comin too\nIn the 305, bitches treat me like Im Uncle Luke\nHad to slop the top off, its just a roof, uh\nShe said, Where we goin? I said, The moon\nWe aint even make it to the room\nShe thought it was the ocean, its just the pool\nNow I got her open, its just the Goose\nWho put this shit together? Im the glue\nSomeone said\nShorty FaceTimed me out the blue\nSomeone said\nPlay-Playin for keeps\nSomeone said, mother, someone said\nDont play us for weak\nYeah!\nAstro, yeah, yeah\nAyy, ayy\nShes in love with who I am\nBack in high school, I used to bus it to the dance \nNow I hit the FBO with duffels in my hands\nI did half a Xan, thirteen hours til I land\nHad me out like a light, ayy, yeah\nLike a light, ayy, yeah\nLike a light, ayy, slept through the flight, ayy\nKnocked for the night, ayy\n767, man, this shit got double bedroom, man\nI still got scores to settle, man\nI crept down the block \nMade a right \nCut the lights , paid the price \nNiggas think its sweet , its on sight \nNothin nice , baguettes in my ice \nJesus Christ , checks over stripes \nThats what I like , thats what we like \nLost my respect, you not a threat\nWhen I shoot my shot, that shit wetty like Im Sheck \nSee the shots that I took , wet like Im Book \nWet like Im Lizzie\nI be spinnin Valley, circle blocks til Im dizzy \nLike where is he? \nNo one seen him \nIm tryna clean em \nShes in love with who I am\nBack in high school, I used to bus it to the dance\nNow I hit the FBO with duffels in my hands \nI did half a Xan, thirteen hours til I land\nHad me out like a light \nLike a light \nLike a light \nLike a light\nYeah, passed the dawgs a celly\nSendin texts, aint sendin kites, yeah\nHe said, Keep that on lock\nI say, You know this shit, its stife, yeah\nIts absolute, yeah , Im back, reboot \nLaFerrari to Jamba Juice, yeah \nWe back on the road, they jumpin off, no parachute, yeah\nShorty in the back\nShe said she workin on her glutes, yeah \nAint by the book, yeah, this how it look, yeah\nBout a check, yeah , just check the foots, yeah\nPass this to my daughter, Ima show her what it took \nBaby mama cover Forbes, got these other bitches shook\nYeah736Embed"}
{"text": "Hotline Bling Lyrics\nYou used to call me on my\nYou used to, you used to\nYeah\nYou used to call me on my cell phone\nLate-night when you need my love\nCall me on my cell phone\nLate-night when you need my love\nAnd I know when that hotline bling\nThat can only mean one thing\nI know when that hotline bling\nThat can only mean one thing\nEver since I left the city, you\nGot a reputation for yourself now\nEverybody knows and I feel left out\nGirl, you got me down, you got me stressed out\nCause ever since I left the city, you\nStarted wearing less and goin out more\nGlasses of champagne out on the dance floor\nHangin with some girls I never seen before\nYou used to call me on my cell phone\nLate-night when you need my love\nCall me on my cell phone\nLate-night when you need my love\nI know when that hotline bling\nThat can only mean one thing\nI know when that hotline bling\nThat can only mean one thing\nEver since I left the city, you, you, you\nYou and me, we just dont get along\nYou make me feel like I did you wrong\nGoing places where you dont belong\nEver since I left the city, you\nYou got exactly what you asked for\nRunning out of pages in your passport\nHangin with some girls Ive never seen before\nYou used to call me on my cell phone\nLate-night when you need my love\nCall me on my cell phone\nLate-night when you need my love\nAnd I know when that hotline bling\nThat can only mean one thing\nI know when that hotline bling\nThat can only mean one thing\nThese days, all I do is\nWonder if youre bendin over backwards for someone else\nWonder if youre rolling up a Backwoods for someone else\nDoing things I taught you, gettin nasty for someone else\nYou dont need no one else\nYou dont need nobody else, no\nWhy you never alone?\nWhy you always touching road?\nUsed to always stay at home\nBe a good girl, you was in the zone\nYeah, you should just be yourself\nRight now, youre someone else\nYou used to call me on my cell phone\nLate-night when you need my love\nCall me on my cell phone\nLate-night when you need my love\nAnd I know when that hotline bling\nThat can only mean one thing\nI know when that hotline bling\nThat can only mean one thing\nEver since I left the city\n643Embed"}
{"text": "One Dance Lyrics\nBaby, I like your style\nGrips on your waist, front way, back way\nYou know that I dont play\nStreets not safe but I never run away\nEven when Im away\nOti, oti\nTheres never much love when we go OT\nI pray to make it back in one piece\nI pray, I pray\nThats why I need a one dance\nGot a Hennessy in my hand\nOne more time fore I go\nHigher powers taking a hold on me\nI need a one dance\nGot a Hennessy in my hand\nOne more time fore I go\nHigher powers taking a hold on me\nBaby, I like your style\nStrength and guidance\nAll that Im wishing for my friends\nNobody makes it from my ends\nI had to bust up the silence\nYou know you gotta stick by me\nSoon as you see the text, reply me\nI dont wanna spend time fighting\nWeve got no time, and thats why\nI need a one dance\nGot a Hennessy in my hand\nOne more time fore I go\nHigher powers taking a hold on me\nI need a one dance\nGot a Hennessy in my hand\nOne more time fore I go\nHigher powers taking a hold on me\nGot a pretty girl and she love me long time\nWine it, wine it, she love me long time\nOh, yeah, very long time\nBack up, back up, back up, and wine am\nBack up, back up, and wine am, girl, just\nBack up, back up, back up, and wine am\nOh, yeah, very long time\nBack, up, back up and wine am, girl\nOh, tell me, I need to know\nWhere do you wanna go?\nCause if youre down, Ill take it slow\nMake you lose control\nWhere, where, where\nWhere, where, where, where \nWhere, where, where \nWhere, where, where, where\nCause if youre down \nCause if youre down \nCause if youre down \nI need a one dance \nGot a Hennessy in my hand \nOne more time fore I go \nHigher powers taking a hold on me \nI need a one dance\nGot a Hennessy in my hand\nOne more time fore I go\nHigher powers taking a hold on me\nHow do you spell Hennessy?\nI put two Ns and two Ses, is it like that? Hen... Henn... Henn...\nIts definitely not showing up\nI know Hennessy has two Ses for sure, so Im gonna take out one of the Ns232Embed"}
{"text": "Know Yourself Lyrics\nHol it yute, hol it, hol it, hol it, hol it, hol it\nNo sleepin in the streets!\nShaky warrior\nYeah, this that Oliver, 40, Niko shit man\n15 Fort York shit, yknow?\nBoi-1da, whats poppin?\nYeah, yeah\nRunnin through the 6 with my woes\nCountin money, you know how it goes\nPray the real live forever, man\nPray the fakes get exposed\nI want that Ferrari, then I swerve\nI want that Bugatti, just to hurt\nI aint rockin my jewelry, thats on purpose\nNiggas want my spot and dont deserve it\nI dont like how serious they take themselves\nIve always been me, I guess I know myself\nShakiness, man, I dont have no time for that\nMy city too turned up, Ill take the fine for that\nThis been where you find me at\nThats been where you find me at\nI know a nigga named Johnny Bling\nHe put me on to the finer things\nHad a job sellin Girbaud jeans\nI had a yellow TechnoMarine\nThen Kanye dropped, it was polos and backpacks\nMan, that was when Ethan was pushin a Subaru hatchback\nMan, Im talkin way before hashtags\nI was runnin through the 6 with my woes\nI was runnin through the 6 with my woes\nYou know how that shit go\nYou know how that shit go\nYou know how that shit go\nRunnin through the 6 with my woes\nYou know how that shit go\nYou know how that shit go\nYou know how that shit go\nDont fuck with them niggas, they too irrational, woah\nThis is that nasty flow\nTop boy in this shit, Im so international\nReps up is in here\nGot P Reign and Chubby and TJ and Winnie and woah\nYeah, and you know how that shit go\nI might declare it a holiday as soon as Baka get back on the road\nYeah, but you know how that shit go\nThey so irrational, they dont wanna patch it up\nThey wanna mash it up, woah\nMy nigga Jibba, he whip it, I ride in the passenger\nIm way up, I stay up, Im two up, Im three up\nI had to get back to you, woah\nIm turnin into a nigga that thinks about money and women\nLike 24/7, thats where my life took me\nThats just how shit happened to go\nAnd you know\nRunnin through the 6 with my, with my\nI was running through the 6 with my woes\nAnd you know how that shit go\nYou know how that shit go\nYou know how that shit go\nRunnin through the 6 with my woes\nYou know how that shit go\nYou know how that shit go\nYou know how that shit go\nRunnin through the 6 with my woes\nYou know how that shit go\n...Shell out, all if yuh eye nuh big\nAlways haffi look out, yuh no know if yuh head book out\nDun know, a de Unruly boss, dis man\nNo bomboclat, otha\nAnd if a boy nuh like OVO or Chromatic\nYuh can jus suck yuh mada!!\nWith no apology, if you nuh like we, we nuh like you neither youth\nYour girl a say we cute, if you diss you will get execute\nThats the truth, OVO Unruly\nWith my woes1.1KEmbed"}
{"texts": ["#ifndef _OSMO_BACKTRACE_H_\n#define _OSMO_BACKTRACE_H_\n\nvoid osmo_generate_backtrace(void);\nvoid osmo_log_backtrace(int subsys, int level);\n\n#endif\n"], "meta": {"pile_set_name": "Github"}, "scores": [0.003628324717283249], "avg_score": 0.003628324717283249, "num_sents": 1}
{"texts": ["Thank you for noticing and glad you appreciate it! ", "Yes it took more than two days on foot to reach this remote mountaintop."], "meta": {"pile_set_name": "OpenWebText2"}, "scores": [0.0005120296846143901, 0.0006715859635733068], "avg_score": 0.0005918078240938485, "num_sents": 2}
{"texts": ["Q:\n\nHow do I greet the user when they log into my website?", "\n\nI'm trying to greet the user when they log into my django website, but using the django login has made it too difficult to send a message to my template and redirect to the new url behind the scenes. ", "How can I greet the user(preferrably with that user's name) on the template of the url I redirect to?", "\nI've tried working with messages, but redirecting to the new url always overrides the message and it never appears. ", "Regular logging in and out works fine, I'm just trying to figure out how to display welcome text to the user to let them know they have successfully logged in and are using their own account.", "\nviews.py\ndef loginPage(request):\n return render(request, \"registration/login.html\")\n\ndef login(request):\n username = request.", "POST['username']\n password = request.", "POST['password']\n user = authenticate(request, username=username, password=password)\n if user is not None:\n #Success!", "\n messages.success(request, \"Welcome \" + user) #NOT WORKING :(\n login(request, user)\n else:\n return HttpReponseRedirect(\"/DataApp/accounts/login/\")\n\nsettings.py\n# Application definition\n\nINSTALLED_APPS = [\n 'DataApp.apps.", "DataappConfig',\n 'session_security',\n 'django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n]\n\nMIDDLEWARE = [\n 'django.middleware.security.", "SecurityMiddleware',\n 'django.contrib.sessions.middleware.", "SessionMiddleware',\n 'django.middleware.common.", "CommonMiddleware',\n 'django.middleware.csrf.", "CsrfViewMiddleware',\n 'django.contrib.auth.middleware.", "AuthenticationMiddleware',\n 'session_security.middleware.", "SessionSecurityMiddleware',\n 'django.contrib.messages.middleware.", "MessageMiddleware',\n 'django.middleware.clickjacking.", "XFrameOptionsMiddleware',\n]\n\nROOT_URLCONF = 'WebscrapeApp.urls'\n\nTEMPLATES = [\n{\n 'BACKEND': 'django.template.backends.django.", "DjangoTemplates',\n 'DIRS': [os.path.join(BASE_DIR, '/DataApp/templates')],\n 'APP_DIRS': True,\n 'OPTIONS': {\n 'context_processors': [\n \"django.template.context_processors.debug\",\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages',\n ],\n },\n },\n]\n\nWSGI_APPLICATION = 'WebscrapeApp.wsgi.application'\n\n# Database\n# https://docs.djangoproject.com/en/2.2/ref/settings/#databases\n\nDATABASES = {\n 'default': {\n 'ENGINE': 'django.db.backends.sqlite3',\n 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),\n }\n}\n\n# Password validation\n# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators\n\nAUTH_PASSWORD_VALIDATORS = [\n {\n 'NAME': 'django.contrib.auth.password_validation.", "UserAttributeSimilarityValidator',\n },\n {\n 'NAME': 'django.contrib.auth.password_validation.", "MinimumLengthValidator',\n },\n {\n 'NAME': 'django.contrib.auth.password_validation.", "CommonPasswordValidator',\n },\n {\n 'NAME': 'django.contrib.auth.password_validation.", "NumericPasswordValidator',\n },\n]\n\n# Internationalization\n# https://docs.djangoproject.com/en/2.2/topics/i18n/\n\nLANGUAGE_CODE = 'en-us'\n\nTIME_ZONE = 'America/New_York'\n\nUSE_I18N = True\n\nUSE_L10N = True\n\nUSE_TZ = True\n\n# Static files (CSS, JavaScript, Images)\n# https://docs.djangoproject.com/en/2.2/howto/static-files/\n\nSTATIC_URL = '/static/'\n\nLOGIN_URL = \"/DataApp/accounts/login/\"\nLOGIN_REDIRECT_URL = \"/DataApp/search/\"\n\nSESSION_EXPIRE_AT_BROWSER_CLOSE = True\n\nSESSION_SECURITY_WARN_AFTER = 900\nSESSION_SECURITY_EXPIRE_AFTER = 1200\n\nMEDIA_ROOT = os.path.join(BASE_DIR, 'media')\nMEDIA_URL = '/media/'\n\nbase.html\n<!-- ", "This is nested in a div tag inside of the html class body -->\n{% if messages %}\n <ul class=\"messages\">\n {% for message in messages %}\n <li{% if message.tags %} class=\"{{ message.tags }}\" {% endif %}>\n {{ message }}</li>\n {% endfor %}\n </ul>\n{% endif %}\n\nI wanted the message to appear within base.html after passing it but it appears django's login function overrides the sending of the message behind the scenes.", "\nSolution:\nbase.html\n<p>\n {% if not user.is_anonymous %}\n <font color=\"#00ccff\">\n Welcome {{ user }}\n </font>\n {% endif %}\n</p>\n\nviews.html\ndef login_view(request):\n username = request.", "POST['username']\n password = request.", "POST['password']\n user = authenticate(request, username=username, password=password)\n if user is not None:\n #Success!", "\n login(request, user)\n context = {\n \"user\": user\n }\n return render(request, \"base.html\", context)\n else:\n return HttpReponseRedirect(\"/DataApp/accounts/login/\")\n\nA:\n\nfirst rename login function, like login_view etc.", "\nif that doesn't solve your problem, do these also\nif user is not None:\n login(request, user)\n context = {\n \"user\": user\n }\n return render(request, \"base.html\", context)\n\n{% if user %}\n Welcome {{ user }}\n{% endif %}\n\n"], "meta": {"pile_set_name": "StackExchange"}, "scores": [0.0008103788713924587, 0.0006065513007342815, 0.0006062770262360573, 0.0006441940786316991, 0.0005999771528877318, 0.0007620727410539985, 0.0006604138179682195, 0.0007620610995218158, 0.0006669898284599185, 0.0007455485174432397, 0.000770227110479027, 0.0007972376188263297, 0.00080048170639202, 0.0007887129904702306, 0.0007939462084323168, 0.0008092421921901405, 0.0014353920705616474, 0.0008291011909022927, 0.0008003726834431291, 0.0006758119561709464, 0.0007140252273529768, 0.0006833587540313601, 0.0008324434165842831, 0.0007771864184178412, 0.000803203321993351, 0.0006604138179682195, 0.0007620610995218158, 0.0006921105086803436, 0.0010522155789658427], "avg_score": 0.0007704140795073632, "num_sents": 29}
{"texts": ["Q:\n\nSpring boot application for background workers\n\nI have defined the following Spring boot application:\n@SpringBootApplication\npublic class Application implements CommandLineRunner {\n\n public static void main(String[] args) {\n new SpringApplicationBuilder(Application.class).web(WebApplicationType.", "NONE).run(args);\n }\n\n public void run(String... args) throws Exception {\n Thread.currentThread().join();\n }\n}\n\nI also have a package of workers (i.e. could be classes which implements Runnable). ", "They are supposed to run indefinitely.", "\nWhat is the \"Spring way\" to run them? (", "and doing so automatically, without explicitly knowing them)\nThanks\n\nA:\n\nand doing so automatically, without explicitly knowing them\n\nThere's no mechanism to automatically run some Runnables from a certain place. ", "You need to find a way to inform Spring about these classes.", "\nThree common scenarios:\n\nExecute some code during the application startup: ApplicationRunner and CommandLineRunner.", "\n\nYou either congregate Runnables and wrap them up into an [Application|CommandLine]Runner which should be a bean (e.g. @Bean, @Component, etc) or make each Runnable a separate [Application|CommandLine]Runner.", "\n\nExecute some code at some point of time: TaskExecutor.", "\n\nYou inject a TaskExecutor and give it previously gathered Runnables.", "\n\nExecute some code repeatedly: TaskScheduler.", "\n\nYou inject a TaskScheduler and give it previously gathered Runnables, plus a trigger.", "\nMore details: Task Execution and Scheduling\n\nA:\n\nYou could (1) have your classes that implement Runnable be annotated with @Component, so that Spring can find them. ", " You can then (2) write a WorkManager, annotated with @Service, with an @Autowired List - which Spring would initialize with a list instances of all your classes from (1). ", " And could (3) write a @PostConstruct method in your WorkManager that would iterate over that list of Runnables, and pass each one to a TaskExecutor to run...\n\n"], "meta": {"pile_set_name": "StackExchange"}, "scores": [0.0007375333225354552, 0.001047798665240407, 0.0006575878360308707, 0.0006865360774099827, 0.0006301497924141586, 0.0006513060652650893, 0.0006613352452404797, 0.0008449800661765039, 0.0007049441919662058, 0.0009193044388666749, 0.0009699492366053164, 0.0026735516730695963, 0.0006234854809008539, 0.0008844196563586593, 0.0010315021499991417], "avg_score": 0.0009149589265386263, "num_sents": 15}
{"texts": ["\n\nShow HN: Facebook Legacy - telecuda\nhttp://www.youtube.com/watch?v=ZdoJxA0Pw3E\n\n======\nface7hill\nThis is a pretty compelling idea. ", "I hope you implement it.", "\n\n"], "meta": {"pile_set_name": "HackerNews"}, "scores": [0.0008393442840315402, 0.0006361220730468631, 0.001995444530621171], "avg_score": 0.001156970295899858, "num_sents": 3}
{"texts": ["The effects of Crenotherapy and exercise in peripheral arterial occlusive disease. ", "A comparison with simple exercise training.", "\nConservative therapies for patients affected by Peripheral Arterial Occlusive Disease (PAOD) aim first to correct the risk factors and to slow down the disease progression. ", "Among these, exercise has positive effects on blood flow, muscle metabolism and well demonstrated systemic effects. ", "These include reduction of chronic inflammation markers, improvement of walking mechanics and heart function. ", "Controlled physical training increases the ability to perform the daily activities improving life expectancy of these patients. ", "The aim of this study is to evaluate the effects and the effectiveness of physical training performed in thermal water compared to traditional treadmill walking exercise. ", "98 patients affected by IIb stage PAOD, according to Leriche-Fontaine classification, were enrolled. ", "Patients were randomized into two groups: the first arm carried out an intensive training program under medical supervision (group A); the second one carried out a rehabilitative exercise associated with crenotherapy (group B). ", "The following parameters were detected: Ankle-Brachial pressure index (ABI), actual claudication distance (ACD), maximum walking distance (MWD), flow mediated dilatation (FMD) and the intima-media thickness (IMT). ", "All patients underwent Doppler echocardiography and complete biochemical assay. ", "In both groups, there was a statistically significant improvement of lipidaemia compared to baseline. ", "When compared with each other, the two groups did not show statistically significant differences. ", "There were no significant differences between the two groups regarding echocardiographic findings. ", "Vascular reactivity study showed a statistically significant improvement of FMD after 3 months of exercise in both groups. ", "In crenotherapy group (B) FMD values were significantly higher than the treadmill ones (A). ", "In both groups a statistically significant improvement in ACD was observed CONCLUSIONS: Our experience shows that crenotherapy has similar effects compared to traditional physical training in the treatment of PAOD, being equally well tolerated and safe; it gives an advantage over conventional physical training in terms of ACD and MWD improvement, although not statistically significant, and it is extremely welcome to patients compared to traditional physical training. ", "Arterioscleroses, Intermittent Claudicatio, Peripheral Arterial Diseasen, Physical Exercise, Rehabilitation."], "meta": {"pile_set_name": "PubMed Abstracts"}, "scores": [0.0011312314309179783, 0.000605820445343852, 0.0006935492274351418, 0.0006739232921972871, 0.0005634862463921309, 0.0006365235894918442, 0.000558659085072577, 0.0006543747149407864, 0.0005827714339829981, 0.0006288576987572014, 0.0007113214815035462, 0.0005730800330638885, 0.0006061519961804152, 0.0006236281478777528, 0.0005607687635347247, 0.0005795459728688002, 0.0005530078778974712, 0.0006789897452108562], "avg_score": 0.0006453161768149585, "num_sents": 18}
{"texts": ["Q:\n\nApplying XML coloration style on TextMergeViewer Eclipse\n\nI recently found this guy's website, claiming he had found a way to set XML syntax coloration in a TextMergeViewer, a thing that is not \"naturally possible\" in Eclipse.", "\nHere is the URL of his website : https://vzurczak.wordpress.com/2010/09/25/merge-compare-dialogs-and-xml-syntax-highlighting/\nHowever, the way he dealt with the issue seems to be not applicable right now (in 2016, and I am running Eclipse 4.4.0). ", "The two major problems I found are the following ones :\n\nStructuredTextViewer cannot be resolved as a type (I see many forums telling that we cannot/could not access it)\nIt looks impossible to cast a StructuredTextViewerConfigurationXML to a SourceViewerConfiguration.", "\n\nI am not pretending that he is a liar, but I guess that I missed something, or Eclipse performed some internal changes affecting his code, written in 2010.", "\nIf someone knows how to solve these issues, his help would be welcomed.", "\nThanks for reading.", "\n\nA:\n\nStructuredTextEditor and related classes are part of the Eclipse Web Tools. ", "In particular the 'Eclipse XML Editors and Tools' feature.", "\nSome downloads of Eclipse include this, other don't. ", "If you don't have it you can install it using 'Install New Software...'. ", "Choose you main Eclipse site and look for 'Eclipse XML Editors and Tools' in the 'Web, XML, Java EE and OSGi Enterprise Development' section.", "\n\n"], "meta": {"pile_set_name": "StackExchange"}, "scores": [0.0005807622219435871, 0.00063709617825225, 0.0006680150981992483, 0.010254394263029099, 0.0005217608995735645, 0.0005707488162443042, 0.0006705060950480402, 0.0005957666435278952, 0.0006320465472526848, 0.0008225580095313489, 0.0005728760152123868, 0.001995444530621171], "avg_score": 0.001543497943202965, "num_sents": 12}
{"repo_name": "pansapiens/mytardis", "path": "tardis/apps/mx_views/views.py", "copies": "3", "size": "2892", "content": "from django.conf import settings\nfrom django.core.paginator import Paginator, InvalidPage, EmptyPage\nfrom django.http import HttpResponse\n\nfrom tardis.tardis_portal.auth import decorators as authz\nfrom tardis.tardis_portal.models import Dataset\nfrom tardis.tardis_portal.shortcuts import get_experiment_referer\nfrom tardis.tardis_portal.shortcuts import render_response_index\n\n\n@authz.dataset_access_required\ndef view_full_dataset(request, dataset_id):\n \"\"\"Displays a MX Dataset and associated information.\n\n Shows a full (hundreds of images) dataset its metadata and a list\n of associated files with the option to show metadata of each file\n and ways to download those files. With write permission this page\n also allows uploading and metadata editing.\n\n Settings for this view:\n INSTALLED_APPS += (\"tardis.apps.mx_views\",)\n DATASET_VIEWS = [(\"http://synchrotron.org.au/views/dataset/full\",\n \"tardis.apps.mx_views.views.view_full_dataset\"),]\n\n \"\"\"\n dataset = Dataset.objects.get(id=dataset_id)\n\n def get_datafiles_page():\n # pagination was removed by someone in the interface but not here.\n # need to fix.\n pgresults = 100\n\n paginator = Paginator(dataset.datafile_set.all(), pgresults)\n\n try:\n page = int(request.GET.get('page', '1'))\n except ValueError:\n page = 1\n\n # If page request (9999) is out of range, deliver last page of results.\n\n try:\n return paginator.page(page)\n except (EmptyPage, InvalidPage):\n return paginator.page(paginator.num_pages)\n\n display_images = dataset.get_images()\n image_count = len(display_images)\n if image_count > 4:\n # take 4 evenly spaced images from the set\n display_images = display_images[0::image_count / 4][:4]\n\n upload_method = getattr(settings, \"UPLOAD_METHOD\", \"uploadify\")\n\n c = {\n 'dataset': dataset,\n 'datafiles': get_datafiles_page(),\n 'parametersets': dataset.getParameterSets()\n .exclude(schema__hidden=True),\n 'has_download_permissions':\n authz.has_dataset_download_access(request, dataset_id),\n 'has_write_permissions':\n authz.has_dataset_write(request, dataset_id),\n 'from_experiment': \\\n get_experiment_referer(request, dataset_id),\n 'other_experiments': \\\n authz.get_accessible_experiments_for_dataset(request, dataset_id),\n 'display_images': display_images,\n 'upload_method': upload_method,\n 'default_organization':\n getattr(settings, 'DEFAULT_ARCHIVE_ORGANIZATION', 'classic'),\n 'default_format':\n getattr(settings, 'DEFAULT_ARCHIVE_FORMATS', ['tgz', 'tar'])[0]\n }\n return HttpResponse(render_response_index(\n request, 'mx_views/view_full_dataset.html', c))\n", "license": "bsd-3-clause", "hash": -8726488663588781404, "line_mean": 37.0526315789, "line_max": 79, "alpha_frac": 0.6549100968, "autogenerated": false, "ratio": 4.011095700416089, "config_test": false, "has_no_keywords": false, "few_assignments": false}
{"repo_name": "jvs/sourcer", "path": "tests/test_salesforce.py", "copies": "1", "size": "5119", "content": "from sourcer import Grammar\n\n# This is work in progress.\n# See: https://help.salesforce.com/articleView?id=customize_functions.htm&type=5\n\ng = Grammar(r'''\n ```\n import ast\n ```\n\n start = Expression\n\n Expression = OperatorPrecedence(\n Atom | \"(\" >> Expression << \")\",\n Postfix(ArgumentList | FieldAccess),\n Prefix(\"-\" | \"+\" | \"!\"),\n RightAssoc(\"^\"),\n LeftAssoc(\"*\" | \"/\"),\n LeftAssoc(\"+\" | \"-\" | \"&\"),\n NonAssoc(\"<=\" | \"<\" | \">=\" | \">\"),\n NonAssoc(\"!=\" | \"<>\" | \"==\" | \"=\"),\n LeftAssoc(\"&&\"),\n LeftAssoc(\"||\"),\n )\n\n class ArgumentList {\n arguments: \"(\" >> (Expression /? \",\") << \")\"\n }\n\n class FieldAccess {\n field: \".\" >> Word\n }\n\n Atom = Global | Identifier | Rational | Integer | String\n\n class Global {\n name: \"$\" >> Word\n }\n\n class Identifier {\n name: Word\n }\n\n # ASK: What is the real syntax for these things?\n Word = /[_a-zA-Z][_a-zA-Z0-9]*/\n Rational = /(\\d+\\.\\d*)|(\\d*\\.\\d+)/ |> `float`\n Integer = /\\d+/ |> `int`\n StringLiteral = /(\"([^\"\\\\]|\\\\.)*\")/ | /('([^'\\\\]|\\\\.)*')/\n\n # For now, just use ast module to evaluate string literals.\n class String {\n value: StringLiteral |> `ast.literal_eval`\n }\n\n ignore /\\s+/\n\n''', include_source=True)\n\n\naliases = {\n '=': '==',\n '<>': '!=',\n}\n\n\nconstants = {\n 'NULL': None,\n 'TRUE': True,\n 'FALSE': False,\n}\n\n\n# Incomplete collection of evaluators.\nevaluators = {\n '*': lambda x, y: x * y if x is not None and y is not None else None,\n '/': lambda x, y: x / y if x is not None and y is not None else None,\n '+': lambda x, y: x + y if x is not None and y is not None else None,\n '-': lambda x, y: x - y if x is not None and y is not None else None,\n '==': lambda x, y: x == y,\n '!=': lambda x, y: x != y,\n '&&': lambda x, y: x and y,\n '||': lambda x, y: x or y,\n '>': lambda x, y: x > y if x is not None and y is not None else False,\n '<': lambda x, y: x < y if x is not None and y is not None else False,\n '>=': lambda x, y: x >= y if x is not None and y is not None else False,\n '<=': lambda x, y: x <= y if x is not None and y is not None else False,\n 'AND': lambda *a: all(a),\n 'CONTAINS': lambda x, y: str(y) in str(x) if x is not None else True,\n 'IF': lambda x, y, z: y if x else z,\n 'ISBLANK': lambda x: x is None,\n 'LOG': lambda x: log10(x) if x is not None else None,\n 'MAX': lambda *a: max(*a),\n 'MIN': lambda *a: min(*a),\n 'MOD': lambda x, y: (x % y) if x is not None and y is not None else None,\n 'NOT': lambda x: not(x),\n 'OR': lambda *a: any(a),\n 'SQRT': lambda x: sqrt(x) if x is not None else None,\n 'TEXT': lambda x: str(x),\n}\n\n\ndef evaluate(node, bindings):\n # Look up identifiers.\n if isinstance(node, g.Identifier):\n if node.name in bindings:\n return bindings[node.name]\n\n name = node.name.upper()\n return bindings.get(name, name)\n\n # Look up fields.\n if isinstance(node, g.Postfix) and isinstance(node.operator, g.FieldAccess):\n obj, field = node.left, node.operator.field\n if hasattr(obj, field):\n return getattr(obj, field)\n elif isinstance(obj, dict):\n return obj.get(field)\n else:\n return node\n\n # Evaluate function calls and operators.\n if isinstance(node, g.Infix):\n x, func, y = node.left, node.operator, node.right\n args = (x, y)\n elif isinstance(node, g.Postfix) and isinstance(node.operator, g.ArgumentList):\n func, args = node.left, node.operator.arguments\n else:\n return node\n\n # Check if we're using an alias.\n func = aliases.get(func, func)\n\n if func in evaluators:\n return evaluators[func](*args)\n else:\n return node\n\n\ndef run(formula, bindings=None):\n updated_bindings = dict(constants)\n updated_bindings.update(bindings or {})\n tree = g.parse(formula)\n return g.transform(tree, lambda node: evaluate(node, updated_bindings))\n\n\ndef test_some_simple_formulas():\n result = run('1 + 2 * 3')\n assert result == 7\n\n result = run('foo == bar && fiz == buz', bindings={\n 'foo': 1, 'bar': 1, 'fiz': 2, 'buz': 2,\n })\n assert result == True\n\n result = run('foo == bar && fiz == buz', bindings={\n 'foo': 1, 'bar': 1, 'fiz': 2, 'buz': 3,\n })\n assert result == False\n\n result = run('1 <= 2 && (false || true)')\n assert result == True # Explicitly compare to True.\n\n result = run('1 > 2 || (true && false)')\n assert result == False # Explicitly compare to False.\n\n result = run('foo != bar', bindings={'foo': 10, 'bar': 10})\n assert not result\n\n result = run('foo != bar', bindings={'foo': 1, 'bar': 2})\n assert result\n\n result = run('foo.bar', bindings={'foo': {'bar': 10}})\n assert result == 10\n\n result = run('foo.bar.baz', bindings={'foo': {'bar': {'baz': 100}}})\n assert result == 100\n\n result = run('MIN(20, 10, 30)')\n assert result == 10\n\n result = run('MIN(20, 10, 30) + MAX(11, 12, 13)')\n assert result == 23\n", "license": "mit", "hash": -7452110781552088148, "line_mean": 27.1263736264, "line_max": 83, "alpha_frac": 0.5405352608, "autogenerated": false, "ratio": 3.3744232036914963, "config_test": false, "has_no_keywords": false, "few_assignments": false}
{"repo_name": "lsaffre/timtools", "path": "timtools/sdoc/feeders.py", "copies": "1", "size": "1705", "content": "## Copyright 2003-2009 Luc Saffre\n## This file is part of the TimTools project.\n## TimTools is free software; you can redistribute it and/or modify\n## it under the terms of the GNU General Public License as published by\n## the Free Software Foundation; either version 3 of the License, or\n## (at your option) any later version.\n## TimTools is distributed in the hope that it will be useful, \n## but WITHOUT ANY WARRANTY; without even the implied warranty of\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \n## GNU General Public License for more details.\n## You should have received a copy of the GNU General Public License\n## along with TimTools; if not, see <http://www.gnu.org/licenses/>.\n\nimport re\n\ndef plain2xml(txt):\n txt = txt.replace(\"&\",\"&amp;\")\n txt = txt.replace(\"<\",\"&lt;\")\n return txt\n\nmemocommands = (\n ( re.compile('\\[url\\s+(\\S+)\\s*(.*?)\\]',re.DOTALL),\n lambda m : '<b>'+m.group(2)+'</b> (<i>' + m.group(1)+ '</i>)'),\n )\n# urlfind = \n# urlrepl = re.compile('<b>\\2</b> (<u>\\1</u>)')\n\n# def urlrepl(m):\n \n\n\ndef memo2xml(txt):\n txt = plain2xml(txt)\n txt = txt.replace('[B]','<b>')\n txt = txt.replace('[b]','</b>')\n txt = txt.replace('[U]','<u>')\n txt = txt.replace('[u]','</u>')\n for find,repl in memocommands:\n txt = re.sub(find,repl,txt)\n return txt\n\ndef rst2xml(txt):\n raise \"doesn't work\"\n import docutils.parsers.rst\n import docutils.utils\n parser = docutils.parsers.rst.Parser()\n doc = docutils.utils.new_document(\"feed\")\n parser.parse(txt, doc)\n raise \"and now?\"\n\n_feeders={\n 'xml' : lambda x : x,\n 'plain' : plain2xml,\n 'rst' : rst2xml,\n 'memo' : memo2xml,\n }\n\n\ndef getFeeder(name):\n return _feeders[name]\n", "license": "bsd-2-clause", "hash": 5341080861915416764, "line_mean": 27.4166666667, "line_max": 71, "alpha_frac": 0.6387096774, "autogenerated": false, "ratio": 3.204887218045113, "config_test": false, "has_no_keywords": false, "few_assignments": false}
{"repo_name": "souravbadami/zulip", "path": "zerver/views/home.py", "copies": "1", "size": "17065", "content": "from __future__ import absolute_import\nfrom typing import Any, List, Dict, Optional, Text\n\nfrom django.conf import settings\nfrom django.core.urlresolvers import reverse\nfrom django.http import HttpResponseRedirect, HttpResponse, HttpRequest\nfrom django.shortcuts import redirect\nfrom django.utils import translation\nfrom django.utils.cache import patch_cache_control\nfrom six.moves import zip_longest, zip, range\n\nfrom zerver.decorator import zulip_login_required, process_client\nfrom zerver.forms import ToSForm\nfrom zerver.lib.realm_icon import realm_icon_url\nfrom zerver.models import Message, UserProfile, Stream, Subscription, Huddle, \\\n Recipient, Realm, UserMessage, DefaultStream, RealmEmoji, RealmAlias, \\\n RealmFilter, PreregistrationUser, UserActivity, \\\n UserPresence, get_recipient, name_changes_disabled, email_to_username, \\\n list_of_domains_for_realm\nfrom zerver.lib.events import do_events_register\nfrom zerver.lib.actions import update_user_presence, do_change_tos_version, \\\n do_update_pointer, get_cross_realm_dicts, realm_user_count\nfrom zerver.lib.avatar import avatar_url\nfrom zerver.lib.i18n import get_language_list, get_language_name, \\\n get_language_list_for_templates\nfrom zerver.lib.push_notifications import num_push_devices_for_user\nfrom zerver.lib.streams import access_stream_by_name\nfrom zerver.lib.utils import statsd, get_subdomain\nfrom zproject.backends import password_auth_enabled\nfrom zproject.jinja2 import render_to_response\n\nimport calendar\nimport datetime\nimport logging\nimport os\nimport re\nimport simplejson\nimport time\n\n@zulip_login_required\ndef accounts_accept_terms(request):\n # type: (HttpRequest) -> HttpResponse\n if request.method == \"POST\":\n form = ToSForm(request.POST)\n if form.is_valid():\n do_change_tos_version(request.user, settings.TOS_VERSION)\n return redirect(home)\n else:\n form = ToSForm()\n\n email = request.user.email\n special_message_template = None\n if request.user.tos_version is None and settings.FIRST_TIME_TOS_TEMPLATE is not None:\n special_message_template = 'zerver/' + settings.FIRST_TIME_TOS_TEMPLATE\n return render_to_response(\n 'zerver/accounts_accept_terms.html',\n {'form': form,\n 'email': email,\n 'special_message_template': special_message_template},\n request=request)\n\ndef approximate_unread_count(user_profile):\n # type: (UserProfile) -> int\n not_in_home_view_recipients = [sub.recipient.id for sub in\n Subscription.objects.filter(\n user_profile=user_profile, in_home_view=False)]\n\n # TODO: We may want to exclude muted messages from this count.\n # It was attempted in the past, but the original attempt\n # was broken. When we re-architect muting, we may\n # want to to revisit this (see git issue #1019).\n return UserMessage.objects.filter(\n user_profile=user_profile, message_id__gt=user_profile.pointer).exclude(\n message__recipient__type=Recipient.STREAM,\n message__recipient__id__in=not_in_home_view_recipients).exclude(\n flags=UserMessage.flags.read).count()\n\ndef sent_time_in_epoch_seconds(user_message):\n # type: (UserMessage) -> Optional[float]\n # user_message is a UserMessage object.\n if not user_message:\n return None\n # We have USE_TZ = True, so our datetime objects are timezone-aware.\n # Return the epoch seconds in UTC.\n return calendar.timegm(user_message.message.pub_date.utctimetuple())\n\ndef home(request):\n # type: (HttpRequest) -> HttpResponse\n if settings.DEVELOPMENT and os.path.exists('var/handlebars-templates/compile.error'):\n response = render_to_response('zerver/handlebars_compilation_failed.html',\n request=request)\n response.status_code = 500\n return response\n if not settings.SUBDOMAINS_HOMEPAGE:\n return home_real(request)\n\n # If settings.SUBDOMAINS_HOMEPAGE, sends the user the landing\n # page, not the login form, on the root domain\n\n subdomain = get_subdomain(request)\n if subdomain != \"\":\n return home_real(request)\n\n return render_to_response('zerver/hello.html',\n request=request)\n\n@zulip_login_required\ndef home_real(request):\n # type: (HttpRequest) -> HttpResponse\n # We need to modify the session object every two weeks or it will expire.\n # This line makes reloading the page a sufficient action to keep the\n # session alive.\n request.session.modified = True\n\n user_profile = request.user\n\n # If a user hasn't signed the current Terms of Service, send them there\n if settings.TERMS_OF_SERVICE is not None and settings.TOS_VERSION is not None and \\\n int(settings.TOS_VERSION.split('.')[0]) > user_profile.major_tos_version():\n return accounts_accept_terms(request)\n\n narrow = [] # type: List[List[Text]]\n narrow_stream = None\n narrow_topic = request.GET.get(\"topic\")\n if request.GET.get(\"stream\"):\n try:\n narrow_stream_name = request.GET.get(\"stream\")\n (narrow_stream, ignored_rec, ignored_sub) = access_stream_by_name(\n user_profile, narrow_stream_name)\n narrow = [[\"stream\", narrow_stream.name]]\n except Exception:\n logging.exception(\"Narrow parsing\")\n if narrow_stream is not None and narrow_topic is not None:\n narrow.append([\"topic\", narrow_topic])\n\n register_ret = do_events_register(user_profile, request.client,\n apply_markdown=True, narrow=narrow)\n user_has_messages = (register_ret['max_message_id'] != -1)\n\n # Reset our don't-spam-users-with-email counter since the\n # user has since logged in\n if user_profile.last_reminder is not None:\n user_profile.last_reminder = None\n user_profile.save(update_fields=[\"last_reminder\"])\n\n # Brand new users get the tutorial\n needs_tutorial = settings.TUTORIAL_ENABLED and \\\n user_profile.tutorial_status != UserProfile.TUTORIAL_FINISHED\n\n first_in_realm = realm_user_count(user_profile.realm) == 1\n # If you are the only person in the realm and you didn't invite\n # anyone, we'll continue to encourage you to do so on the frontend.\n prompt_for_invites = first_in_realm and \\\n not PreregistrationUser.objects.filter(referred_by=user_profile).count()\n\n if user_profile.pointer == -1 and user_has_messages:\n # Put the new user's pointer at the bottom\n #\n # This improves performance, because we limit backfilling of messages\n # before the pointer. It's also likely that someone joining an\n # organization is interested in recent messages more than the very\n # first messages on the system.\n\n register_ret['pointer'] = register_ret['max_message_id']\n user_profile.last_pointer_updater = request.session.session_key\n\n if user_profile.pointer == -1:\n latest_read = None\n else:\n try:\n latest_read = UserMessage.objects.get(user_profile=user_profile,\n message__id=user_profile.pointer)\n except UserMessage.DoesNotExist:\n # Don't completely fail if your saved pointer ID is invalid\n logging.warning(\"%s has invalid pointer %s\" % (user_profile.email, user_profile.pointer))\n latest_read = None\n\n desktop_notifications_enabled = user_profile.enable_desktop_notifications\n if narrow_stream is not None:\n desktop_notifications_enabled = False\n\n if user_profile.realm.notifications_stream:\n notifications_stream = user_profile.realm.notifications_stream.name\n else:\n notifications_stream = \"\"\n\n # Set default language and make it persist\n default_language = register_ret['default_language']\n url_lang = '/{}'.format(request.LANGUAGE_CODE)\n if not request.path.startswith(url_lang):\n translation.activate(default_language)\n\n request.session[translation.LANGUAGE_SESSION_KEY] = default_language\n\n # Pass parameters to the client-side JavaScript code.\n # These end up in a global JavaScript Object named 'page_params'.\n page_params = dict(\n # Server settings.\n share_the_love = settings.SHARE_THE_LOVE,\n development_environment = settings.DEVELOPMENT,\n debug_mode = settings.DEBUG,\n test_suite = settings.TEST_SUITE,\n poll_timeout = settings.POLL_TIMEOUT,\n login_page = settings.HOME_NOT_LOGGED_IN,\n server_uri = settings.SERVER_URI,\n maxfilesize = settings.MAX_FILE_UPLOAD_SIZE,\n max_avatar_file_size = settings.MAX_AVATAR_FILE_SIZE,\n server_generation = settings.SERVER_GENERATION,\n use_websockets = settings.USE_WEBSOCKETS,\n save_stacktraces = settings.SAVE_FRONTEND_STACKTRACES,\n\n # realm data.\n # TODO: Move all of these data to register_ret and pull from there\n realm_uri = user_profile.realm.uri,\n password_auth_enabled = password_auth_enabled(user_profile.realm),\n domains = list_of_domains_for_realm(user_profile.realm),\n name_changes_disabled = name_changes_disabled(user_profile.realm),\n mandatory_topics = user_profile.realm.mandatory_topics,\n show_digest_email = user_profile.realm.show_digest_email,\n realm_presence_disabled = user_profile.realm.presence_disabled,\n is_zephyr_mirror_realm = user_profile.realm.is_zephyr_mirror_realm,\n\n # user_profile data.\n # TODO: Move all of these data to register_ret and pull from there\n fullname = user_profile.full_name,\n email = user_profile.email,\n enter_sends = user_profile.enter_sends,\n user_id = user_profile.id,\n is_admin = user_profile.is_realm_admin,\n can_create_streams = user_profile.can_create_streams(),\n autoscroll_forever = user_profile.autoscroll_forever,\n default_desktop_notifications = user_profile.default_desktop_notifications,\n avatar_url = avatar_url(user_profile),\n avatar_url_medium = avatar_url(user_profile, medium=True),\n avatar_source = user_profile.avatar_source,\n timezone = user_profile.timezone,\n\n # Stream message notification settings:\n stream_desktop_notifications_enabled = user_profile.enable_stream_desktop_notifications,\n stream_sounds_enabled = user_profile.enable_stream_sounds,\n\n # Private message and @-mention notification settings:\n desktop_notifications_enabled = desktop_notifications_enabled,\n sounds_enabled = user_profile.enable_sounds,\n enable_offline_email_notifications = user_profile.enable_offline_email_notifications,\n pm_content_in_desktop_notifications = user_profile.pm_content_in_desktop_notifications,\n enable_offline_push_notifications = user_profile.enable_offline_push_notifications,\n enable_online_push_notifications = user_profile.enable_online_push_notifications,\n enable_digest_emails = user_profile.enable_digest_emails,\n\n # Realm foreign key data from register_ret.\n # TODO: Rename these to match register_ret values.\n subbed_info = register_ret['subscriptions'],\n unsubbed_info = register_ret['unsubscribed'],\n neversubbed_info = register_ret['never_subscribed'],\n people_list = register_ret['realm_users'],\n bot_list = register_ret['realm_bots'],\n initial_pointer = register_ret['pointer'],\n initial_presences = register_ret['presences'],\n event_queue_id = register_ret['queue_id'],\n\n # Misc. extra data.\n have_initial_messages = user_has_messages,\n initial_servertime = time.time(), # Used for calculating relative presence age\n default_language_name = get_language_name(register_ret['default_language']),\n language_list_dbl_col = get_language_list_for_templates(register_ret['default_language']),\n language_list = get_language_list(),\n needs_tutorial = needs_tutorial,\n first_in_realm = first_in_realm,\n prompt_for_invites = prompt_for_invites,\n notifications_stream = notifications_stream,\n cross_realm_bots = list(get_cross_realm_dicts()),\n unread_count = approximate_unread_count(user_profile),\n furthest_read_time = sent_time_in_epoch_seconds(latest_read),\n has_mobile_devices = num_push_devices_for_user(user_profile) > 0,\n )\n\n # These fields will be automatically copied from register_ret into\n # page_params. It is a goal to move more of the page_params list\n # into this sort of cleaner structure.\n page_params_core_fields = [\n 'alert_words',\n 'attachments',\n 'default_language',\n 'emoji_alt_code',\n 'last_event_id',\n 'left_side_userlist',\n 'max_icon_file_size',\n 'max_message_id',\n 'muted_topics',\n 'realm_add_emoji_by_admins_only',\n 'realm_allow_message_editing',\n 'realm_authentication_methods',\n 'realm_bot_domain',\n 'realm_create_stream_by_admins_only',\n 'realm_default_language',\n 'realm_default_streams',\n 'realm_email_changes_disabled',\n 'realm_emoji',\n 'realm_filters',\n 'realm_icon_source',\n 'realm_icon_url',\n 'realm_invite_by_admins_only',\n 'realm_invite_required',\n 'realm_message_content_edit_limit_seconds',\n 'realm_name',\n 'realm_name_changes_disabled',\n 'realm_restricted_to_domain',\n 'realm_waiting_period_threshold',\n 'referrals',\n 'twenty_four_hour_time',\n 'zulip_version',\n ]\n\n for field_name in page_params_core_fields:\n page_params[field_name] = register_ret[field_name]\n\n if narrow_stream is not None:\n # In narrow_stream context, initial pointer is just latest message\n recipient = get_recipient(Recipient.STREAM, narrow_stream.id)\n try:\n initial_pointer = Message.objects.filter(recipient=recipient).order_by('id').reverse()[0].id\n except IndexError:\n initial_pointer = -1\n page_params[\"narrow_stream\"] = narrow_stream.name\n if narrow_topic is not None:\n page_params[\"narrow_topic\"] = narrow_topic\n page_params[\"narrow\"] = [dict(operator=term[0], operand=term[1]) for term in narrow]\n page_params[\"max_message_id\"] = initial_pointer\n page_params[\"initial_pointer\"] = initial_pointer\n page_params[\"have_initial_messages\"] = (initial_pointer != -1)\n\n statsd.incr('views.home')\n show_invites = True\n\n # Some realms only allow admins to invite users\n if user_profile.realm.invite_by_admins_only and not user_profile.is_realm_admin:\n show_invites = False\n\n request._log_data['extra'] = \"[%s]\" % (register_ret[\"queue_id\"],)\n response = render_to_response('zerver/index.html',\n {'user_profile': user_profile,\n 'page_params': simplejson.encoder.JSONEncoderForHTML().encode(page_params),\n 'nofontface': is_buggy_ua(request.META.get(\"HTTP_USER_AGENT\", \"Unspecified\")),\n 'avatar_url': avatar_url(user_profile),\n 'show_debug':\n settings.DEBUG and ('show_debug' in request.GET),\n 'pipeline': settings.PIPELINE_ENABLED,\n 'show_invites': show_invites,\n 'is_admin': user_profile.is_realm_admin,\n 'show_webathena': user_profile.realm.webathena_enabled,\n 'enable_feedback': settings.ENABLE_FEEDBACK,\n 'embedded': narrow_stream is not None,\n },\n request=request)\n patch_cache_control(response, no_cache=True, no_store=True, must_revalidate=True)\n return response\n\n@zulip_login_required\ndef desktop_home(request):\n # type: (HttpRequest) -> HttpResponse\n return HttpResponseRedirect(reverse('zerver.views.home.home'))\n\ndef is_buggy_ua(agent):\n # type: (str) -> bool\n \"\"\"Discrimiate CSS served to clients based on User Agent\n\n Due to QTBUG-3467, @font-face is not supported in QtWebKit.\n This may get fixed in the future, but for right now we can\n just serve the more conservative CSS to all our desktop apps.\n \"\"\"\n return (\"Humbug Desktop/\" in agent or \"Zulip Desktop/\" in agent or \"ZulipDesktop/\" in agent) and \\\n \"Mac\" not in agent\n", "license": "apache-2.0", "hash": -2616524014721911645, "line_mean": 44.7506702413, "line_max": 113, "alpha_frac": 0.6423088192, "autogenerated": false, "ratio": 4.053444180522566, "config_test": true, "has_no_keywords": false, "few_assignments": false}
{"repo_name": "ZeitOnline/zeit.newsletter", "path": "src/zeit/newsletter/browser/edit.py", "copies": "1", "size": "2579", "content": "from zeit.cms.i18n import MessageFactory as _\nfrom zope.cachedescriptors.property import Lazy as cachedproperty\nimport os.path\nimport zeit.cms.browser.view\nimport zeit.cms.content.interfaces\nimport zeit.cms.interfaces\nimport zeit.content.image.interfaces\nimport zeit.content.video.interfaces\nimport zeit.edit.browser.form\nimport zeit.edit.browser.landing\nimport zeit.edit.browser.view\nimport zeit.newsletter.interfaces\nimport zope.formlib.form\n\n\nclass LandingZoneBase(zeit.edit.browser.landing.LandingZone):\n\n uniqueId = zeit.edit.browser.view.Form('uniqueId')\n block_type = 'teaser'\n\n def initialize_block(self):\n content = zeit.cms.interfaces.ICMSContent(self.uniqueId)\n self.block.reference = content\n\n\nclass GroupLandingZone(LandingZoneBase):\n \"\"\"Handler to drop objects to the body's landing zone.\"\"\"\n\n order = 0\n\n\nclass TeaserLandingZone(LandingZoneBase):\n \"\"\"Handler to drop objects after other objects.\"\"\"\n\n order = 'after-context'\n\n\nclass Teaser(zeit.cms.browser.view.Base):\n\n @cachedproperty\n def metadata(self):\n return zeit.cms.content.interfaces.ICommonMetadata(\n self.context.reference, None)\n\n @cachedproperty\n def image(self):\n # XXX copy&paste&tweak of zeit.content.cp.browser.blocks.teaser.Display\n content = self.context.reference\n if content is None:\n return\n if zeit.content.video.interfaces.IVideoContent.providedBy(content):\n return content.thumbnail\n images = zeit.content.image.interfaces.IImages(content, None)\n if images is None:\n preview = zope.component.queryMultiAdapter(\n (content, self.request), name='preview')\n if preview:\n return self.url(preview)\n return\n if not images.image:\n return\n group = images.image\n for name in group:\n basename, ext = os.path.splitext(name)\n if basename.endswith('148x84'):\n image = group[name]\n return self.url(image, '@@raw')\n\n\nclass Advertisement(zeit.cms.browser.view.Base):\n\n @cachedproperty\n def image(self):\n if not self.context.image:\n return\n return self.url(self.context.image, '@@raw')\n\n\nclass GroupTitle(zeit.edit.browser.form.InlineForm):\n\n legend = None\n prefix = 'group'\n undo_description = _('edit group title')\n\n form_fields = zope.formlib.form.FormFields(\n zeit.newsletter.interfaces.IGroup).select('title')\n\n\nclass Empty(object):\n\n def render(self):\n return u''\n", "license": "bsd-3-clause", "hash": -2014002219757949260, "line_mean": 27.0326086957, "line_max": 79, "alpha_frac": 0.6711903839, "autogenerated": false, "ratio": 3.781524926686217, "config_test": false, "has_no_keywords": false, "few_assignments": false}
{"repo_name": "robdobsn/AmazonEchoShopping", "path": "WaitroseService/WaitroseScraper.py", "copies": "1", "size": "20691", "content": "# Waitrose web scraper\n\n__author__ = 'robdobsn'\n\nfrom selenium import webdriver\nfrom selenium.webdriver.common.keys import Keys\nimport selenium.webdriver.support.ui as webdriverui\nfrom selenium.webdriver.support.wait import WebDriverWait\nfrom selenium.webdriver.common.by import By\nfrom selenium.common.exceptions import NoSuchElementException, WebDriverException, TimeoutException\nfrom selenium.webdriver.support import expected_conditions as EC\nfrom bs4 import BeautifulSoup\nimport logging\nimport json\nimport re\n\nclass WaitroseScraper():\n\n def __init__(self):\n logging.info(\"Waitrose scraper starting\")\n self.isInitalized = False\n self.isLoggedIn = False\n self.webDriverType = \"PhantomJS\"\n self.execUsingJS = False\n\n def clickButtonByClassName(self, className):\n if self.execUsingJS:\n self.webDriver.execute_script(\"document.getElementsByClassName('\" + className + \"')[0].click()\")\n else:\n btn = self.webDriver.find_element_by_class_name(className)\n btn.click()\n\n def clickButtonByXPath(self, xpath):\n if self.execUsingJS:\n self.webDriver.execute_script(\"return document.evaluate('\" + xpath + \"', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.click()\")\n else:\n btn = self.webDriver.find_element_by_xpath(xpath)\n btn.click()\n\n def clickButtonByCSSSelector(self, cssSelector):\n btn = self.webDriver.find_element_by_css_selector(cssSelector)\n btn.click()\n\n def checkButtonEnabledByCSSSelector(self, cssSelector):\n btn = self.webDriver.find_element_by_css_selector(cssSelector)\n return btn.is_enabled() and btn.is_displayed()\n\n def sendKeysToFieldById(self, elemId, strToSend, pressEnterAfter, clearFirst):\n# if self.execUsingJS:\n# self.webDriver.execute_script(\"document.getElementsByClassName('\" + elemId + \"').value = '\" + strToSend)\n# else:\n print(\"Sending keys to elemId \" + elemId + \" keys = \" + strToSend)\n field = self.webDriver.find_element_by_id(elemId)\n print(field)\n if (clearFirst):\n field.send_keys(Keys.CONTROL + \"a\")\n field.send_keys(Keys.DELETE)\n field.send_keys(strToSend + (Keys.RETURN if pressEnterAfter else \"\"))\n\n def debugDumpPageSource(self, filenameExtra=\"\"):\n with open(\"debugPageSource\" + filenameExtra + \".html\", \"w\") as debugDumpFile:\n debugDumpFile.write(self.webDriver.page_source)\n self.webDriver.save_screenshot('debugPageImage.png')\n\n # Start the web driver (runs the browser)\n def startWebDriver(self):\n\n # Clear current session file info\n with open('browserSession.json', 'w') as outfile:\n json.dump({}, outfile)\n\n # Create WebDriver\n if self.webDriverType == \"Chrome\":\n try:\n self.webDriver = webdriver.Chrome()\n except WebDriverException:\n logging.error(\"startWebDriver() Chrome Failed to start\")\n return False\n elif self.webDriverType == \"Firefox\":\n try:\n self.webDriver = webdriver.Firefox()\n except WebDriverException:\n logging.error(\"startWebDriver() Firefox Failed to start\")\n return False\n elif self.webDriverType == \"PhantomJS\":\n try:\n self.webDriver = webdriver.PhantomJS() # or add to your PATH\n except:\n try:\n self.webDriver = webdriver.PhantomJS(\n executable_path='C:\\ProgramData\\PhantomJS\\bin')\n except:\n try:\n self.webDriver = webdriver.PhantomJS(\n executable_path='/usr/local/lib/node_modules/phantomjs/lib/phantom/bin/phantomjs')\n except:\n try:\n self.webDriver = webdriver.PhantomJS(\n executable_path=r'C:\\Users\\rob_2\\AppData\\Roaming\\npm\\node_modules\\phantomjs\\lib\\phantom\\bin\\phantomjs.exe')\n except:\n logging.error(\"Failed to load the PhantomJS webdriver\")\n return False\n\n # Set the window size (seems to be needed in phantomJS particularly\n # This is probably because the website responds in mobile mode?\n self.webDriver.set_window_size(1280,1024)\n\n # Save session info\n url = self.webDriver.command_executor._url\n session_id = self.webDriver.session_id\n with open('browserSession.json', 'w') as outfile:\n json.dump({\"url\": url, \"session_id\": session_id}, outfile)\n\n return True\n\n def websiteLogin(self, username, password, attemptIdx):\n try:\n self.webDriver.save_screenshot('debug1_'+str(attemptIdx)+'.png')\n logging.info(\"Waiting for signInRegister button\")\n wait = WebDriverWait(self.webDriver, 30)\n wait.until(EC.visibility_of_element_located((By.CLASS_NAME, \"js-sign-in-register\")))\n logging.info(\"waitroseLogin() pressing signInRegister button\")\n self.clickButtonByClassName('js-sign-in-register')\n self.webDriver.save_screenshot('debug2_'+str(attemptIdx)+'.png')\n\n try:\n print(\"Starting to wait for logon-email\")\n wait = WebDriverWait(self.webDriver, 30)\n wait.until(EC.visibility_of_element_located((By.ID, \"logon-email\")))\n print(\"Finished waiting for logon-email\")\n self.webDriver.save_screenshot('debug3_' + str(attemptIdx) + '.png')\n\n try:\n logging.info(\"waitroseLogin() entering username\")\n self.debugDumpPageSource(\"contbutton\")\n self.sendKeysToFieldById('logon-email', username, False, True)\n self.webDriver.save_screenshot('debug4_' + str(attemptIdx) + '.png')\n # self.clickButtonByXPath(\"//input[@type='button' and @value='Continue']\")\n if (self.checkButtonEnabledByCSSSelector(\"input[value='Continue'][type='button']\")):\n self.clickButtonByCSSSelector(\"input[value='Continue'][type='button']\")\n\n try:\n logging.info(\"waitroseLogin() waiting for logon-password visible\")\n wait = WebDriverWait(self.webDriver, 60)\n wait.until(EC.visibility_of_element_located((By.ID, \"logon-password\")))\n self.webDriver.save_screenshot('debug5_' + str(attemptIdx) + '.png')\n\n try:\n logging.info(\"waitroseLogin() entering password\")\n self.sendKeysToFieldById('logon-password', password, False, True)\n #self.clickButtonById('logon-button-sign-in')\n self.clickButtonByCSSSelector(\"input[value='Sign in'][type='button']\")\n self.webDriver.save_screenshot('debug6_' + str(attemptIdx) + '.png')\n logging.info(\"waitroseLogin() waiting for trolley-total to be visible\")\n wait = WebDriverWait(self.webDriver, 60)\n wait.until(EC.visibility_of_element_located((By.CLASS_NAME, \"trolley-total\")))\n self.webDriver.save_screenshot('debug7_' + str(attemptIdx) + '.png')\n elem2 = self.webDriver.find_element_by_class_name('trolley-total')\n if elem2:\n logging.info(\"waitroseLogin() basket found\")\n else:\n logging.info(\"waitroseLogin() basket not found\")\n\n return True\n\n except WebDriverException as err:\n logging.error(\"waitroseLogin() Cannot find logon-password after wait \" + err.msg)\n self.debugDumpPageSource()\n\n except WebDriverException as err:\n logging.error(\"waitroseLogin() Cannot find logon-password field\" + err.msg)\n self.debugDumpPageSource()\n\n except WebDriverException as err:\n logging.error(\"waitroseLogin() Error entering logon-email\" + err.msg)\n self.debugDumpPageSource()\n\n except WebDriverException as err:\n logging.error(\"waitroseLogin() Cannot find logon-email field\" + err.msg)\n self.debugDumpPageSource()\n\n except WebDriverException as err:\n logging.error(\"waitroseLogin() Cannot find sign-in-register button\" + err.msg)\n self.debugDumpPageSource()\n\n return False\n\n def getBasketSummary(self):\n\n basketSummary = {}\n\n # Ensure we wait until the trolley-total is visible\n try:\n wait = WebDriverWait(self.webDriver, 20)\n wait.until(EC.visibility_of_element_located((By.CLASS_NAME, \"trolley-total\")))\n except TimeoutException:\n logging.error(\"Get basket summary timeout exception\")\n self.debugDumpPageSource()\n return None\n except WebDriverException:\n logging.error(\"Get basket summary webdriver element exception\")\n self.debugDumpPageSource()\n return None\n\n # Get basket total price\n try:\n totalElem = self.webDriver.find_element_by_class_name('trolley-total')\n if totalElem:\n reTotalElem = re.search(\"([0-9]{1,4}\\.[0-9]{2})\", totalElem.text)\n if reTotalElem:\n basketSummary[\"totalPrice\"] = reTotalElem.group(1)\n logging.info(\"waitrose: Basket: total=\" + str(basketSummary[\"totalPrice\"]))\n\n # Get number of basket items\n summaryElem = self.webDriver.find_element_by_class_name('trolley-summary')\n if summaryElem:\n reSummaryElem = re.search(\"([0-9]{1,4}) items\", summaryElem.text)\n if reSummaryElem:\n basketSummary[\"numItems\"] = reSummaryElem.group(1)\n logging.info(\"waitrose: Basket: num items=\" + str(basketSummary[\"numItems\"]))\n except WebDriverException:\n logging.error(\"waitrose: Get basket summary webdriver element exception\")\n self.debugDumpPageSource()\n return None\n\n # Return info found\n return basketSummary\n\n def getElemAttrIfPresent(self, soup, elemName, className, subElem, attrName, regexReplace, destDict=None, dictName=None):\n rslt = \"\"\n try:\n el = soup.find(elemName, class_=className)\n if subElem is not \"\":\n el = el.find(subElem)\n if attrName == \"text\":\n rslt = el.get_text()\n else:\n rslt = el[attrName]\n if regexReplace is not \"\":\n rslt = re.sub(regexReplace, \"\", rslt)\n if destDict is not None:\n destDict[dictName] = rslt\n except WebDriverException:\n logging.error(\"waitrose: Error extracting element \" + elemName + \" \" + className)\n self.debugDumpPageSource()\n except:\n logging.error(\"waitrose: Error (not webdriver) extracting element \" + elemName + \" \" + className)\n self.debugDumpPageSource()\n return rslt\n\n def getShoppingItems(self, isTrolleyPage):\n\n # Make sure all items on the page are loaded - lazy loader\n try:\n self.debugDumpPageSource(\"m-product\")\n webdriverui.WebDriverWait(self.webDriver, 10)\\\n .until(EC.visibility_of_element_located((By.CLASS_NAME, \"m-product\")))\n except WebDriverException:\n logging.error(\"Wait for m-product webdriver element exception\")\n return []\n \n productsFound = self.webDriver.find_elements_by_class_name(\"m-product\")\n print(\"waitrose: Lazy loading products - currently \" + str(len(productsFound)) + \" found\")\n numRepeats = 0\n if len(productsFound) > 10:\n while True:\n prevFound = len(productsFound)\n self.webDriver.execute_script(\"window.scrollBy(0,window.innerHeight)\")\n productsFound = self.webDriver.find_elements_by_class_name(\"m-product\")\n print(\"Loading products - currently \" + str(len(productsFound)) + \" found\")\n if len(productsFound) <= prevFound:\n numRepeats += 1\n if numRepeats > 20:\n break\n else:\n numRepeats = 0\n\n print(\"Done lazy loading products \" + str(len(productsFound)) + \" found\")\n\n # Go through items in the list on the current page\n shoppingItems = []\n for product in productsFound:\n\n # Get HTML for this product\n basketIt = {}\n el = product.get_attribute(\"innerHTML\")\n productSoup = BeautifulSoup(el, \"html.parser\")\n\n # Extract some common details\n self.getElemAttrIfPresent(productSoup, \"a\", \"m-product-open-details\", \"\", \"href\", \"\", basketIt, \"detailsHref\")\n self.getElemAttrIfPresent(productSoup, \"a\", \"m-product-open-details\", \"img\", \"src\", \"\", basketIt, \"imageSrc\")\n self.getElemAttrIfPresent(productSoup, \"div\", \"m-product-volume\", \"\", \"text\", r\"\\W\", basketIt, \"productVolume\")\n\n # Check if we are doing the trolley page - which has extra info like number of items ordered\n if isTrolleyPage:\n self.getElemAttrIfPresent(productSoup, \"div\", \"m-product-title\", \"a\", \"text\", \"\", basketIt, \"productTitle\")\n if not \"productTitle\" in basketIt or basketIt[\"productTitle\"] == \"\":\n self.getElemAttrIfPresent(productSoup, \"a\", \"m-product-open-details\", \"img\", \"title\", \"\", basketIt,\n \"productTitle\")\n self.getElemAttrIfPresent(productSoup, \"div\", \"quantity-append\", \"input\", \"value\", \"\", basketIt,\n \"trolleyQuantity\")\n self.getElemAttrIfPresent(productSoup, \"p\", \"m-product-details\", \"span\", \"text\", \"\", basketIt,\n \"trolleyPrice\")\n self.getElemAttrIfPresent(productSoup, \"div\", \"m-product-details-container\", \"div\", \"data-price\", \"\",\n basketIt,\n \"price\")\n self.getElemAttrIfPresent(productSoup, \"div\", \"m-product-details-container\", \"div\", \"data-priceperkg\",\n \"\", basketIt, \"pricePerKg\")\n self.getElemAttrIfPresent(productSoup, \"div\", \"m-product-details-container\", \"div\", \"data-orderitemid\",\n \"\", basketIt, \"orderItemId\")\n self.getElemAttrIfPresent(productSoup, \"div\", \"m-product-details-container\", \"div\", \"data-producttype\",\n \"\", basketIt, \"productType\")\n self.getElemAttrIfPresent(productSoup, \"div\", \"m-product-details-container\", \"div\", \"data-productid\",\n \"\", basketIt, \"productId\")\n self.getElemAttrIfPresent(productSoup, \"div\", \"m-product-details-container\", \"div\", \"data-uom\", \"\", basketIt,\n \"UOM\")\n self.getElemAttrIfPresent(productSoup, \"div\", \"m-product-details-container\", \"div\", \"data-weighttype\",\n \"\", basketIt, \"weightType\")\n self.getElemAttrIfPresent(productSoup, \"div\", \"m-product-details-container\", \"div\", \"data-substitute\",\n \"\", basketIt, \"substitute\")\n else:\n self.getElemAttrIfPresent(productSoup, \"div\", \"m-product-price-container\", \"span\", \"text\", \"\\W\", basketIt,\n \"price\")\n self.getElemAttrIfPresent(productSoup, \"a\", \"m-product-open-details\", \"\", \"text\", \"\", basketIt,\n \"productTitle\")\n if not \"productTitle\" in basketIt or basketIt[\"productTitle\"] == \"\":\n self.getElemAttrIfPresent(productSoup, \"a\", \"m-product-open-details\", \"img\", \"title\", \"\", basketIt,\n \"productTitle\")\n\n # Check if the product at least has a title and only add to list if it does\n if not \"productTitle\" in basketIt or basketIt[\"productTitle\"] == \"\":\n logging.error(\"Extract Shopping List: Failed to extract product name\")\n else:\n shoppingItems.append(basketIt)\n\n return shoppingItems\n\n def getTrolleyContents(self):\n\n # Ensure we wait until the trolley-total is visible\n try:\n wait = WebDriverWait(self.webDriver, 20)\n wait.until(EC.visibility_of_element_located((By.CLASS_NAME, \"trolley-total\")))\n except WebDriverException:\n logging.error(\"Wait for Trolley-Total webdriver element exception\")\n self.debugDumpPageSource()\n return None\n\n # Navigate to the basket contents\n try:\n self.clickButtonByXPath('//div[@class=\"mini-trolley\"]//a')\n wait = WebDriverWait(self.webDriver, 30)\n wait.until(EC.visibility_of_element_located((By.ID, \"my-trolley\")))\n except NoSuchElementException:\n logging.error(\"Press view trolley button no such element\")\n self.debugDumpPageSource()\n return None\n except WebDriverException:\n logging.error(\"Press view trolley button webdriver element exception\")\n self.debugDumpPageSource()\n return None\n\n # Get the shopping items on the current page\n return self.getShoppingItems(True)\n\n def getFavourites(self):\n\n # Ensure we wait until the favourites is visible\n try:\n wait = WebDriverWait(self.webDriver, 20)\n wait.until(EC.visibility_of_element_located((By.CLASS_NAME, \"js-navbar-favourites\")))\n except WebDriverException:\n logging.error(\"Wait for favourites button webdriver element exception\")\n self.debugDumpPageSource()\n return None\n\n # Navigate to the favourites\n try:\n FAVOURITES_BUTTON_XPATH = '//a[@class=\"js-navbar-favourites\"]'\n elemBasketBtn = self.webDriver.find_element_by_xpath(FAVOURITES_BUTTON_XPATH)\n print(elemBasketBtn)\n elemBasketBtn.click()\n wait = WebDriverWait(self.webDriver, 60)\n wait.until(EC.visibility_of_element_located((By.CLASS_NAME, \"products-grid\")))\n except NoSuchElementException:\n logging.error(\"Press view favourites button no such element\")\n self.debugDumpPageSource()\n return None\n except WebDriverException:\n logging.error(\"Press view favourites button webdriver element exception\")\n self.debugDumpPageSource()\n return None\n\n # Get the shopping items on the current page\n return self.getShoppingItems(False)\n\n # Handle site login\n def siteLogin(self, siteUrl, username, password, titleMustContainStr):\n\n # Start webDriver\n if not self.startWebDriver():\n logging.error(\"Unable to start webdriver\")\n return False\n self.isInitalized = True\n\n # Go to URL\n logging.info(\"Webdriver going to \" + siteUrl)\n self.webDriver.get(siteUrl)\n logging.info(\"Webdriver site title = \" + self.webDriver.title)\n if not titleMustContainStr in self.webDriver.title:\n logging.error(\"Site \" + siteUrl + \" title doesn't contain \" + titleMustContainStr)\n self.debugDumpPageSource()\n return False\n\n # Handle login\n self.isLoggedIn = self.websiteLogin(username, password, 1)\n\n # Succeeded so far\n return self.isLoggedIn\n\n # Ensure that we are logged in\n def ensureLoggedIn(self, username, password):\n # Ensure we are initialised\n if not self.isInitalized:\n self.siteLogin(\"http://www.waitrose.com\", username, password, \"Waitrose\")\n\n # Try to login again if not currently logged in\n if self.isInitalized:\n if not self.isLoggedIn:\n self.isLoggedIn = self.websiteLogin(username, password, 2)\n\n return self.isLoggedIn\n", "license": "isc", "hash": -783531863977082537, "line_mean": 46.8958333333, "line_max": 169, "alpha_frac": 0.5816538592, "autogenerated": false, "ratio": 4.352334875893984, "config_test": false, "has_no_keywords": false, "few_assignments": false}
{"repo_name": "kidscancode/gamedev", "path": "pygame template.py", "copies": "1", "size": "1508", "content": "# Pygame Template\n# Use this to start a new Pygame project\n# KidsCanCode 2015\nimport pygame\nimport random\n\n# define some colors (R, G, B)\nWHITE = (255, 255, 255)\nGREEN = (0, 255, 0)\nBLUE = (0, 0, 255)\nBLACK = (0, 0, 0) \nFUCHSIA = (255, 0, 255)\nGRAY = (128, 128, 128)\nLIME = (0, 128, 0)\nMAROON = (128, 0, 0)\nNAVYBLUE = (0, 0, 128)\nOLIVE = (128, 128, 0)\nPURPLE = (128, 0, 128)\nRED = (255, 0, 0)\nSILVER = (192, 192, 192)\nTEAL = (0, 128, 128)\nYELLOW = (255, 255, 0)\nORANGE = (255, 128, 0)\nCYAN = (0, 255, 255)\n\n# basic constants to set up your game\nWIDTH = 360\nHEIGHT = 480\nFPS = 30\nBGCOLOR = BLACK\n\n# initialize pygame\npygame.init()\n# initialize sound - uncomment if you're using sound\n# pygame.mixer.init()\n# create the game window and set the title\nscreen = pygame.display.set_mode((WIDTH, HEIGHT))\npygame.display.set_caption(\"My Game\")\n# start the clock\nclock = pygame.time.Clock()\n\n# set the 'running' variable to False to end the game\nrunning = True\n# start the game loop\nwhile running:\n # keep the loop running at the right speed\n clock.tick(FPS)\n # Game loop part 1: Events #####\n for event in pygame.event.get():\n # this one checks for the window being closed\n if event.type == pygame.QUIT:\n pygame.quit()\n # add any other events here (keys, mouse, etc.)\n\n # Game loop part 2: Updates #####\n\n # Game loop part 3: Draw #####\n screen.fill(BGCOLOR)\n # after drawing, flip the display\n pygame.display.flip()\n\n# close the window\npygame.quit()\n", "license": "mit", "hash": 3454655415024161001, "line_mean": 22.9365079365, "line_max": 55, "alpha_frac": 0.6399204244, "autogenerated": false, "ratio": 2.9980119284294235, "config_test": false, "has_no_keywords": false, "few_assignments": false}
{"repo_name": "hhucn/git-vote", "path": "git-vote/__main__.py", "copies": "1", "size": "3022", "content": "import argparse\nimport collections\nimport re\nimport subprocess\n\n\nNOTES_REF = 'refs/notes/votes'\n\n\nVote = collections.namedtuple('Vote', ['commit', 'user'])\n\n\n\ndef vote(args):\n\tassert args.user, 'TODO: determine user automatically'\n\tvote = 'vote:%s' % args.user\n\tsubprocess.check_call([\n\t\t'git', 'notes', '--ref', NOTES_REF, 'append', '--allow-empty', '-m', vote, args.COMMIT],\n\t\tcwd=args.repo_dir)\n\t# TODO: prevent voting twice as same user\n\n\ndef get_all_votes(repo_dir):\n\toutput_bytes = subprocess.check_output([\n\t\t'git', 'notes', '--ref', NOTES_REF, 'list'],\n\t\tcwd=repo_dir)\n\toutput = output_bytes.decode('utf-8')\n\tfor line in output.splitlines():\n\t\tif not line:\n\t\t\tcontinue\n\t\tvotenote_ref, commit_id = line.split()\n\t\t# TODO use dulwich or something more efficient here\n\t\tvotenote_bytes = subprocess.check_output(\n\t\t\t['git', 'show', votenote_ref],\n\t\t\tcwd=repo_dir)\n\n\t\tvotenote_content = votenote_bytes.decode('utf-8') # TODO ignore invalid votes\n\t\tfor voteline in votenote_content.splitlines():\n\t\t\tif not voteline:\n\t\t\t\tcontinue\n\t\t\tm = re.match(r'^vote:(?P<user>[a-z0-9@._]+)$', voteline.strip()) # TODO check re for user spec\n\t\t\tif not m:\n\t\t\t\tprint('Skipping crap %r' % voteline)\n\t\t\t\tcontinue\n\t\t\tuser = m.group('user')\n\n\t\t\tyield Vote(commit=commit_id, user=user)\n\n\ndef print_list(args):\n\tall_votes = get_all_votes(args.repo_dir)\n\tall_votes_sorted = sorted(all_votes, key=lambda v: (v.commit, v.user))\n\tfor v in all_votes_sorted:\n\t\tprint('%s: +1 from %s' % (v.commit, v.user))\n\n\ndef tally(all_votes):\n\t\"\"\" Returns a dict commit id => set of users \"\"\"\n\tres = collections.defaultdict(set)\n\tfor v in all_votes:\n\t\tres[v.commit].add(v.user)\n\treturn res\n\n\ndef print_tally(args):\n\tall_votes = get_all_votes(args.repo_dir)\n\tfor commit, votes in sorted(tally(all_votes).items(), key=lambda kv: (kv[1], kv[0])):\n\t\tprint('%s: %d votes' % (commit, len(votes)))\n\n\ndef print_elect(args):\n\tall_votes = get_all_votes(args.repo_dir)\n\twinner_vcount, winner_commit = max((len(votes), commit) for commit, votes in tally(all_votes).items())\n\t# TODO more algorithms\n\tprint('%s won the election with %d votes' % (winner_commit, winner_vcount))\n\n\ndef main():\n\tparser = argparse.ArgumentParser('Vote on git commands')\n\tparser.add_argument('-r', '--repo-dir', metavar='DIR', help='root directory of the repository to modify')\n\tsubparsers = parser.add_subparsers(dest='cmd')\n\tvote_parser = subparsers.add_parser('vote', help='Vote for commit')\n\tvote_parser.add_argument('--user', metavar='USER_ID', help='ID of the user to vote as')\n\tvote_parser.add_argument('COMMIT', help='reference to the commit to vote for')\n\tsubparsers.add_parser('list', help='List all votes')\n\tsubparsers.add_parser('tally', help='Tally all votes')\n\tsubparsers.add_parser('elect', help='Elect a commit')\n\n\targs = parser.parse_args()\n\tif args.cmd == 'vote':\n\t\tvote(args)\n\telif args.cmd == 'list':\n\t\tprint_list(args)\n\telif args.cmd == 'tally':\n\t\tprint_tally(args)\n\telif args.cmd == 'elect':\n\t\tprint_elect(args)\n\telse:\n\t\tparser.print_help()\n\nif __name__ == '__main__':\n\tmain()\n", "license": "apache-2.0", "hash": 2600720082252724022, "line_mean": 28.6274509804, "line_max": 106, "alpha_frac": 0.6767041694, "autogenerated": false, "ratio": 2.869895536562203, "config_test": false, "has_no_keywords": false, "few_assignments": false}
{"repo_name": "kerimlcr/ab2017-dpyo", "path": "ornek/lollypop/lollypop-0.9.229/src/web.py", "copies": "1", "size": "7411", "content": "# Copyright (c) 2014-2016 Cedric Bellegarde <cedric.bellegarde@adishatz.org>\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, either version 3 of the License, or\n# (at your option) any later version.\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n# You should have received a copy of the GNU General Public License\n# along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nfrom gi.repository import GObject, GLib\n\nfrom threading import Thread\nfrom time import time\n\nfrom lollypop.sqlcursor import SqlCursor\nfrom lollypop.tagreader import TagReader\nfrom lollypop.web_youtube import WebYouTube\nfrom lollypop.web_jgm90 import WebJmg90\nfrom lollypop.define import Lp, DbPersistent, Type\nfrom lollypop.lio import Lio\n\n\nclass Web(GObject.Object):\n \"\"\"\n Web helper\n \"\"\"\n\n __gsignals__ = {\n 'saved': (GObject.SignalFlags.RUN_FIRST, None, (int,)),\n 'progress': (GObject.SignalFlags.RUN_FIRST, None, (float,))\n }\n\n def play_track(track, play, callback):\n \"\"\"\n Play track\n @param track as Track\n @param play as bool\n @param callback as func(uri: str, track: Track, play: bool)\n \"\"\"\n if track.is_jgm:\n uri = WebJmg90.get_uri_content(track.uri)\n elif track.is_youtube:\n uri = WebYouTube.get_uri_content(track.uri)\n else:\n return\n GLib.idle_add(callback, uri, track, play)\n\n def __init__(self):\n \"\"\"\n Init helper\n \"\"\"\n GObject.Object.__init__(self)\n self.__helpers = [WebJmg90(), WebYouTube()]\n\n def save_track(self, item, persistent):\n \"\"\"\n Save item into collection as track\n @param item as SearchItem\n @param persistent as DbPersistent\n \"\"\"\n t = Thread(target=self.__save_track_thread, args=(item, persistent))\n t.daemon = True\n t.start()\n\n def save_album(self, item, persistent):\n \"\"\"\n Save item into collection as album\n @param item as SearchItem\n @param persistent as DbPersistent\n \"\"\"\n t = Thread(target=self.__save_album_thread,\n args=(item, persistent))\n t.daemon = True\n t.start()\n\n#######################\n# PRIVATE #\n#######################\n def __save_album_thread(self, item, persistent):\n \"\"\"\n Save item into collection as album\n @param item as SearchItem\n @param persistent as DbPersistent\n \"\"\"\n nb_items = len(item.subitems)\n # Should not happen but happen :-/\n if nb_items == 0:\n return\n start = 0\n album_artist = item.subitems[0].artists[0]\n album_id = None\n for track_item in item.subitems:\n (album_id, track_id) = self.__save_track(track_item, persistent,\n album_artist)\n if track_id is None:\n continue\n # Download cover\n if start == 0:\n t = Thread(target=self.__save_cover, args=(item, album_id))\n t.daemon = True\n t.start()\n start += 1\n GLib.idle_add(self.emit, \"progress\", start / nb_items)\n GLib.idle_add(self.emit, \"progress\", 1)\n if Lp().settings.get_value('artist-artwork'):\n Lp().art.cache_artists_info()\n if album_id is not None:\n GLib.idle_add(self.emit, \"saved\", album_id)\n\n def __save_track_thread(self, item, persistent):\n \"\"\"\n Save item into collection as track\n @param item as SearchItem\n @param persistent as DbPersistent\n \"\"\"\n album_artist = item.artists[0]\n (album_id, track_id) = self.__save_track(item, persistent,\n album_artist)\n if track_id is None:\n return\n self.__save_cover(item, album_id)\n if Lp().settings.get_value('artist-artwork'):\n Lp().art.cache_artists_info()\n GLib.idle_add(self.emit, \"saved\", track_id)\n\n def __save_track(self, item, persistent, album_artist):\n \"\"\"\n Save item into collection as track\n @param item as SearchItem\n @param persistent as DbPersistent\n @param album artist as str\n @return (album id as int, track id as int)\n \"\"\"\n # Get uri from helpers\n for helper in self.__helpers:\n uri = helper.get_uri(item)\n if uri:\n break\n # Don't found anything\n if not uri:\n return (None, None)\n track_id = Lp().tracks.get_id_by_uri(uri)\n # Check if track needs to be updated\n if track_id is not None:\n if Lp().tracks.get_persistent(track_id) == DbPersistent.NONE\\\n and persistent == DbPersistent.EXTERNAL:\n Lp().tracks.set_persistent(track_id, DbPersistent.EXTERNAL)\n return (None, None)\n t = TagReader()\n with SqlCursor(Lp().db) as sql:\n # Happen often with Itunes/Spotify\n if album_artist not in item.artists:\n item.artists.append(album_artist)\n artists = \"; \".join(item.artists)\n artist_ids = t.add_artists(artists, album_artist, \"\")\n album_artist_ids = t.add_album_artists(album_artist, \"\")\n (album_id, new_album) = t.add_album(item.album,\n album_artist_ids, \"\",\n False, 0, 0, int(time()), True)\n # FIXME: Check this, could move this in add_album()\n if new_album:\n Lp().albums.set_synced(album_id, Type.NONE)\n\n if persistent == DbPersistent.CHARTS:\n genre_ids = [Type.CHARTS]\n new_artist_ids = []\n else:\n new_artist_ids = list(set(artist_ids) | set(album_artist_ids))\n genre_ids = t.add_genres(\"Web\", album_id)\n\n # Add track to db\n track_id = Lp().tracks.add(item.name, uri, item.duration,\n 0, item.discnumber, \"\", album_id,\n item.year, 0, 0, 0, persistent)\n t.update_track(track_id, artist_ids, genre_ids)\n t.update_album(album_id, album_artist_ids, genre_ids, None)\n sql.commit()\n\n for genre_id in genre_ids:\n GLib.idle_add(Lp().scanner.emit, 'genre-updated', genre_id, True)\n for artist_id in new_artist_ids:\n GLib.idle_add(Lp().scanner.emit, 'artist-updated', artist_id, True)\n return (album_id, track_id)\n\n def __save_cover(self, item, album_id):\n \"\"\"\n Save cover to store\n @param item as SearchItem\n @param album id as int\n \"\"\"\n f = Lio.File.new_for_uri(item.cover)\n (status, data, tag) = f.load_contents(None)\n if status:\n Lp().art.save_album_artwork(data, album_id)\n", "license": "gpl-3.0", "hash": 2696436820573914990, "line_mean": 36.6192893401, "line_max": 79, "alpha_frac": 0.5471596276, "autogenerated": false, "ratio": 4.005945945945946, "config_test": false, "has_no_keywords": false, "few_assignments": false}
{"idx": 1859, "inputs": "hypothesis: Al Rashi is an executive of the police. premise: Sunday's explosion outside the Al-Rashi police station in the Al-Mashtel neighbourhood in the southeast of Baghdad, left a huge crater in the street.", "targets": "not_entailment"}
{"idx": 21, "inputs": "hypothesis: Everglades National Park is located in Florida. premise: Many hopes are riding on the sale of Talisman's holdings in Palm Beach and Hendry counties, which Vice President Al Gore announced with much fanfare last year at the 50th anniversary of Everglades National Park.", "targets": "not_entailment"}
{"idx": 1138, "inputs": "hypothesis: The introduction of the euro has been opposed. premise: The most recent poll carried out by NOP market research in January revealed that 61% of Britons are opposed to joining the euro.", "targets": "entailment"}
{"idx": 1346, "inputs": "hypothesis: The Istiqlal Mosque is one of the largest mosques in Southeast Asia. premise: The Istiqlal Mosque, in the northeast corner of Medan Merdeka opposite Lapangan Banteng, is one of the largest mosques in Southeast Asia.", "targets": "entailment"}
{"idx": 463, "inputs": "hypothesis: Nike said orders for footwear and apparel for delivery totaled $4.9 billion, including a 12 percent increase in U.S. orders. premise: Nike Inc. said, Monday, that its first-quarter profit grew 32 percent, as the world's largest sneaker and athletic apparel company posted broad gains in sales and orders.", "targets": "not_entailment"}
{"idx": 1242, "inputs": "hypothesis: Italian director is awarded an honorary Oscar. premise: Oscar-winning director Franco Zeffirelli has been awarded an honorary knighthood for his \"valuable services to British performing arts\".", "targets": "not_entailment"}
{"idx": 2343, "inputs": "hypothesis: The literacy rate in Cuba is 90%. premise: By 1979, the literacy rate in Cuba was higher than 90%, comparable to the rates in the United States and other developed countries.", "targets": "not_entailment"}
{"idx": 2383, "inputs": "hypothesis: The government of Ecuador aims to prevent trafficking in persons. premise: Exercising the powers referred to in article 15, paragraph 3, of the protocol to suppress and punish trafficking in persons, especially women and children, the government of Ecuador makes a reservation with regard to article 15, paragraph 2, relating to the settlement of disputes.", "targets": "entailment"}
{"idx": 1953, "inputs": "hypothesis: The abbreviation GIA stands for Armed Islamic Group. premise: Government forces killed the head of the Armed Islamic Group, or GIA, which has claimed responsibility for killing 61 foreigners in the last year.", "targets": "entailment"}
{"idx": 844, "inputs": "hypothesis: Tom Online earned US$42.78 mn in three months. premise: Tom Online revenues for the three months ended June 30, 2005 were US$42.78 mn, an increase of 38.5% over the same period in 2004.", "targets": "entailment"}
{"id": 3132353830343836, "text": "Maricopa County weather forecast for this week", "label": 5, "label_text": "weather"}
{"id": 3136363730313437, "text": "When will my next alarm start", "label": 6, "label_text": "alarm"}
{"id": 3232353833343937, "text": "text Matthew and Helen that are you free", "label": 0, "label_text": "messaging"}
{"id": 3133303534343534, "text": "what ingredients do is have left", "label": 9, "label_text": "recipes"}
{"id": 3231323335353436, "text": "Cancel my reminder about my dentist appointment", "label": 8, "label_text": "reminder"}
{"id": 39353731323132, "text": "I would like a news update.", "label": 10, "label_text": "news"}
{"id": 3135323839353534, "text": "Read Health newreport please", "label": 10, "label_text": "news"}
{"Unnamed: 0": 0, "tweet": "Yes, to bring to light the brutality of the police that they championed, the chaos in Canada that many will have to deal with. Covid is no different.", "polarity": "positive"}
{"Unnamed: 0": 1, "tweet": "Can make it clear that even a full-fledged person can become infected and spread the virus, why then encourage them to get vaccinated? Why don't they reveal seropositivity in the media? Please spread love. Don't fear.", "polarity": "positive"}
{"Unnamed: 0": 2, "tweet": "If you suspect a side effect after a Covid-19 vaccine or booster, make sure you report it via the relevant information and monitor the safe use of all. Sign up today:", "polarity": "positive"}
{"Unnamed: 0": 3, "tweet": "The development of some Covid - 19 in are good and could be made available to the public later this year and next year, the Covid - 19 Situation Administration () was informed.", "polarity": "positive"}
{"Unnamed: 0": 4, "tweet": "I think you had no money to give your people a vaccine?? What about the prices of oil, gas, water, electricity and so on?? Shameless government", "polarity": "positive"}
{"Unnamed: 0": 5, "tweet": "One million COVID - 19 vaccines have now been administered in the county, a new milestone in the 14-month campaign to...", "polarity": "positive"}