






import pytest

import datasets.config
from datasets.utils.info_utils import is_small_dataset

@pytest.mark.parametrize("""dataset_size"""	,[None, 4_00 * 2**20, 6_00 * 2**20]		)
@pytest.mark.parametrize("""input_in_memory_max_size"""	,["""default""", 0, 1_00 * 2**20, 9_00 * 2**20]		)
def 	__lowerCamelCase      (		snake_case__	,snake_case__	,snake_case__		)							->  str:
						if input_in_memory_max_size != "default":
												monkeypatch.setattr(datasets.config	,"""IN_MEMORY_MAX_SIZE"""	,UpperCamelCase__		)
						_SCREAMING_SNAKE_CASE     				=  datasets.config.IN_MEMORY_MAX_SIZE
						if input_in_memory_max_size == "default":
												assert in_memory_max_size == 0
						else:
												assert in_memory_max_size == input_in_memory_max_size
						if dataset_size and in_memory_max_size:
												_SCREAMING_SNAKE_CASE     				=  dataset_size < in_memory_max_size
						else:
												_SCREAMING_SNAKE_CASE     				=  False
						_SCREAMING_SNAKE_CASE     				=  is_small_dataset(UpperCamelCase__		)
						assert result == expected









from maths.is_square_free import is_square_free
from maths.prime_factors import prime_factors

def 	__lowerCamelCase      (		snake_case__		)							->  int:






						"""simple docstring"""





						_SCREAMING_SNAKE_CASE     				=  prime_factors(snake_case__		)
						if is_square_free(snake_case__		):
												return -1 if len(snake_case__		) % 2 else 1
						return 0


if __name__ == "__main__":
		import doctest

		doctest.testmod()

