<commit_before>@routing @planetary
Feature: Distance calculation
Reference distances have been calculated usign http://seismo.cqu.edu.au/CQSRG/VDistance/
 
	Scenario: Longitudinal distances at equator
		Given the node locations
		 | node | lat | lon |
		 | a    | 0   | 80  |
		 | b    | 0   | 0   |

		And the ways
		 | nodes |
		 | ab    |

		When I route I should get
		 | from | to | route | distance      |
		 | a    | b  | ab    | 8905559 ~0.1% |

	Scenario: Longitudinal distances at latitude 45
		Given the node locations
		 | node | lat | lon |
		 | c    | 45   | 80 |
		 | d    | 45   | 0  |

		And the ways
		 | nodes |
		 | cd    |

		When I route I should get
		 | from | to | route | distance      |
		 | c    | d  | cd    | 6028844 ~0.5% |

	Scenario: Longitudinal distances at latitude 80
		Given the node locations
		 | node | lat | lon |
		 | c    | 80   | 80 |
		 | d    | 80   | 0  |

		And the ways
		 | nodes |
		 | cd    |

		When I route I should get
		 | from | to | route | distance      |
		 | c    | d  | cd    | 1431469 ~0.5% |

	Scenario: Latitudinal distances at longitude 0
		Given the node locations
		 | node | lat | lon |
		 | a    | 80  | 0   |
		 | b    | 0   | 0   |

		And the ways
		 | nodes |
		 | ab    |

		When I route I should get
		 | from | to | route | distance      |
		 | a    | b  | ab    | 8905559 ~0.1% |

	Scenario: Latitudinal distances at longitude 45
		Given the node locations
		 | node | lat | lon |
		 | a    | 80  | 45   |
		 | b    | 0   | 45   |

		And the ways
		 | nodes |
		 | ab    |

		When I route I should get
		 | from | to | route | distance      |
		 | a    | b  | ab    | 8905559 ~0.1% |

	Scenario: Latitudinal distances at longitude 80
		Given the node locations
		 | node | lat | lon |
		 | a    | 80  | 80   |
		 | b    | 0   | 80   |

		And the ways
		 | nodes |
		 | ab    |

		When I route I should get
		 | from | to | route | distance      |
		 | a    | b  | ab    | 8905559 ~0.1% |		 <commit_msg>update planetery test to use meters<commit_after>@routing @planetary
Feature: Distance calculation
Reference distances have been calculated usign http://seismo.cqu.edu.au/CQSRG/VDistance/
 
	Scenario: Longitudinal distances at equator
		Given the node locations
		 | node | lat | lon |
		 | a    | 0   | 80  |
		 | b    | 0   | 0   |

		And the ways
		 | nodes |
		 | ab    |

		When I route I should get
		 | from | to | route | distance       |
		 | a    | b  | ab    | 8905559m ~0.1% |

	Scenario: Longitudinal distances at latitude 45
		Given the node locations
		 | node | lat | lon |
		 | c    | 45   | 80 |
		 | d    | 45   | 0  |

		And the ways
		 | nodes |
		 | cd    |

		When I route I should get
		 | from | to | route | distance       |
		 | c    | d  | cd    | 6028844m ~0.5% |

	Scenario: Longitudinal distances at latitude 80
		Given the node locations
		 | node | lat | lon |
		 | c    | 80   | 80 |
		 | d    | 80   | 0  |

		And the ways
		 | nodes |
		 | cd    |

		When I route I should get
		 | from | to | route | distance       |
		 | c    | d  | cd    | 1431469m ~0.5% |

	Scenario: Latitudinal distances at longitude 0
		Given the node locations
		 | node | lat | lon |
		 | a    | 80  | 0   |
		 | b    | 0   | 0   |

		And the ways
		 | nodes |
		 | ab    |

		When I route I should get
		 | from | to | route | distance       |
		 | a    | b  | ab    | 8905559m ~0.1% |

	Scenario: Latitudinal distances at longitude 45
		Given the node locations
		 | node | lat | lon |
		 | a    | 80  | 45   |
		 | b    | 0   | 45   |

		And the ways
		 | nodes |
		 | ab    |

		When I route I should get
		 | from | to | route | distance       |
		 | a    | b  | ab    | 8905559m ~0.1% |

	Scenario: Latitudinal distances at longitude 80
		Given the node locations
		 | node | lat | lon |
		 | a    | 80  | 80   |
		 | b    | 0   | 80   |

		And the ways
		 | nodes |
		 | ab    |

		When I route I should get
		 | from | to | route | distance       |
		 | a    | b  | ab    | 8905559m ~0.1% |
{'fraction_non_alphanumeric': 0.09771986970684039, 'fraction_numerical': 0.050613881232773744, 'mean_word_length': 1.5838187702265372, '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': '108284', 'n_tokens_mistral': 1733, 'n_tokens_neox': 1304, 'n_words': 495}