


"""simple docstring"""






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

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






@dataclass(frozen=lowerCamelCase__		)
class      A(  lowerCamelCase__		):

		"""simple docstring"""





		A    =							field(default="question-answering-extractive"				,							metadata={"include_in_asdict_even_if_is_default": True}		)
		A    =							Features({"question": Value("string"		), "context": Value("string"		)}		)
		A    =							Features(
		    {
		        "answers": Sequence(
		            {
		                "text": Value("string"		),
		                "answer_start": Value("int32"		),
		            }		)
		    }		)
		A    =							"question"
		A    =							"context"
		A    =							"answers"
		@property
		def   _UpperCamelCase( self   )      ->	Dict[str, str]:

					"""simple docstring"""



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





"""simple docstring"""






from collections.abc import Callable

import numpy as np





def 				A_       ( snake_case__       ,					snake_case__       ,					snake_case__       ,					snake_case__       ,					snake_case__		)					->  np.ndarray:
			_UpperCamelCase					:str					     =	int(np.ceil((x_end - xa) / step_size		)		)
			_UpperCamelCase					:Union[str, Any]					     =	np.zeros((n + 1,)		)
			_UpperCamelCase					:List[str]					     =	ya
			_UpperCamelCase					:Any					     =	xa

			for k in range(snake_case__		):
						_UpperCamelCase					:Union[str, Any]					     =	y[k] + step_size * ode_func(snake_case__       ,					y[k]		)
						x += step_size

			return y


if __name__ == "__main__":
					import doctest

					doctest.testmod()

