Skip to content

Commit

Permalink
Update policies test file with agreement list
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Feb 6, 2024
1 parent 216a8e5 commit 0001007
Showing 1 changed file with 247 additions and 122 deletions.
369 changes: 247 additions & 122 deletions tests/policies.json
Original file line number Diff line number Diff line change
@@ -1,126 +1,251 @@
{
"set_descs":{
"housing": "Housing",
"health": "Health",
"welfare": "Welfare, Benefits and Pensions",
"transport": "Transport",
"environment": "Environmental Issues",
"social": "Social Issues",
"foreignpolicy": "Foreign Policy and Defence",
"business": "Business and the Economy",
"reform": "Constitutional Reform",
"taxation": "Taxation and Employment",
"home": "Home Affairs",
"education": "Education",
"misc": "Miscellaneous Topics"
"policies": {
"363": "introducing <b>foundation hospitals</b>",
"810": "greater <b>regulation of gambling</b>",
"811": "<b>smoking bans</b>",
"826": "equal <b>gay rights</b>",
"837": "a <strong>wholly elected</strong> House of Lords",
"842": "a lower <b>voting age</b>",
"975": "<strong>investigations</strong> into the Iraq war",
"984": "replacing <b>Trident</b> with a new nuclear weapons system",
"996": "a <b>transparent Parliament</b>",
"1027": "a referendum on the UK's membership of the <b>EU</b>",
"1030": "measures to <b>prevent climate change</b>",
"1049": "the <b>Iraq war</b>",
"1050": "the <b>hunting ban</b>",
"1051": "introducing <b>ID cards</b>",
"1052": "university <b>tuition fees</b>",
"1053": "Labour's <b title=\"Including voting to maintain them\">anti-terrorism laws</b>",
"1065": "more <b>EU integration</b>",
"1071": "allowing ministers to <b>intervene in inquests</b>",
"1074": "greater <b>autonomy for schools</b>",
"1079": "removing <b>hereditary peers</b> from the House of Lords",
"1084": "a more <a href=\"https://en.wikipedia.org/wiki/Proportional_representation\">proportional system</a> for electing MPs",
"1087": "a <b>stricter asylum system</b>",
"1105": "the privatisation of <b>Royal Mail</b>",
"1109": "encouraging <b>occupational pensions</b>",
"1110": "increasing the <b>rate of VAT</b>",
"1113": "an <b>equal number of electors</b> per parliamentary constituency",
"1120": "capping <b>civil service redundancy payments</b>",
"1124": "automatic enrolment in <b>occupational pensions</b>",
"1132": "raising England&rsquo;s <b>undergraduate tuition fee</b> cap to &pound;9,000 per year",
"1136": "<b>fewer MPs</b> in the House of Commons",
"6667": "the policies included in the 2010 <b><a href=\"http://webarchive.nationalarchives.gov.uk/20100527091800/http://programmeforgovernment.hmg.gov.uk/\">Conservative - Liberal Democrat Coalition Agreement</a></b>",
"6670": "a reduction in spending on <b>welfare benefits</b>",
"6671": "reducing central government <b>funding of local government</b>",
"6672": "reducing <b>housing benefit</b> for social tenants deemed to have excess bedrooms (which Labour describe as the \"bedroom tax\")",
"6673": "paying higher benefits over longer periods for those unable to work due to <b>illness or disability</b>",
"6674": "raising <b>welfare benefits</b> at least in line with prices",
"6676": "reforming the <b>NHS</b> so GPs buy services on behalf of their patients",
"6677": "restricting the provision of services to <b>private patients</b> by the NHS",
"6678": "greater restrictions on <b>campaigning by third parties</b>, such as charities, during elections",
"6679": "reducing the rate of <b>corporation tax</b>",
"6680": "raising the threshold at which people start to pay <b>income tax</b>",
"6681": "increasing the tax rate applied to <b>income over &pound;150,000</b>",
"6682": "ending <b>financial support</b> for some 16-19 year olds in training and further education",
"6683": "local councils keeping money raised from <b>taxes on business premises</b> in their areas",
"6684": "making local councils responsible for helping those in <b>financial need</b> afford their <b>council tax</b> and reducing the amount spent on such support",
"6685": "a <b>banker&rsquo;s bonus tax</b>",
"6686": "allowing <b>marriage</b> between two people of same sex",
"6687": "<a href=\"https://en.wikipedia.org/wiki/Academy_(English_school)\">academy schools</a>",
"6688": "use of <b>UK military forces</b> in combat operations overseas",
"6690": "measures to reduce <b>tax avoidance</b>",
"6691": "stronger tax <b>incentives for companies to invest</b> in assets",
"6692": "slowing the rise in <b>rail fares</b>",
"6693": "lower taxes on <b>fuel for motor vehicles</b>",
"6694": "higher taxes on <b>alcoholic drinks</b>",
"6695": "more <b>powers for local councils</b>",
"6696": "the introduction of elected <b>Police and Crime Commissioners</b>",
"6697": "selling England&rsquo;s state owned <b>forests</b>",
"6698": "<b>fixed periods between parliamentary elections</b>",
"6699": "higher <b>taxes on plane tickets</b>",
"6702": "spending public money to create <b>guaranteed jobs for young people</b> who have spent a long time unemployed",
"6703": "laws to promote <b>equality and human rights</b>",
"6704": "financial incentives for <b>low carbon</b> emission <b>electricity generation</b> methods",
"6705": "requiring pub companies to offer <b>pub landlords rent-only leases</b>",
"6706": "strengthening the <b>Military Covenant</b>",
"6707": "restricting the scope of <b>legal aid</b>",
"6708": "transferring <b>more powers to the Senedd/Welsh Parliament</b>",
"6709": "transferring <b>more powers to the Scottish Parliament</b>",
"6710": "<b>culling badgers</b> to tackle bovine tuberculosis",
"6711": "an annual tax on the value of expensive homes (popularly known as a <b>mansion tax</b>)",
"6715": "allowing national security sensitive evidence to be put before <b>courts in secret sessions</b>",
"6716": "allowing employees to exchange some employment <b>rights for shares</b> in the company they work for",
"6718": "restrictions on <b>fees</b> charged to tenants by <b>letting agents</b>",
"6719": "limits on success <b>fees</b> paid to lawyers in <b>no-win no fee cases</b>",
"6720": "a statutory <b>register of lobbyists</b>",
"6721": "requiring the mass <b>retention of information about communications</b>",
"6731": "more restrictive <b>regulation of trade union activity</b>",
"6732": "allowing <b>terminally ill people</b> to be given <b>assistance to end their life</b>",
"6733": "higher <b>taxes on banks</b>",
"6734": "stronger <b>enforcement of immigration rules</b>",
"6736": "<b>a veto for MPs</b> from England, Wales and Northern Ireland <b>over laws specifically impacting their part of the UK</b>",
"6741": "greater regulation of <b>hydraulic fracturing (fracking)</b> to extract shale gas",
"6743": "charging a <b>market rent to high earners renting a council home</b>",
"6744": "phasing out <b>secure tenancies for life</b>",
"6746": "a <b>publicly owned railway system</b>",
"6747": "greater public control of <b>bus services</b>",
"6751": "<b>mass surveillance</b> of people&rsquo;s communications and activities",
"6753": "new <b>high speed rail</b> infrastructure",
"6754": "reducing <b>capital gains tax</b>",
"6757": "<b>military action against <a href=\"https://en.wikipedia.org/wiki/Islamic_State_of_Iraq_and_the_Levant\">ISIL (Daesh)</a></b>",
"6758": "<b>merging police and fire services</b> under Police and Crime Commissioners",
"6761": "<b>UK membership of the EU</b>",
"6764": "a <b>right to remain for EU nationals</b> already in living in the UK"
},
"policies":{
"363": "introducing <b>foundation hospitals</b>",
"810": "greater <b>regulation of gambling</b>",
"811": "<b>smoking bans</b>",
"826": "equal <b>gay rights</b>",
"837": "a <strong>wholly elected</strong> House of Lords",
"842": "a lower <b>voting age</b>",
"975": "<strong>investigations</strong> into the Iraq war",
"984": "replacing <b>Trident</b> with a new nuclear weapons system",
"996": "a <b>transparent Parliament</b>",
"1027": "a referendum on the UK's membership of the <b>EU</b>",
"1030": "measures to <b>prevent climate change</b>",
"1049": "the <b>Iraq war</b>",
"1050": "the <b>hunting ban</b>",
"1051": "introducing <b>ID cards</b>",
"1052": "university <b>tuition fees</b>",
"1053": "Labour's <b title=\"Including voting to maintain them\">anti-terrorism laws</b>",
"1065": "more <b>EU integration</b>",
"1071": "allowing ministers to <b>intervene in inquests</b>",
"1074": "greater <b>autonomy for schools</b>",
"1079": "removing <b>hereditary peers</b> from the House of Lords",
"1084": "a more <a href=\"https://en.wikipedia.org/wiki/Proportional_representation\">proportional system</a> for electing MPs",
"1087": "a <b>stricter asylum system</b>",
"1105": "the privatisation of <b>Royal Mail</b>",
"1109": "encouraging <b>occupational pensions</b>",
"1110": "increasing the <b>rate of VAT</b>",
"1113": "an <b>equal number of electors</b> per parliamentary constituency",
"1120": "capping <b>civil service redundancy payments</b>",
"1124": "automatic enrolment in <b>occupational pensions</b>",
"1132": "raising England&rsquo;s <b>undergraduate tuition fee</b> cap to &pound;9,000 per year",
"1136": "<b>fewer MPs</b> in the House of Commons",
"6667": "the policies included in the 2010 <b><a href=\"http://webarchive.nationalarchives.gov.uk/20100527091800/http://programmeforgovernment.hmg.gov.uk/\">Conservative - Liberal Democrat Coalition Agreement</a></b>",
"6670": "a reduction in spending on <b>welfare benefits</b>",
"6671": "reducing central government <b>funding of local government</b>",
"6672": "reducing <b>housing benefit</b> for social tenants deemed to have excess bedrooms (which Labour describe as the \"bedroom tax\")",
"6673": "paying higher benefits over longer periods for those unable to work due to <b>illness or disability</b>",
"6674": "raising <b>welfare benefits</b> at least in line with prices",
"6676": "reforming the <b>NHS</b> so GPs buy services on behalf of their patients",
"6677": "restricting the provision of services to <b>private patients</b> by the NHS",
"6678": "greater restrictions on <b>campaigning by third parties</b>, such as charities, during elections",
"6679": "reducing the rate of <b>corporation tax</b>",
"6680": "raising the threshold at which people start to pay <b>income tax</b>",
"6681": "increasing the tax rate applied to <b>income over &pound;150,000</b>",
"6682": "ending <b>financial support</b> for some 16-19 year olds in training and further education",
"6683": "local councils keeping money raised from <b>taxes on business premises</b> in their areas",
"6684": "making local councils responsible for helping those in <b>financial need</b> afford their <b>council tax</b> and reducing the amount spent on such support",
"6685": "a <b>banker&rsquo;s bonus tax</b>",
"6686": "allowing <b>marriage</b> between two people of same sex",
"6687": "<a href=\"https://en.wikipedia.org/wiki/Academy_(English_school)\">academy schools</a>",
"6688": "use of <b>UK military forces</b> in combat operations overseas",
"6690": "measures to reduce <b>tax avoidance</b>",
"6691": "stronger tax <b>incentives for companies to invest</b> in assets",
"6692": "slowing the rise in <b>rail fares</b>",
"6693": "lower taxes on <b>fuel for motor vehicles</b>",
"6694": "higher taxes on <b>alcoholic drinks</b>",
"6695": "more <b>powers for local councils</b>",
"6696": "the introduction of elected <b>Police and Crime Commissioners</b>",
"6697": "selling England&rsquo;s state owned <b>forests</b>",
"6698": "<b>fixed periods between parliamentary elections</b>",
"6699": "higher <b>taxes on plane tickets</b>",
"6702": "spending public money to create <b>guaranteed jobs for young people</b> who have spent a long time unemployed",
"6703": "laws to promote <b>equality and human rights</b>",
"6704": "financial incentives for <b>low carbon</b> emission <b>electricity generation</b> methods",
"6705": "requiring pub companies to offer <b>pub landlords rent-only leases</b>",
"6706": "strengthening the <b>Military Covenant</b>",
"6707": "restricting the scope of <b>legal aid</b>",
"6708": "transferring <b>more powers to the Senedd/Welsh Parliament</b>",
"6709": "transferring <b>more powers to the Scottish Parliament</b>",
"6710": "<b>culling badgers</b> to tackle bovine tuberculosis",
"6711": "an annual tax on the value of expensive homes (popularly known as a <b>mansion tax</b>)",
"6715": "allowing national security sensitive evidence to be put before <b>courts in secret sessions</b>",
"6716": "allowing employees to exchange some employment <b>rights for shares</b> in the company they work for",
"6718": "restrictions on <b>fees</b> charged to tenants by <b>letting agents</b>",
"6719": "limits on success <b>fees</b> paid to lawyers in <b>no-win no fee cases</b>",
"6720": "a statutory <b>register of lobbyists</b>",
"6721": "requiring the mass <b>retention of information about communications</b>",
"6731": "more restrictive <b>regulation of trade union activity</b>",
"6732": "allowing <b>terminally ill people</b> to be given <b>assistance to end their life</b>",
"6733": "higher <b>taxes on banks</b>",
"6734": "stronger <b>enforcement of immigration rules</b>",
"6736": "<b>a veto for MPs</b> from England, Wales and Northern Ireland <b>over laws specifically impacting their part of the UK</b>",
"6741": "greater regulation of <b>hydraulic fracturing (fracking)</b> to extract shale gas",
"6743": "charging a <b>market rent to high earners renting a council home</b>",
"6744": "phasing out <b>secure tenancies for life</b>",
"6746": "a <b>publicly owned railway system</b>",
"6747": "greater public control of <b>bus services</b>",
"6751": "<b>mass surveillance</b> of people&rsquo;s communications and activities",
"6753": "new <b>high speed rail</b> infrastructure",
"6754": "reducing <b>capital gains tax</b>",
"6757": "<b>military action against <a href=\"https://en.wikipedia.org/wiki/Islamic_State_of_Iraq_and_the_Levant\">ISIL (Daesh)</a></b>",
"6758": "<b>merging police and fire services</b> under Police and Crime Commissioners",
"6761": "<b>UK membership of the EU</b>",
"6764": "a <b>right to remain for EU nationals</b> already in living in the UK"
"sets": {
"health": [
"363",
"811",
"6676",
"6677",
"6732"
],
"welfare": [
"6670",
"6672",
"6673",
"6674",
"6684",
"6702"
],
"foreignpolicy": [
"975",
"984",
"1027",
"1049",
"1065",
"6688",
"6706",
"6757",
"6761",
"6764"
],
"taxation": [
"1109",
"1110",
"1124",
"6680",
"6681",
"6685",
"6693",
"6694",
"6699",
"6711",
"6716",
"6731",
"6733",
"6754"
],
"misc": [
"810",
"1053",
"1105",
"1120",
"6667",
"6705",
"6707",
"6715",
"6718",
"6719",
"6720"
],
"transport": [
"6692",
"6693",
"6699",
"6746",
"6747"
],
"education": [
"1052",
"1074",
"1132",
"6682",
"6687"
],
"environment": [
"1030",
"6693",
"6697",
"6699",
"6704",
"6710",
"6741",
"6753"
],
"housing": [
"6743",
"6744"
],
"social": [
"811",
"826",
"1050",
"6686",
"6703",
"6732"
],
"home": [
"1051",
"1071",
"1087",
"6696",
"6721",
"6734",
"6751",
"6758"
],
"reform": [
"837",
"842",
"996",
"1079",
"1084",
"1113",
"1136",
"6671",
"6678",
"6683",
"6695",
"6698",
"6708",
"6709",
"6736"
],
"business": [
"6679",
"6690",
"6691",
"6753"
]
},
"sets":{
"housing": ["6743", "6744"],
"transport": ["6692", "6693", "6699", "6746", "6747"],
"environment": ["1030", "6693", "6697", "6699", "6704", "6710", "6741", "6753"],
"welfare": ["6670", "6672", "6673", "6674", "6684", "6702"],
"health": ["363", "811", "6676", "6677", "6732"],
"reform": ["837", "842", "996", "1079", "1084", "1113", "1136", "6671", "6678", "6683", "6695", "6698", "6708", "6709", "6736"],
"social": ["811", "826", "1050", "6686", "6703", "6732"],
"business": ["6679", "6690", "6691", "6753"],
"foreignpolicy": ["975", "984", "1027", "1049", "1065", "6688", "6706", "6757", "6761", "6764"],
"education": ["1052", "1074", "1132", "6682", "6687"],
"misc": ["810", "1053", "1105", "1120", "6667", "6705", "6707", "6715", "6718", "6719", "6720"],
"taxation": ["1109", "1110", "1124", "6680", "6681", "6685", "6693", "6694", "6699", "6711", "6716", "6731", "6733", "6754"],
"home": ["1051", "1071", "1087", "6696", "6721", "6734", "6751", "6758"]
"set_descs": {
"health": "Health",
"welfare": "Welfare, Benefits and Pensions",
"foreignpolicy": "Foreign Policy and Defence",
"transport": "Transport",
"misc": "Miscellaneous Topics",
"taxation": "Taxation and Employment",
"reform": "Constitutional Reform",
"business": "Business and the Economy",
"education": "Education",
"housing": "Housing",
"environment": "Environmental Issues",
"home": "Home Affairs",
"social": "Social Issues"
},
"agreements": {
"1030": [
{
"gid": "2019-06-24b.530.1",
"url": "/debates/?id=2019-06-24b.530.1",
"alignment": "agree",
"house": "commons",
"strength": "weak",
"division_name": "Approval of SI setting 2050 Net Zero target date",
"date": "2019-06-24"
}
]
}
}
}

0 comments on commit 0001007

Please sign in to comment.