



'''simple docstring'''




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

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







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


	@property
	def    _a     (self							):
				return {self.question_column: "question", self.context_column: "context", self.answers_column: "answers"}




'''simple docstring'''




def      a      (			lowerCamelCase__						,				lowerCamelCase__   ):
			'''simple docstring'''





			if density <= 0:
						raise ValueError("""Impossible fluid density"""   )
			if bulk_modulus <= 0:
						raise ValueError("""Impossible bulk modulus"""   )

			return (bulk_modulus / density) ** 0.5


if __name__ == "__main__":
						import doctest

						doctest.testmod()