class_docstr: Test the link prediction evaluation loop.
code: def _pre_instantiation_hook(
      self, kwargs: MutableMapping[str, Any]
  ) -> MutableMapping[str, Any]:
      kwargs = super()._pre_instantiation_hook(kwargs)
      kwargs["triples_factory"] = self.factory
      return kwargs
  
file_path: pykeen/tests/test_evaluation/test_evaluation_loop.py
imports: from typing import Any, MutableMapping
  import pykeen.evaluation.evaluation_loop
  import pykeen.evaluation.rank_based_evaluator
  from pykeen.typing import LABEL_RELATION
  from tests import cases
label_desc: Use image node_id 1 for calling the LinkPredictionEvaluationLoopTestCase obj's underlying member method code with example usage: obj._pre_instantiation_hook(kwargs) and returns: kwargs