<commit_before>Feature: Basic functionality of the application: responding to a match query.

	Scenario: Ensure a standard (non-reconciliation API) query returns a suitable JSON response
		When I make a match query for "genus=Congea&species=chinensis&authors=Moldenke"
		Then I receive the following match response:
			"""
			[
				{
					"taxonomicStatus_transf" : "Accepted",
					"taxonomicStatus" : "Accepted",
					"id" : "kew-46537",
					"authors" : "Moldenke",
					"genus_transf" : "Congea",
					"species_transf" : "chinensis",
					"authors_transf" : "mol",
					"genus" : "Congea",
					"infraspecies" : "",
					"species" : "chinensis",
					"acceptedNameID" : "kew-46537",
					"infraspecies_transf" : "",
					"acceptedNameID_transf" : "kew-46537"
				}
			]
			"""

#	Scenario: Ensure many simultaneous / rapid queries give the correct responses
#		It's not clear how to test this.<commit_msg>Test (not implemented) for possible file upload results method.<commit_after>Feature: Basic functionality of the application: responding to a match query.

	Scenario: Ensure a standard (non-reconciliation API) query returns a suitable JSON response
		When I make a match query for "genus=Congea&species=chinensis&authors=Moldenke"
		Then I receive the following match response:
			"""
			[
				{
					"taxonomicStatus_transf" : "Accepted",
					"taxonomicStatus" : "Accepted",
					"id" : "kew-46537",
					"authors" : "Moldenke",
					"genus_transf" : "Congea",
					"species_transf" : "chinensis",
					"authors_transf" : "mol",
					"genus" : "Congea",
					"infraspecies" : "",
					"species" : "chinensis",
					"acceptedNameID" : "kew-46537",
					"infraspecies_transf" : "",
					"acceptedNameID_transf" : "kew-46537"
				}
			]
			"""

#	Scenario: Reconcile records by file upload
#		When I make a bulk match query with a file containing these rows:
#			"""
#			id,genus,species,infraspecies,authors
#			1,Quercus,alba,,L.
#			2,Ilex,,,L.
#			"""
#		Then I receive the following result file:
#			"""
#			id,genus,species,infraspecies,authors,result
#			1,Quercus,alba,,L.,kew-171499,Quercus alba L.
#			2,Ilex,,,L.,,
#			"""

#	Scenario: Ensure many simultaneous / rapid queries give the correct responses
#		It's not clear how to test this.
{'fraction_non_alphanumeric': 0.13020372010628875, 'fraction_numerical': 0.01771479185119575, 'mean_word_length': 3.5728744939271255, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2278277', 'n_tokens_mistral': 992, 'n_tokens_neox': 794, 'n_words': 199}