<commit_before>@routing @testbot @routes @duration
Feature: Durations

	Background:
		Given the profile "testbot"
		
    Scenario: Duration of ways
    	Given the node map
    	 | a | b |  |   |   |
    	 |   |   |  | e |   |
    	 |   | c |  |   | d |
	 
    	And the ways
    	 | nodes | highway | duration |
    	 | ab    | primary | 0:01     |
    	 | bc    | primary | 0:10     |
    	 | cd    | primary | 1:00     |
    	 | de    | primary | 10:00    |

 		When I route I should get
 		 | from | to | route | distance | time     |
 		 | a    | b  | ab    | 100m +-1 | 1s +-1   |
 		 | b    | c  | bc    | 200m +-1 | 10s +-1  |
 		 | c    | d  | cd    | 300m +-1 | 60s +-1  |
 		 | d    | e  | de    | 144m +-1 | 600s +-1 |
<commit_msg>Fixes test to expect time in minutes not seconds<commit_after>@routing @testbot @routes @duration
Feature: Durations

	Background:
		Given the profile "testbot"
		
    Scenario: Duration of ways
    	Given the node map
    	 | a | b |  |   |   |
    	 |   |   |  | e |   |
    	 |   | c |  |   | d |
	 
    	And the ways
    	 | nodes | highway | duration |
    	 | ab    | primary | 0:01     |
    	 | bc    | primary | 0:10     |
    	 | cd    | primary | 1:00     |
    	 | de    | primary | 10:00    |

 		When I route I should get
 		 | from | to | route | distance | time       |
 		 | a    | b  | ab    | 100m +-1 | 60s +-1    |
 		 | b    | c  | bc    | 200m +-1 | 600s +-1   |
 		 | c    | d  | cd    | 300m +-1 | 3600s +-1  |
 		 | d    | e  | de    | 144m +-2 | 36000s +-1 |

{'fraction_non_alphanumeric': 0.13097576948264572, 'fraction_numerical': 0.05762933857236411, 'mean_word_length': 1.2503681885125184, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3497346', 'n_tokens_mistral': 692, 'n_tokens_neox': 593, 'n_words': 170}