<commit_before># man_made=lighthouse
# boundary=national_park
# leisure/landuse=park
# historic=battlefield
# landuse=forest
# leisure=nature_reserve
# boundary=protected_area
# landuse=wood
# natural=forest
# natural=wood
# landuse=farm
# aeroway=aerodrome/airport
# landuse=military
# amenity=university
# amenity=college
# landuse=cemetery
# power=generator
# leisure=golf_course
# amenity=hospital
# power=plant
# landuse=recreation_ground
# leisure=sports_centre
# leisure=stadium
# power=substation
# man_made=wastewater_plant
# man_made=works
# man_made<commit_msg>Add test to check that unnamed features don't appear in POIs layer.<commit_after># this is a collection of features which have no name and therefore should be
# excluded from being POIs.

# originally from 440-zoos-and-other-attractions-tourism.py
#https://www.openstreetmap.org/node/1589837084
# unnamed, CO
assert_no_matching_feature(
    16, 13686, 24901, 'pois',
    { 'id': 1589837084 })

# originally from 526-inclusive-pois.py
#https://www.openstreetmap.org/node/1460537343
assert_no_matching_feature(
    16, 10470, 25342, 'pois',
    { 'id': 1460537343 })

#https://www.openstreetmap.org/node/3879177193
assert_no_matching_feature(
    16, 10533, 22894, 'pois',
    { 'id': 3879177193 })

# originally from 602-add-boat-rental.py
#    [16, 16679, 24763], # node 2420432693 shop=boat_rental
#    [16, 13323, 21679], # node 2911709060 amenity=boat_rental
#    [16, 10503, 25310], # node 3509468126 rental=boat

# originally from 657-natural-man_made.py
# node 1328665285
assert_no_matching_feature(
    15, 5293, 12734, 'pois',
    { 'id': 1328665285 })
# node 3150154140
assert_no_matching_feature(
    16, 10482, 25294, 'pois',
    { 'id': 3150154140 })

# originally from 661-historic-transit-stops.py
# http://www.openstreetmap.org/node/3721890342
assert_no_matching_feature(
    13, 1316, 3176, 'pois',
    {'id': 3721890342})

# originally from 663-combo-outdoor-landuse-pois.py
#https://www.openstreetmap.org/relation/6328943
# Cox Stadium recreation track
assert_no_matching_feature(
    16, 10471, 25342, 'pois',
    { 'id': -6328943 })
#https://www.openstreetmap.org/node/3643451363
# unnamed running track
assert_no_matching_feature(
    16, 10962, 25007, 'pois',
    { 'id': 3643451363 })

# originally from 675-man_made-outdoor-landmarks.py
#http://www.openstreetmap.org/way/350328482
assert_no_matching_feature(
    13, 1942, 3395, 'pois',
    { 'id': 350328482 })

# originally from 742-predictable-layers-pois.py
# Way:79457493 Grave_yard in POIS
# http://www.openstreetmap.org/way/79457493
assert_no_matching_feature(
    15, 5240, 12666, 'pois',
    {'id': 79457493})
# Way:64296322 landuse: Forest in POIS
# http://www.openstreetmap.org/way/64296322
assert_no_matching_feature(
    10, 163, 392, 'pois',
    {'id': 64296322})
# Node:2148541212 natural: Forest in POIS
# http://www.openstreetmap.org/node/2148541212
assert_no_matching_feature(
    14, 3942, 5901, 'pois',
    {'id': 2148541212})
# Node:4206408136 park in POIS
# http://www.openstreetmap.org/node/4206408136
assert_no_matching_feature(
    14, 2619, 6333, 'pois',
    {'id': 4206408136})
# Node:4076680383 protected_area in POIS
# http://www.openstreetmap.org/node/4076680383
assert_no_matching_feature(
    14, 2809, 6074, 'pois',
    {'id': 4076680383})
# Way:184367568 quarry in POIS
# http://www.openstreetmap.org/way/184367568
assert_no_matching_feature(
    12, 671, 1583, 'pois',
    {'id': 184367568})
# Way:86285084 recreation_ground in POIS
# http://www.openstreetmap.org/way/86285084
assert_no_matching_feature(
    14, 2619, 6334, 'pois',
    {'id': 86285084})
# Node:582131344 recreation_ground in POIS
# http://www.openstreetmap.org/node/582131344
assert_no_matching_feature(
    14, 2621, 6331, 'pois',
    {'id': 582131344})
# Way:28694608 village_green in POIS
# http://www.openstreetmap.org/way/28694608
assert_no_matching_feature(
    14, 2618, 6334, 'pois',
    {'id': 28694608})
# Node:3367407023 water_works in POIS
# http://www.openstreetmap.org/node/3367407023
assert_no_matching_feature(
    14, 2627, 6346, 'pois',
    {'id': 3367407023})
# Way:207859675 landuse: wood in POIS
# http://www.openstreetmap.org/way/207859675
assert_no_matching_feature(
    14, 2826, 6549, 'pois',
    {'id': 207859675})
# Way:372445925 natural: wood in POIS
# http://www.openstreetmap.org/way/372445925
assert_no_matching_feature(
    14, 2618, 6330, 'pois',
    {'id': 372445925})
# Way:164878781 works in POIS
# http://www.openstreetmap.org/way/164878781
assert_no_matching_feature(
    13, 1429, 3247, 'pois',
    {'id': 164878781 })

# originally from 927-normalize-operator-values.py
# http://www.openstreetmap.org/node/4216584100
assert_no_matching_feature(
    16, 15995, 25090, 'pois',
    {'id': 4216584100})
{'fraction_non_alphanumeric': 0.13369542510967203, 'fraction_numerical': 0.18362231042406518, 'mean_word_length': 4.867647058823529, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 21, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7383082', 'n_tokens_mistral': 2468, 'n_tokens_neox': 1815, 'n_words': 353}