

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

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






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




	@property
	def        lowerCAmelCase_       (     self						:     Union[str, Any]							):
		return {self.question_column: "question", self.context_column: "context", self.answers_column: "answers"}








def 							__SCREAMING_SNAKE_CASE     (   a__    :   int       )					->				int:
	if not isinstance(a__			,a__       ):
		raise TypeError("""Input value must be an 'int' type"""       )

	__A :			Union[str, Any]		    =			0
	while number:
		position += 1
		number >>= 1

	return position


if __name__ == "__main__":
			import doctest

			doctest.testmod()





