
"""simple docstring"""




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__						):


				"""simple docstring"""



				__UpperCamelCase   :		str       =     field(default='''question-answering-extractive'''				,      metadata={'''include_in_asdict_even_if_is_default''': True}						)
				__UpperCamelCase   :		ClassVar[Features]       =     Features({'''question''': Value('''string'''						), '''context''': Value('''string'''						)}						)
				__UpperCamelCase   :		ClassVar[Features]       =     Features(
				    {
				        '''answers''': Sequence(
				            {
				                '''text''': Value('''string'''						),
				                '''answer_start''': Value('''int32'''						),
				            }						)
				    }						)
				__UpperCamelCase   :		str       =     "question"
				__UpperCamelCase   :		str       =     "context"
				__UpperCamelCase   :		str       =     "answers"



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



											"""simple docstring"""




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






"""simple docstring"""




def lowercase_						(     _snake_case     ,_snake_case		):
							return int((input_a, input_a).count(1		) != 0		)

def lowercase_						(     ):
							assert or_gate(0     ,0		) == 0
							assert or_gate(0     ,1		) == 1
							assert or_gate(1     ,0		) == 1
							assert or_gate(1     ,1		) == 1


if __name__ == "__main__":
					print(or_gate(0, 1))
					print(or_gate(1, 0))
					print(or_gate(0, 0))
					print(or_gate(1, 1))




