Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

feat: Date Handling -- add unittest based on manually curated data and more... #452

Merged
merged 14 commits into from
Feb 9, 2024

Conversation

BobBorges
Copy link
Collaborator

@BobBorges BobBorges commented Jan 22, 2024

A unit test based on work by Lotta, Fredrik and Mattias manually checking MP start/end dates.

Unfortunately fails because of the data, but I will post that in a separate issue.

Two files from pyriksdagen snuck their way in here due to parallel work on the same branch -- I didn't intend to push them right now, but the edits won't hurt anything.


EDIT, since I accidentally committed these two files from pyriksdagen, I have other things to add, and we have the student pool working on the dates that fail the unit test here, I'm going to add some more features relating to the date handling...

@BobBorges BobBorges changed the title feat: add unittest based on manually curated data feat: Date Handling -- add unittest based on manually curated data and more... Jan 31, 2024
@BobBorges
Copy link
Collaborator Author

unit test will still fail -- we're waiting for double/triple check on a handful of mandate dates

Copy link
Collaborator

@ninpnin ninpnin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I've understood correctly, this PR

  • Tests a known issue in the metadata (tests / mandates)
  • Solves that issue
  • Requeries the metadata from wikidata

Looks good to me. Let me if I've misunderstood something, though.

@BobBorges BobBorges merged commit 4bc2158 into dev Feb 9, 2024
11 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants