Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HRDF import validator #2

Open
vasile opened this issue Dec 9, 2020 · 2 comments
Open

HRDF import validator #2

vasile opened this issue Dec 9, 2020 · 2 comments

Comments

@vasile
Copy link
Member

vasile commented Dec 9, 2020

From #6
Als PO ODPCH / PO OJP
will ich den auf der ODPCH bereitgestellten HRDF-Datenexport mit dem Datenexport der Vorwoche vergleichen,
damit ich sicherstellen kann, dass der Umfang der exportierten Daten korrekt ist bzw. die gleiche Grössenordnung wie in der Vorwoche aufweist.

Akzeptanzkriterien:

  • Wo möglich werden die Files der Datenlieferung über eine ID mit der Datenlieferung der Vorwoche verglichen
  • Wo nicht über eine ID möglich, Für werden die Files über die Anzahl Zeilen mit den entsprechenden Files der Vorwoche verglichen
  • Die Resultate der Vergleiche wird in einem Dashboard / Email visualisiert.

Functionalities

  • check if the number of journeys in HRDF-File is about the same as in the distributed file the week before (it should increase)
  • check if there are lines that were present and are no longer (list them)
  • check if there are operators that were present and are no longer (list them)
  • check if there are new operators (list them) with lines
  • check if there are new lines (list them) with operator
  • check if there are lines without journeys.
  • check if there are lines, where the number of journeys varied a lot (list them)
  • check if there stops that were not there before or no longer there (list them). With new stops, please list the lines.

Assumptions

  • assume that all the ZIPs are already present on the disk - there is no need to download them (yet)
    hrdf_comparison.py check_oev_sammlung_ch_hrdf_5_40_41_2020_20201207_074253.zip oev_sammlung_ch_hrdf_5_40_41_2020_20201129_034343.zip
  • come with best practices params (-- or other notation)

Deliverables

@vasile
Copy link
Member Author

vasile commented Mar 12, 2021

@u233336 please re-prioritize

@u233336
Copy link

u233336 commented Jun 1, 2021

New check if there are lines in the file, that are not valid for the actual time period (--> see message in MENTZ Portal: https://portal.mentz.net/?Mode=HOTLINE&ID=171222)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants