<commit_before># highway=path, with route inter-national
# GR5-Grand Traverse de Jura between France and Switzerland
# https://www.openstreetmap.org/way/285975282
# https://www.openstreetmap.org/relation/6009161
assert_has_feature(
    9, 265, 179, 'roads',
    { 'kind': 'path', 'walking_network': 'iwn' } )

# highway=path, with route national (Pacific Crest Trail) at zoom 9
# https://www.openstreetmap.org/way/236361475
# https://www.openstreetmap.org/relation/1225378
assert_has_feature(
    9, 86, 197, 'roads',
    { 'kind': 'path', 'walking_network': 'nwn' } )

# highway=path, with route regional (Merced Pass Trail) at zoom 11
# https://www.openstreetmap.org/way/373491941
# https://www.openstreetmap.org/relation/5549623
assert_has_feature(
   11, 343, 792, 'roads',
   { 'kind': 'path', 'walking_network': 'rwn'  } )

# highway=unclassified, with route local (Grant Avenue) at zoom 12
# part of The Barbary Coast Trail in San Francisco
# https://www.openstreetmap.org/way/91181758
# https://www.openstreetmap.org/relation/6322028
assert_has_feature(
   12, 655, 1582, 'roads',
   { 'kind': 'minor_road', 'walking_network': 'lwn' } )

# Way: Dreiländerweg part of ICN [EV3] Pilgrim's Route DE_9_03 (Nideggen - Aachen)
# https://www.openstreetmap.org/way/223428887
# https://www.openstreetmap.org/relation/6965102
# https://www.openstreetmap.org/relation/21394
# https://www.openstreetmap.org/relation/55614
# https://www.openstreetmap.org/relation/1424819
# https://www.openstreetmap.org/relation/1735810
# assert_has_feature(
#     8, 134, 85, 'roads',
#     { 'kind': 'path', 'is_bicycle_related': True, 'bicycle_network': 'icn' })

# Ferry between Denmark and Germany, icn
# https://www.openstreetmap.org/way/128631318
# https://www.openstreetmap.org/relation/721738
assert_has_feature(
    8, 136, 81, 'roads',
    { 'kind': 'ferry', 'is_bicycle_related': True, 'bicycle_network': 'icn' })

# Søndervangsvej minor road in Denmark as national cycle route
# https://www.openstreetmap.org/way/149701891
# https://www.openstreetmap.org/relation/349521
assert_has_feature(
    8, 136, 79, 'roads',
    { 'kind': 'minor_road', 'is_bicycle_related': True, 'bicycle_network': 'ncn' })

# Part of Bay Trail in South (San Francisco) Bay
# way is marked rcn=yes, and part of a proper bike relation
# http://www.openstreetmap.org/way/44422697
# http://www.openstreetmap.org/relation/325779
assert_has_feature(
    10, 164, 396, 'roads',
    { 'kind': 'path', 'is_bicycle_related': True, 'bicycle_network': 'rcn' })

# Hyltebjerg Allé residential road with rcn in Copenhagen
# https://www.openstreetmap.org/way/2860759
# https://www.openstreetmap.org/relation/2087590
assert_has_feature(
    10, 547, 320, 'roads',
    { 'kind': 'minor_road', 'is_bicycle_related': True, 'bicycle_network': 'rcn' })

# lcn in Seattle (living street that would only be visible at zoom 13 otherwise) at zoom 11
# https://www.openstreetmap.org/way/6477775
# https://www.openstreetmap.org/relation/3541926
assert_has_feature(
    11, 327, 715, 'roads',
    { 'kind': 'minor_road', 'bicycle_network': 'lcn' })

# Kirkham Street lcn in San Francisco at zoom 11
# https://www.openstreetmap.org/way/89802424
# https://www.openstreetmap.org/relation/32313
assert_has_feature(
    11, 327, 791, 'roads',
    { 'kind': 'minor_road', 'bicycle_network': 'lcn' })

# Asiatisk Plads service road with lcn in Copenhagen
# https://www.openstreetmap.org/way/164049387
# https://www.openstreetmap.org/relation/6199242
assert_has_feature(
    11, 1095, 641, 'roads',
    { 'kind': 'minor_road', 'bicycle_network': 'lcn' })
<commit_msg>[tests] switch around zoom 8 international cycleway test<commit_after># highway=path, with route inter-national
# GR5-Grand Traverse de Jura between France and Switzerland
# https://www.openstreetmap.org/way/285975282
# https://www.openstreetmap.org/relation/6009161
assert_has_feature(
    9, 265, 179, 'roads',
    { 'kind': 'path', 'walking_network': 'iwn' } )

# highway=path, with route national (Pacific Crest Trail) at zoom 9
# https://www.openstreetmap.org/way/236361475
# https://www.openstreetmap.org/relation/1225378
assert_has_feature(
    9, 86, 197, 'roads',
    { 'kind': 'path', 'walking_network': 'nwn' } )

# highway=path, with route regional (Merced Pass Trail) at zoom 11
# https://www.openstreetmap.org/way/373491941
# https://www.openstreetmap.org/relation/5549623
assert_has_feature(
   11, 343, 792, 'roads',
   { 'kind': 'path', 'walking_network': 'rwn'  } )

# highway=unclassified, with route local (Grant Avenue) at zoom 12
# part of The Barbary Coast Trail in San Francisco
# https://www.openstreetmap.org/way/91181758
# https://www.openstreetmap.org/relation/6322028
assert_has_feature(
   12, 655, 1582, 'roads',
   { 'kind': 'minor_road', 'walking_network': 'lwn' } )

# Way: North Sea Cycle Route - part Netherlands (1977662)
# A really long highway=cycleway
# https://www.openstreetmap.org/way/35568189
# https://www.openstreetmap.org/relation/1977662
# https://www.openstreetmap.org/relation/1975739
# https://www.openstreetmap.org/relation/5294
# https://www.openstreetmap.org/relation/537418
assert_has_feature(
    8, 131, 83, 'roads',
    { 'kind': 'path', 'is_bicycle_related': True, 'bicycle_network': 'icn' })

# Ferry between Denmark and Germany, icn
# https://www.openstreetmap.org/way/128631318
# https://www.openstreetmap.org/relation/721738
assert_has_feature(
    8, 136, 81, 'roads',
    { 'kind': 'ferry', 'is_bicycle_related': True, 'bicycle_network': 'icn' })

# Søndervangsvej minor road in Denmark as national cycle route
# https://www.openstreetmap.org/way/149701891
# https://www.openstreetmap.org/relation/349521
assert_has_feature(
    8, 136, 79, 'roads',
    { 'kind': 'minor_road', 'is_bicycle_related': True, 'bicycle_network': 'ncn' })

# Part of Bay Trail in South (San Francisco) Bay
# way is marked rcn=yes, and part of a proper bike relation
# http://www.openstreetmap.org/way/44422697
# http://www.openstreetmap.org/relation/325779
assert_has_feature(
    10, 164, 396, 'roads',
    { 'kind': 'path', 'is_bicycle_related': True, 'bicycle_network': 'rcn' })

# Hyltebjerg Allé residential road with rcn in Copenhagen
# https://www.openstreetmap.org/way/2860759
# https://www.openstreetmap.org/relation/2087590
assert_has_feature(
    10, 547, 320, 'roads',
    { 'kind': 'minor_road', 'is_bicycle_related': True, 'bicycle_network': 'rcn' })

# lcn in Seattle (living street that would only be visible at zoom 13 otherwise) at zoom 11
# https://www.openstreetmap.org/way/6477775
# https://www.openstreetmap.org/relation/3541926
assert_has_feature(
    11, 327, 715, 'roads',
    { 'kind': 'minor_road', 'bicycle_network': 'lcn' })

# Kirkham Street lcn in San Francisco at zoom 11
# https://www.openstreetmap.org/way/89802424
# https://www.openstreetmap.org/relation/32313
assert_has_feature(
    11, 327, 791, 'roads',
    { 'kind': 'minor_road', 'bicycle_network': 'lcn' })

# Asiatisk Plads service road with lcn in Copenhagen
# https://www.openstreetmap.org/way/164049387
# https://www.openstreetmap.org/relation/6199242
assert_has_feature(
    11, 1095, 641, 'roads',
    { 'kind': 'minor_road', 'bicycle_network': 'lcn' })

{'fraction_non_alphanumeric': 0.1506601806810285, 'fraction_numerical': 0.08533703961084087, 'mean_word_length': 4.679558011049724, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 51, 'lorem ipsum': 0, 'www.': 55, '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': '933788', 'n_tokens_mistral': 3088, 'n_tokens_neox': 2568, 'n_words': 577}