<commit_before>#  Way: The Embarcadero (24335490)
# http://www.openstreetmap.org/way/24335490
# http://www.openstreetmap.org/relation/32386
test.assert_has_feature(
    16, 10487, 25327, 'roads',
    { 'id': 24335490, 'kind': 'major_road', 'cycleway_right': 'lane', 'bicycle_network': 'lcn' })

# Way: King Street (8920394) http://www.openstreetmap.org/way/8920394
test.assert_has_feature(
    16, 10487, 25329, 'roads',
    { 'id': 8920394, 'kind': 'major_road', 'cycleway_right': 'lane', 'bicycle_network': 'lcn'})

# Way: King Street (397270776) http://www.openstreetmap.org/way/397270776
test.assert_has_feature(
    16, 10487, 25329, 'roads',
    { 'id': 397270776, 'kind': 'major_road', 'cycleway_right': 'lane', 'bicycle_network': 'lcn'})

# Way: Clara-Immerwahr-Straße (287167007) http://www.openstreetmap.org/way/287167007
test.assert_has_feature(
    16, 34494, 21846, 'roads',
    { 'id': 287167007, 'kind': 'minor_road', 'bicycle_network': 'icn'})

# Way: 198th Street (138388021) http://www.openstreetmap.org/way/138388021
test.assert_has_feature(
    16, 10435, 22457, 'roads',
    { 'id': 138388021, 'kind': 'major_road', 'bicycle_network': 'icn', 'cycleway': 'shared_lane'})

# Way: 232603515 http://www.openstreetmap.org/way/232603515
test.assert_has_feature(
    16, 18735, 25114, 'roads',
    { 'id': 232603515, 'kind': 'minor_road', 'bicycle_network': 'ncn', 'oneway': 'yes'})

# Way: Longleaf Trace (165276857) http://www.openstreetmap.org/way/165276857
test.assert_has_feature(
    16, 16505, 26756, 'roads',
    { 'id': 165276857, 'kind': 'path', 'bicycle_network': 'ncn'})

# http://www.openstreetmap.org/way/44422697
test.assert_has_feature(
    16, 10509, 25377, 'roads',
    { 'id': 44422697, 'kind': 'path', 'bicycle_network': 'rcn'})

# Way: <NAME>.
# http://www.openstreetmap.org/way/5669719
# rcn_ref=9, but not part of any relation.
test.assert_has_feature(
    16, 19307, 24607, 'roads',
    { 'id': 5669719, 'kind': 'minor_road', 'bicycle_network': 'rcn'})

# Way: 11th Street (27029204) http://www.openstreetmap.org/way/27029204#map=16/37.7700/-122.4117
test.assert_has_feature(
    16, 10483, 25332, 'roads',
    { 'id': 27029204, 'kind': 'major_road', 'bicycle_network': 'lcn', 'cycleway': 'lane'})

# Way: Boulge Road
# http://www.openstreetmap.org/way/50835689
# http://www.openstreetmap.org/relation/2767188
test.assert_has_feature(
    16, 33002, 21613, 'roads',
    { 'id': 50835689, 'kind': 'minor_road', 'bicycle_network': 'icn'})

# Way: West National Ave (95578389)
# http://www.openstreetmap.org/way/95578389<commit_msg>Update test due to osm data change<commit_after>#  Way: The Embarcadero (24335490)
# http://www.openstreetmap.org/way/24335490
# http://www.openstreetmap.org/relation/32386
test.assert_has_feature(
    16, 10487, 25327, 'roads',
    { 'id': 24335490, 'kind': 'major_road', 'cycleway_right': 'lane', 'bicycle_network': 'lcn' })

# Way: King Street (8920394) http://www.openstreetmap.org/way/8920394
test.assert_has_feature(
    16, 10487, 25329, 'roads',
    { 'id': 8920394, 'kind': 'major_road', 'cycleway_right': 'lane', 'bicycle_network': 'lcn'})

# Way: King Street (397270776) http://www.openstreetmap.org/way/397270776
test.assert_has_feature(
    16, 10487, 25329, 'roads',
    { 'id': 397270776, 'kind': 'major_road', 'cycleway_right': 'lane', 'bicycle_network': 'lcn'})

# Way: Clara-Immerwahr-Straße (287167007) http://www.openstreetmap.org/way/287167007
test.assert_has_feature(
    16, 34494, 21846, 'roads',
    { 'id': 287167007, 'kind': 'minor_road', 'bicycle_network': 'icn'})

# Way: 198th Street (138388021) http://www.openstreetmap.org/way/138388021
test.assert_has_feature(
    16, 10435, 22457, 'roads',
    { 'id': 138388021, 'kind': 'major_road', 'bicycle_network': 'icn', 'cycleway': 'shared_lane'})

# Way: 232603515 http://www.openstreetmap.org/way/232603515
test.assert_has_feature(
    16, 18735, 25114, 'roads',
    { 'id': 232603515, 'kind': 'minor_road', 'bicycle_network': 'ncn', 'oneway': 'yes'})

# http://www.openstreetmap.org/way/315261543
test.assert_has_feature(
    16, 32209, 22024, 'roads',
    { 'id': 315261543, 'kind': 'path', 'bicycle_network': 'ncn'})

# http://www.openstreetmap.org/way/44422697
test.assert_has_feature(
    16, 10509, 25377, 'roads',
    { 'id': 44422697, 'kind': 'path', 'bicycle_network': 'rcn'})

# Way: <NAME>.
# http://www.openstreetmap.org/way/5669719
# rcn_ref=9, but not part of any relation.
test.assert_has_feature(
    16, 19307, 24607, 'roads',
    { 'id': 5669719, 'kind': 'minor_road', 'bicycle_network': 'rcn'})

# Way: 11th Street (27029204) http://www.openstreetmap.org/way/27029204#map=16/37.7700/-122.4117
test.assert_has_feature(
    16, 10483, 25332, 'roads',
    { 'id': 27029204, 'kind': 'major_road', 'bicycle_network': 'lcn', 'cycleway': 'lane'})

# Way: Boulge Road
# http://www.openstreetmap.org/way/50835689
# http://www.openstreetmap.org/relation/2767188
test.assert_has_feature(
    16, 33002, 21613, 'roads',
    { 'id': 50835689, 'kind': 'minor_road', 'bicycle_network': 'icn'})

# Way: West National Ave (95578389)
# http://www.openstreetmap.org/way/95578389
{'fraction_non_alphanumeric': 0.18836619168455984, 'fraction_numerical': 0.166504001561585, 'mean_word_length': 4.97899649941657, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 28, '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': '3850259', 'n_tokens_mistral': 2684, 'n_tokens_neox': 2044, 'n_words': 389}