add script to check the expected result count against the actual result
Usage example:
In the best of worlds we would have something like this on Wiki, similar to auto updating Listeria lists but in the meanwhile...
@Abbe98 FYI Scotland is missing.
interesting, all failures are "within the margin", only in Malta many items are missing.
Nice catch @RVA2869!
I'm trying to run it, but get this:
Traceback (most recent call last):
File "/scripts/check-expected-results-count.py", line 56, in <module>
verify_result_counts(folder_path, endpoint)
File "/scripts/check-expected-results-count.py", line 33, in verify_result_counts
with open(file_path, "r") as file:
FileNotFoundError: [Errno 2] No such file or directory: 'queries/generators/queries/generators/united-kingdom.rq'
only in Malta many items are missing
Looks like one user decided that the local councils should just be towns instead.
Must be squash merged.
@Abbe98 I missed the squash merge. Is that a problem?