Spaces:
Sleeping
Sleeping
Commit
·
a08315f
1
Parent(s):
35b3f62
Add system
Browse files- app.py +1 -0
- system/existing_pledges.txt +0 -54
- system/icl.txt +0 -69
- system/instruction.txt +0 -7
app.py
CHANGED
@@ -71,6 +71,7 @@ def similar_pledges():
|
|
71 |
|
72 |
def calculate_time_range(option: str, pledge_date: str = None):
|
73 |
today = datetime.today()
|
|
|
74 |
|
75 |
if option == "week":
|
76 |
one_week_ago = today - timedelta(days=7)
|
|
|
71 |
|
72 |
def calculate_time_range(option: str, pledge_date: str = None):
|
73 |
today = datetime.today()
|
74 |
+
pledge_date = datetime.strptime(pledge_date, "%Y-%m-%d")
|
75 |
|
76 |
if option == "week":
|
77 |
one_week_ago = today - timedelta(days=7)
|
system/existing_pledges.txt
DELETED
@@ -1,54 +0,0 @@
|
|
1 |
-
Take back our streets by halving serious violent crime
|
2 |
-
We will support families with children by introducing free breakfast clubs in every primary school
|
3 |
-
We will finally deliver a full trans-inclusive ban on conversion practices
|
4 |
-
We will introduce a ‘Hillsborough Law’ which will place a legal duty of candour on public servants and authorities, and provide legal aid for victims of disasters or state-related deaths
|
5 |
-
As a first step, in England, we will deliver an extra two million NHS operations, scans, and appointments every year; that is 40,000 more appointments every week
|
6 |
-
We will end the use of offshore trusts to avoid inheritance tax so that everyone who makes their home here in the UK pays their taxes here
|
7 |
-
We will abolish non-dom status once and for all, replacing it with a modern scheme for people genuinely in the country for a short period
|
8 |
-
We will end the VAT exemption and business rates relief for private schools
|
9 |
-
We will get Britain building again … with 1.5 million new homes over the next parliament
|
10 |
-
We will ensure the next generation can never legally buy cigarettes
|
11 |
-
We will not increase taxes on working people
|
12 |
-
We will not increase taxes on working people, which is why we will not increase National Insurance
|
13 |
-
We will not increase taxes on working people, which is why we will not increase [...] the basic, higher, or additional rates of Income Tax
|
14 |
-
We will not increase taxes on working people, which is why we will not increase [...] VAT
|
15 |
-
We will intervene earlier to stop young people being drawn into crime, creating a new Young Futures programme with a network of hubs reaching every community
|
16 |
-
Raising confidence in the … criminal justice system to its highest levels
|
17 |
-
We will recruit an additional 8,500 new staff to treat children and adults through our first term
|
18 |
-
Kickstart economic growth to secure the highest sustained growth in the G7
|
19 |
-
Raising confidence in the police … to its highest levels
|
20 |
-
We will [introduce] new Respect Orders - powers to ban persistent adult offenders from town centres, which will stamp out issues such as public drinking and drug use
|
21 |
-
We will create a new Border Security Command, with hundreds of new investigators, intelligence officers, and cross-border police officers
|
22 |
-
Capitalised with £7.3 billion over the course of the next Parliament, the National Wealth Fund will have a remit to support We’s growth and clean energy missions
|
23 |
-
We will introduce a new participation requirement [for House of Lords members]
|
24 |
-
The next We government will therefore bring about an immediate modernisation, by introducing legislation to remove the right of hereditary peers to sit and vote in the House of Lords
|
25 |
-
A new Energy Independence Act will establish the framework for We’s energy and climate policies
|
26 |
-
We will introduce a Football Governance Bill, which will establish an independent regulator to ensure financial sustainability of football clubs in England
|
27 |
-
Every fiscal event making significant changes to taxation or spending will be subject to an independent OBR forecast
|
28 |
-
We will establish a National Wealth Fund
|
29 |
-
We will conduct a Strategic Defence Review within our first year in government
|
30 |
-
Ending the wasteful Migration and Economic Development partnership with Rwanda
|
31 |
-
We will cap corporation tax at the current level of 25%, the lowest in the G7, for the entire parliament
|
32 |
-
We will introduce a new ‘Fit For the Future’ fund to double the number of CT and MRI scanners, allowing the NHS to catch cancer and other conditions earlier, saving lives
|
33 |
-
We will … [give] 16- and 17-year-olds the right to vote in all elections
|
34 |
-
We will set up a new returns and enforcement unit, with an additional 1,000 staff, to fast-track removals to safe countries for people who do not have the right to stay here
|
35 |
-
We will capitalise Great British Energy with £8.3 billion, over the next parliament
|
36 |
-
We will immediately update the National Policy Planning Framework [sic] to undo damaging Conservative changes, including restoring mandatory housing targets
|
37 |
-
Recruit 6,500 new expert teachers in key subjects
|
38 |
-
We will carry out a review of sentencing to ensure it is brought up to date
|
39 |
-
We will train thousands more GPs
|
40 |
-
We will return to meeting NHS performance standards. That means patients should expect to wait no longer than 18 weeks from referral for consultant-led treatment of non-urgent health conditions
|
41 |
-
Productivity growth in every part of the country
|
42 |
-
The government will deliver a milestone of higher living standards in every part of the United Kingdom by the end of the Parliament
|
43 |
-
Giving children the best start in life, with a record 75% of 5-year-olds in England ready to learn when they start school
|
44 |
-
We will fix an additional one million potholes across England in each year of the next parliament
|
45 |
-
We will not grant new coal licences
|
46 |
-
We will set out the path to spending 2.5 per cent of GDP on defence
|
47 |
-
We will [...] address the inconsistencies in voter ID rules that prevent legitimate voters from voting. For example, in the case of HM Armed Forces Veteran Cards
|
48 |
-
We will also introduce a mandatory retirement age. At the end of the Parliament in which a member reaches 80 years of age, they will be required to retire from the House of Lords
|
49 |
-
We will create a new publicly-owned company, Great British Energy
|
50 |
-
We will negotiate additional returns arrangements to speed up returns
|
51 |
-
We will not issue new licences to explore new [oil and gas] fields
|
52 |
-
We will deliver our commitment to spend 2.5% of GDP on defence, but we will bring it forward so that we reach that level in 2027 and we will maintain that for the rest of this Parliament
|
53 |
-
We will tackle the immediate crisis with a rescue plan to provide 700,000 more urgent dental appointments
|
54 |
-
We will … end asylum hotels, saving the taxpayer billions of pounds
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
system/icl.txt
DELETED
@@ -1,69 +0,0 @@
|
|
1 |
-
Input:
|
2 |
-
|
3 |
-
Title: New investment for Border Security Command
|
4 |
-
Date: 2024-09-17
|
5 |
-
Article: Up to £75 million in new investment for the Border Security Command paves way for an autumn immigration crime crackdown. The UK’s Border Security Command will deliver cutting edge new technology, extra officers and further covert capabilities across the system following a significant, immediate cash injection, Home Secretary Yvette Cooper announced today. As part of the new Border Security Command uplift, the National Crime Agency (NCA), the police and other law enforcement agency partners will receive a significant cash injection to bolster the UK’s border security and disrupt the criminal people smuggling gangs. The investment comes ahead of an expected effort by the smuggling gangs to cram ever more vulnerable people into unseaworthy boats launched from the French coast while the weather remains fair. Their industrial scale smuggling business is under sustained pressure from co-ordinated UK and European partner law enforcement action. The Home Secretary announced the package of up to £75 million, which redirects funds originally allocated to the previous government’s Illegal Migration Act. It will unlock sophisticated new technology and extra capabilities for the NCA to bolster UK border security and disrupt the criminal people smuggling gangs. The investment is designed to build on a pattern of successful upstream disruptions announced at an operational summit, attended by the Prime Minister, at the NCA headquarters last week. - covert cameras and state of the art monitoring technology, enhancing evidence collection, speeding up investigations and increasing the likelihood of successful prosecutions - establishing a new unit to improve intelligence collection across UK police forces and information flows to partners, alongside an uplift in prosecutors working in the Crown Prosecution Service to act on investigations to swiftly bring those responsible to justice - recruitment of additional personnel for the new Border Security Command, led by Commander Martin Hewitt, which will oversee the co-operation of all of the organisations involved in smashing the gangs - increased work to tackle organised crime groups facilitating irregular migration upstream by intensifying efforts in transit countries to prevent small boat equipment reaching the French coast The announcement follows yesterday’s meeting between the Prime Minister and his Italian counterpart, Giorgia Meloni, in Rome to discuss systematic bilateral co-operation on border security. Italy has seen a significant drop in irregular migration thanks to tougher enforcement and enhanced cooperation with international partners. Newly appointed Border Security Commander – a director general senior civil servant appointment – Martin Hewitt joined the UK delegation to Rome. The enhanced technical and staffing resources announced today will be an important platform for the work he will co-ordinate across UK law enforcement and intelligence agencies when he formally starts his role in the coming weeks. The funding also covers an additional 100 specialist investigators for the NCA, which was announced by the government last month, representing a 25% increase in the agency’s dedicated personnel tackling organised immigration crime. The government has also announced a 50% increase in the number of British officers stationed at Europol, supporting European operations to dismantle organised crime groups facilitating people smuggling. Criminal gangs are getting away with undermining our border security and putting lives at risk. The Border Security Command will deliver a major overhaul and upgrade in law enforcement against smugglers and trafficking gangs to boost our border security. State of the art technology and enhanced intelligence capabilities will ensure we are using every tool at our disposal to dismantle this vile trade. I welcome this funding, which will allow us to improve and extend our technology, data exploitation, and capacity-building both internationally and in the UK. Tackling organised immigration crime remains a top priority for the NCA, we are currently leading around 70 investigations into the gangs or individuals involved in the highest echelons of criminality, and we are devoting more resources to it than ever before. We are determined to do all we can to disrupt and dismantle these networks, wherever they operate. CPS Director of Public Prosecutions Stephen Parkinson said: CPS prosecutors will bring significant expertise to the new unit to help stop human trafficking gangs in their tracks, and pursue any assets gained through criminality. Working with partners, we will continue to discourage, disrupt and dismantle this exploitative trade through prosecutions and cross-border collaboration. The announcement coincides with a concerted push by UK ministers to tackle shared border security challenges. Immigration Minister Dame Angela Eagle is attending the annual Berlin Process Interior Ministers’ meeting in Germany today (Tuesday 17 September), to discuss strengthening border security, tackling organised crime groups and combatting violence against women and girls across the Western Balkans region. The meeting brings together European partners with a focus on working with partners across the Western Balkans, a key region in the journey of irregular migrants through Europe and, in many cases, onwards to the UK.
|
6 |
-
|
7 |
-
Summary events and their dates in the JSON format.
|
8 |
-
|
9 |
-
Output:
|
10 |
-
|
11 |
-
{
|
12 |
-
"events":[
|
13 |
-
{
|
14 |
-
"event": "Announcement of up to £75 million in new investment for the UK's Border Security Command by Home Secretary Yvette Cooper.",
|
15 |
-
"date": "2024-09-17"
|
16 |
-
},
|
17 |
-
{
|
18 |
-
"event": "Immigration Minister Dame Angela Eagle attending the annual Berlin Process Interior Ministers’ meeting in Germany to discuss strengthening border security.",
|
19 |
-
"date": "2024-09-17"
|
20 |
-
},
|
21 |
-
{
|
22 |
-
"event": "An operational summit attended by the Prime Minister at the NCA headquarters where successful upstream disruptions were announced.",
|
23 |
-
"date": "Last week (relative to 2024-09-17)"
|
24 |
-
},
|
25 |
-
{
|
26 |
-
"event": "A meeting took place in Rome between the UK Prime Minister and Italian Prime Minister Giorgia Meloni to discuss systematic bilateral cooperation on border security.",
|
27 |
-
"date": "Yesterday (relative to 2024-09-17)"
|
28 |
-
},
|
29 |
-
{
|
30 |
-
"event": "The government announced an additional 100 specialist investigators for the NCA, representing a 25% increase in dedicated personnel tackling organised immigration crime.",
|
31 |
-
"date": "Last month (relative to 2024-09-17)"
|
32 |
-
}
|
33 |
-
]
|
34 |
-
}
|
35 |
-
|
36 |
-
Input:
|
37 |
-
|
38 |
-
Title: Home Secretary announces new measures to boost Britain’s border security
|
39 |
-
Date: 2024-08-21
|
40 |
-
Article: Home Secretary announces new measures to boost Britain’s border security Home Secretary announces new measures to strengthen border security, enforce immigration rules and increase returns. New measures to boost Britain’s border security are being set out today (21 August) by the Home Secretary, including the immediate recruitment of up to 100 new specialist intelligence and investigation officers at the National Crime Agency (NCA) to target, dismantle and disrupt organised immigration crime networks. Yvette Cooper has also today announced a major surge in immigration enforcement and returns activity, to make sure that immigration and asylum rules are respected and enforced - saying that the government has new plans for the next 6 months to achieve the highest rate of removals of those with no right to be here, including failed asylum seekers, for 5 years (since 2018). In addition, a new intelligence-driven illegal working programme will be rolled out to target, investigate and take down unscrupulous employers who illegally employ those with no right to work here. The new measures are fulfilling on the government’s commitment to provide long-term security to our borders. - up to 100 new specialist intelligence and investigations officers deployed to the National Crime Agency (NCA) to disrupt and smash criminal smuggling gangs and prevent dangerous boat crossings - a large surge in enforcement and returns flights, with the aim of putting removals at their highest level since 2018, reversing the damaging drop in enforcement over recent years - increased detention capacity including 290 added beds at Campsfield and Haslar Immigration Removal Centres - redeployment of staff to drive this increase in returns - sanctions to be taken against unscrupulous employers who hire workers illegally This comes on top of the 50% uplift in the number of NCA officers stationed in Europol. These officers have been immediately deployed to support European operations to disrupt the activity of criminal smuggling gangs making millions out of small boat crossings. The NCA currently has around 70 investigations targeting the highest harm criminal networks involved in people smuggling and trafficking, and worked with international partners to support the seizure of around 400 boats and engines intended for use in channel crossings. A range of sanctions, including financial penalty notices, business closure orders and potential prosecution, will be taken against those employing illegal workers. Those caught working illegally and eligible for removal will be detained, pending their swift removal. Alongside this, the government is increasing detention spaces to support the higher pace of removals including reopening and adding 290 beds across Immigration Removal Centres (IRCs) at Campsfield and Haslar. This increase will ensure there is additional capacity to facilitate higher levels of enforcement and returns so that rules are properly respected. Building on 9 successful returns flights in the last six weeks, including the largest-ever chartered return flight, the government is redeploying personnel and resources to support further activity. Staff are being redeployed to increase removal of failed asylum seekers, which had dropped by 40% since 2010. Three hundred caseworkers have already been reassigned to progress thousands of failed asylum and returns cases, including enforced and voluntary returns. Enhanced digital capabilities will be deployed to ensure consistent contact throughout, preventing those with no right to be here from disappearing into exploitative illegal working and ensure they can be returned. This enforcement surge, overseen by Bas Javid, the Home Office’s Director General for Immigration Enforcement, is part of the government’s plans to transform the asylum system and secure UK borders. This will ensure that all Immigration Enforcement processes are implemented firmly, fairly, and accurately throughout, whilst also taking account of the important lessons learnt from Windrush. We are taking strong and clear steps boost our border security and ensure the rules are respected and enforced. Our new Border Security Command is already gearing up, with new staff being urgently recruited and additional staff already stationed across Europe, working with European enforcement agencies to find every route in to smashing the criminal smuggling gangs organising dangerous boat crossings which undermine our border security and putting lives at risk. And by increasing enforcement capabilities and returns we will establish a system that is better controlled and managed, in place of the chaos that has blighted the system for far too long. NCA Director General of Operations Rob Jones said: Tackling organised immigration crime remains a key priority for the NCA and we are dedicating more effort and resource than ever before. These extra officers will play a key role in that, with the NCA currently leading around 70 investigations into the highest harm people smuggling and trafficking groups. Taking on these dangerous and exploitative gangs requires international co-operation and we continue to further enhance our already strong relationship with Europol and other law enforcement partners. We are determined to do all we can to disrupt and dismantle these networks, whether they are operating in the UK or overseas. This work builds on the Prime Minister’s meeting at the European Political Community last month, where he held discussions with the migration working group alongside Italy, Albania, Germany, Malta, Denmark, Hungary, The Netherlands, and Slovakia. The European leaders discussed border security, their joint efforts to tackle people-smuggling, and the ambition to work collectively with other countries to deliver solutions. Since taking office, the Home Secretary has also held calls with a range of partners to discuss increasing cooperation to tackle organised immigration crime.
|
41 |
-
|
42 |
-
Summary events and their dates in the JSON format.
|
43 |
-
|
44 |
-
Output:
|
45 |
-
|
46 |
-
{
|
47 |
-
"events": [
|
48 |
-
{
|
49 |
-
"event": "Home Secretary Yvette Cooper announces new measures to boost Britain's border security, including the recruitment of up to 100 new specialist intelligence and investigation officers at the National Crime Agency (NCA).",
|
50 |
-
"date": "2024-08-21"
|
51 |
-
},
|
52 |
-
{
|
53 |
-
"event": "Announcement of a major surge in immigration enforcement and returns activity to achieve the highest rate of removals of those with no right to be in the UK since 2018.",
|
54 |
-
"date": "2024-08-21"
|
55 |
-
},
|
56 |
-
{
|
57 |
-
"event": "Introduction of a new intelligence-driven illegal working programme to target and take down employers who illegally employ individuals with no right to work in the UK.",
|
58 |
-
"date": "2024-08-21"
|
59 |
-
},
|
60 |
-
{
|
61 |
-
"event": "The government announces increased detention capacity, including 290 added beds at Campsfield and Haslar Immigration Removal Centres.",
|
62 |
-
"date": "2024-08-21"
|
63 |
-
},
|
64 |
-
{
|
65 |
-
"event": "The Prime Minister's meeting at the European Political Community last month, where discussions were held with European leaders on border security and tackling people-smuggling.",
|
66 |
-
"date": "Last month (relative to 2024-08-21)"
|
67 |
-
}
|
68 |
-
]
|
69 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
system/instruction.txt
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
You are given a pledge, the pledge speaker, and the date of when the pledge is made, and a key event summarized from an online article along with the date of when the event happens. Your task is to determine whether this event summary is useful to track the fulfilment of this pledge.
|
2 |
-
|
3 |
-
Yes:
|
4 |
-
The summary presents developments or actions that demonstrate progress (or lack thereof) towards fulfilling the pledge. It helps evaluate whether the pledge is on track or not.
|
5 |
-
|
6 |
-
No:
|
7 |
-
The summary only provides background or contextual information, but no progress information for evaluating the fulfilment of the pledge. Or the summary is less than or not related to the pledge.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|