






from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


lowerCamelCase__							=     datasets.utils.logging.get_logger(__name__)







class 			snake_case__   (							folder_based_builder.FolderBasedBuilderConfig):

       '''simple docstring'''
       lowerCamelCase							:				bool 				= None
       lowerCamelCase							:				bool 				= None







class 			snake_case__   (							folder_based_builder.FolderBasedBuilder):

       '''simple docstring'''
       lowerCamelCase							:				Tuple 				= datasets.Audio()
       lowerCamelCase							:				Optional[int] 				= "audio"
       lowerCamelCase							:				List[Any] 				= AudioFolderConfig
       lowerCamelCase							:				List[str]  # definition at the bottom of the script
       lowerCamelCase							:				Optional[int] 				= AudioClassification(audio_column="audio"	,    label_column="label")
lowerCamelCase__							=     [
    """.aiff""",
    """.au""",
    """.avr""",
    """.caf""",
    """.flac""",
    """.htk""",
    """.svx""",
    """.mat4""",
    """.mat5""",
    """.mpc2k""",
    """.ogg""",
    """.paf""",
    """.pvf""",
    """.raw""",
    """.rf64""",
    """.sd2""",
    """.sds""",
    """.ircam""",
    """.voc""",
    """.w64""",
    """.wav""",
    """.nist""",
    """.wavex""",
    """.wve""",
    """.xi""",
    """.mp3""",
    """.opus""",
]
lowerCamelCase__							=     AUDIO_EXTENSIONS










import math

lowerCamelCase__							=     10
lowerCamelCase__							=     7
lowerCamelCase__							=     BALLS_PER_COLOUR * NUM_COLOURS






def   UpperCamelCase  (       snake_case__     :   int = 20  ):




     '''simple docstring'''






     __snake_case			:Dict          =						math.comb(snake_case__	,snake_case__  )
     __snake_case			:int          =						math.comb(NUM_BALLS - BALLS_PER_COLOUR	,snake_case__  )

     __snake_case			:List[str]          =						NUM_COLOURS * (1 - missing_colour / total)

     return f'''{result:.9f}'''


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


