Spaces:
Sleeping
Sleeping
Commit ·
b6e39c6
1
Parent(s): ed95e7f
Add system
Browse files25 unmodified lines2627282930313275 unmodified lines10810911011111211311413 unmodified lines128129130131132133134135136147 unmodified lines284285286287288289290240 unmodified lines53153253353453553653725 unmodified linesFact-Checking Election Promises</h1><p class="text-lg text-gray-600">Extract progress towards fulfilling the promise.</p></div></section>75 unmodified linesid="check"class="mt-4 px-6 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">Let's check!</button><div id="progress" class="mt-6 hidden border p-4 rounded-lg bg-white shadow">13 unmodified lines<div class="container mx-auto px-4 max-w-4xl"><h2 class="text-2xl font-bold mb-6">About</h2><p class="text-gray-700 leading-relaxed">This demo connects a static front-end with a Python back-end using Flask.The back-end generates event data and returns structured events relatedto a manifesto pledge.</p></div></section>147 unmodified linesalert("No feedback to submit!");return;}const confirmed = confirm("By submitting feedback, you consent to participate in this study and agree that your responses may be collected for research purposes. Your data will be anonymised and stored securely. Participation is entirely voluntary. If you do not wish to take part, please cancel this submission.");if (!confirmed) return;const pledgeText = document.getElementById("claim").value.trim();240 unmodified linesdocument.getElementById("pledge-author").value = "Labour";document.getElementById("pledge-date").value = "2024-07-04";suggestedPledge = { text, index };alert("✅ This pledge has been filled in. You can now click 'Let's check!'");await fetch("/api/log-similar-selection", {method: "POST",headers: { "Content-Type": "application/json" },25 unmodified lines262728293031323334353637383975 unmodified lines11511611711811912012113 unmodified lines135136137138139140141142147 unmodified lines290291292293294295296240 unmodified lines53753853954054154254325 unmodified linesFact-Checking Election Promises</h1><p class="text-lg text-gray-600">PledgeTracker is a system to monitor the fulfilment of political pledges.<br>As part of this study, we will collect your inputs to help evaluate and improve the system.<br>We may also collect your feedback if you submit it via the feedback form.<br>No personal information will be collected, and all data will be anonymised and stored securely.<br><span class="text-purple-600 font-bold">By using the system, you agree to participate in this study under these conditions.</span><br><a href="mailto:yc632@cam.ac.uk" class="text-purple-600 underline">Please contact us if you have any concerns.</a></p></div></section>75 unmodified linesid="check"class="mt-4 px-6 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">Let's track!</button><div id="progress" class="mt-6 hidden border p-4 rounded-lg bg-white shadow">13 unmodified lines<div class="container mx-auto px-4 max-w-4xl"><h2 class="text-2xl font-bold mb-6">About</h2><p class="text-gray-700 leading-relaxed">PledgeTracker is a research prototype developed to support the monitoring of political pledge fulfilment.This demo is developed by researchers at the University of Cambridge and Full Fact.</p></div></section>147 unmodified linesalert("No feedback to submit!");return;}const confirmed = confirm("By submitting feedback, you agree that your responses may be collected for research purposes. Your data will be anonymised and stored securely. Participation is entirely voluntary. If you do not wish to take part, please cancel this submission.");if (!confirmed) return;const pledgeText = document.getElementById("claim").value.trim();240 unmodified linesdocument.getElementById("pledge-author").value = "Labour";document.getElementById("pledge-date").value = "2024-07-04";suggestedPledge = { text, index };alert("✅ This pledge has been filled in. You can now click 'Let's track!'");await fetch("/api/log-similar-selection", {method: "POST",headers: { "Content-Type": "application/json" },
test.html+13-7