
from dataclasses import dataclass, field
from typing import ClassVar, Dict

from ..features import Features, Sequence, Value
from .base import TaskTemplate





@dataclass(frozen=__a			)
class       _lowerCAmelCase   (      __a			):
				# `task` is not a ClassVar since we want it to be part of the `asdict` output for JSON serialization
				_lowercase     						=field(default='''question-answering-extractive'''   , metadata={'''include_in_asdict_even_if_is_default''': True}			)
				_lowercase     						=Features({'''question''': Value('''string'''			), '''context''': Value('''string'''			)}			)
				_lowercase     						=Features(
				    {
				        '''answers''': Sequence(
				            {
				                '''text''': Value('''string'''			),
				                '''answer_start''': Value('''int32'''			),
				            }			)
				    }			)
				_lowercase     						="question"
				_lowercase     						="context"
				_lowercase     						="answers"




				@property
				def 	__a		(   self	)							-> Dict[str, str]:
							return {self.question_column: "question", self.context_column: "context", self.answers_column: "answers"}





from math import loga






def   lowerCamelCase__							(							__lowerCAmelCase    :    int							):




			"""simple docstring"""


			if a < 0:
						raise ValueError("Input value must be a positive integer"							)
			elif isinstance(__lowerCAmelCase       ,				__lowerCAmelCase							):
						raise TypeError("Input value must be a 'int' type"							)
			return 0 if (a == 0) else int(loga(a & -a							)							)


if __name__ == "__main__":
			import doctest

			doctest.testmod()



