





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

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






						@property
						def UpperCAmelCase_				(      self      :      int	)							->    Dict[str, str]:







							"""simple docstring"""


							return {self.question_column: "question", self.context_column: "context", self.answers_column: "answers"}








def 							SCREAMING_SNAKE_CASE__						(    __a   ):
	if not isinstance(__a   , __a   ):
		raise ValueError('Input must be an integer'   )
	if input_num <= 0:
		raise ValueError('Input must be positive'   )
	return sum(
	    divisor for divisor in range(1   , input_num // 2 + 1   ) if input_num % divisor == 0   )


if __name__ == "__main__":
						import doctest

						doctest.testmod()

