code: def test_python_logloss(rating_true_binary, rating_pred_binary):
      with Timer() as t:
          logloss(
              rating_true=rating_true_binary,
              rating_pred=rating_pred_binary,
              col_rating=DEFAULT_RATING_COL,
              col_prediction=DEFAULT_PREDICTION_COL,
          )
      assert t.interval < 45 * (1 + TOL)
  
imports: import numpy
  import pandas
  import pytest
  import random
  from sklearn.preprocessing import minmax_scale
  from recommenders.utils.timer import Timer
  from recommenders.utils.constants import DEFAULT_USER_COL, DEFAULT_ITEM_COL, DEFAULT_RATING_COL, DEFAULT_PREDICTION_COL, SEED
  from recommenders.evaluation.python_evaluation import merge_rating_true_pred, merge_ranking_true_pred, rmse, mae, rsquared, exp_var, get_top_k_items, precision_at_k, recall_at_k, ndcg_at_k, map_at_k, auc, logloss
label_desc: Use image node_id 18 for calling a global function with example usage: test_python_logloss(rating_true_binary, rating_pred_binary) without return types