





import pytest

from datasets import inspect_metric, list_metrics, load_metric

@pytest.fixture
def    __snake_case  (    _lowerCAmelCase       :       List[str]		)       ->  List[str]:
   monkeypatch.setattr("datasets.utils.deprecation_utils._emitted_deprecation_warnings" , set()		)

@pytest.fixture
def    __snake_case  (    _lowerCAmelCase       :       Optional[Any]		)       ->  Optional[Any]:


   class     __magic_name__     :





        """simple docstring"""



        def __init__(							self				:Dict	,					snake_case				:Any     ):





           '''simple docstring'''




           A_    : List[Any]								=	metric_id




   class     __magic_name__     :





        """simple docstring"""



        __UpperCamelCase    			=   [MetricMock(UpperCamelCase__							) for metric_id in ["""accuracy""", """mse""", """precision""", """codeparrot/apps_metric"""]]



        def   SCREAMING_SNAKE_CASE						(							self				:Optional[int]     ):





           '''simple docstring'''




           return self._metrics




   monkeypatch.setattr("datasets.inspect.huggingface_hub" , HfhMock()		)





@pytest.mark.parametrize(
    "func, args" , [(load_metric, ("metrics/mse",)), (list_metrics, ()), (inspect_metric, ("metrics/mse", "tmp_path"))]		)
def    __snake_case  (    _lowerCAmelCase       :       List[str] , _lowerCAmelCase       :       Any , _lowerCAmelCase       :       Any , _lowerCAmelCase       :       Dict , _lowerCAmelCase       :       Tuple		)       ->  Optional[int]:




   if "tmp_path" in args:
      A_    : int								=	tuple(arg if arg != "tmp_path" else tmp_path for arg in args		)
   with pytest.warns(snake_case_ , match="https://huggingface.co/docs/evaluate"		):
      func(*snake_case_		)

'''simple docstring'''





import os
from math import logaa





def 	lowerCAmelCase_				(					snake_case_       : str = "base_exp.txt"			)    ->      int:


     '''simple docstring'''




     UpperCAmelCase_           =   0
     UpperCAmelCase_           =   0
     for i, line in enumerate(open(os.path.join(os.path.dirname(snake_case_			)					,    snake_case_			)			)			):
          UpperCAmelCase_    , UpperCAmelCase_           =   list(map(snake_case_					,    line.split(","			)			)			)
          if x * logaa(snake_case_			) > largest:
               UpperCAmelCase_           =   x * logaa(snake_case_			)
               UpperCAmelCase_           =   i + 1
     return result


if __name__ == "__main__":
    print(solution())




