class_docstr: Tests for testing the correctness of the base model fall back scoring functions.
class_docstr_tok: ["Tests","for","testing","the","correctness","of","the","base","model","fall","back","scoring","functions","."]
docstr: Test if ``BaseModule.score_r`` aligns with ``BaseModule.score_hrt``.
docstr_tok: ["Test","if","``","BaseModule.score_r","``","aligns","with","``","BaseModule.score_hrt","``","."]
code: def test_alignment_of_score_r_fall_back(self) -> None:
      """Test if ``BaseModule.score_r`` aligns with ``BaseModule.score_hrt``."""
      self._test(score_func=self.model.score_r, dim=COLUMN_RELATION)
  
imports: import unittest
  from dataclasses import dataclass
  from typing import Callable
  import torch
  from pykeen.datasets import Nations
  from pykeen.models import FixedModel, Model, TransE
  from pykeen.triples import TriplesFactory
  from pykeen.typing import COLUMN_HEAD, COLUMN_RELATION, COLUMN_TAIL, Target
  from pykeen.utils import extend_batch, resolve_device
label_desc: Use image node_id 5 for calling the TestBaseModelScoringFunctions obj's underlying member method code with example usage: obj.test_alignment_of_score_r_fall_back() without return types