class_docstr: This set of tests verify the computation logic of Recall in several
  corner cases that we know the computation results. The goal is to
  provide some confidence of the correctness of the math formula.
class_docstr_tok: ["This","set","of","tests","verify","the","computation","logic","of","Recall","in","several","corner","cases","that","we","know","the","computation","results",".","The","goal","is","to","provide","some","confidence","of","the","correctness","of","the","math","formula","."]
code: def test_recall_session_with_bool_labels(self) -> None:
      test_data = generate_model_output_test2()
      try:
          self._test_recall_session_helper(
              run_ranking_of_labels=False,
              recall_metric=None,
              **test_data,
          )
      except AssertionError:
          print("Assertion error caught with data set ", test_data)
          raise
  
file_path: torchrec/torchrec/metrics/tests/test_recall_session.py
imports: import unittest
  from typing import Dict, Optional, Union
  import torch
  from torch import no_grad
  from torchrec.metrics.metrics_config import RecTaskInfo, SessionMetricDef
  from torchrec.metrics.rec_metric import RecMetricException
  from torchrec.metrics.recall_session import RecallSessionMetric
label_desc: Use image node_id 3 for calling the RecallSessionValueTest obj's underlying member method code with example usage: obj.test_recall_session_with_bool_labels() without return types