@staticmethod
    def contains_file(directory, file_path):
        return os.path.normcase(os.path.normpath(file_path)).startswith(
            os.path.normcase(os.path.normpath(directory))
        )
Compute the score per observation, evaluated at params
dataset/ETHPy150Open spywhere/Javatar/utils/utils.py/Utils.contains_file--crossover with--dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tsa/statespace/mlemodel.py/MLEModel.score_obs