Skip to content

Commit

Permalink
Add revised scottish 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Jan 6, 2025
1 parent 40a1cc1 commit 3224485
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file modified data/processed/parquet/scottish-parliament-2024-motions.parquet
Binary file not shown.
7 changes: 7 additions & 0 deletions src/parl_motion_detector/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,13 @@ def is_inappropriate(motion: Motion) -> bool:
return True
return False

# this is currently just dealing with a weird multi way speaker election that should be orphaned.
decisions_to_ignore = ["uk.org.publicwhip/spor/2024-05-07.4.22"]

self.found_divisions = [
x for x in self.found_divisions if x.gid not in decisions_to_ignore
]

self.found_motions = [x for x in self.found_motions if not is_inappropriate(x)]

remaining_items = [
Expand Down

0 comments on commit 3224485

Please sign in to comment.