




'''simple docstring'''







from unittest import TestCase

from datasets import Dataset
from minhash_deduplication import deduplicate_dataset, make_duplicate_clusters





def 						snake_case_							():
    UpperCAmelCase			       =		{
        '''repo_name''': ['''test_repo1''', '''test_repo2''', '''test_repo3'''],
        '''path''': ['''test_1.py''', '''test_2.py''', '''unit_test.py'''],
        '''content''': ['''a ''' * 2_0, '''a ''' * 3_0, '''b ''' * 7],
    }
    UpperCAmelCase			       =		Dataset.from_dict(_a     )
    return dataset







class 			_a  (	__a ):
       def     A      (	self						:	List[str]				):



           '''simple docstring'''

           UpperCAmelCase			       =		get_dataset()
           UpperCAmelCase			       =		make_duplicate_clusters(lowercase   ,				0.85				)
           self.assertEqual(len(duplicate_clusters[0]				)   ,				2				)







       def     A      (	self						:	Dict				):



           '''simple docstring'''

           UpperCAmelCase			       =		get_dataset()
           UpperCAmelCase       ,     UpperCAmelCase			       =		deduplicate_dataset(lowercase				)
           self.assertEqual(len(lowercase				)   ,				2				)
           print(lowercase				)
           self.assertEqual(duplicate_clusters[0][0]['''copies''']   ,				2				)
           self.assertEqual(duplicate_clusters[0][0]['''is_extreme''']   ,				lowercase				)






def 							_lowercase							(     )		->		Optional[int]:
					'''simple docstring'''


					SCREAMING_SNAKE_CASE__													= []
					SCREAMING_SNAKE_CASE__													= 1

					while len(UpperCamelCase_		) < 1e6:
										constant.append(str(UpperCamelCase_		)		)
										i += 1

					SCREAMING_SNAKE_CASE__													= ''.join(UpperCamelCase_		)

					return (
					    int(constant[0]		)
					    * int(constant[9]		)
					    * int(constant[99]		)
					    * int(constant[999]		)
					    * int(constant[9999]		)
					    * int(constant[99999]		)
					    * int(constant[999999]		)
					)


if __name__ == "__main__":
				print(solution())





