1
0
Fork 0

clarify what qa.py is doing

it is also throwing out perfectly valid street lamps
This commit is contained in:
Mateusz Konieczny 2025-03-08 04:25:22 +01:00
parent a489b32546
commit 9ae63e6f01

6
qa.py
View file

@ -7,9 +7,11 @@ config = __import__("0_config")
def remove_bad_data(data, atp_code):
"""
removes bad data: dubious, broken and low quality tags
removes bad data: removes dubious, broken, not needed or low quality tags
removes bad objects: broken, nonexisting, supicious
removes things that are not shops and not shoplike: for examples trees and street lamps
returns None if entry was broken/not existing
returns None if entry was broken/not existing/not a shoplike object
returns fixed tag dictionary otherwise
"""
try: