class_docstr: Contain processed input for model comparison checks.
class_docstr_tok: ["Contain","processed","input","for","model","comparison","checks","."]
docstr: Run final processing on a check result which includes validation and conditions processing.
docstr_tok: ["Run","final","processing","on","a","check","result","which","includes","validation","and","conditions","processing","."]
code: def finalize_check_result(self, check_result, check):
      """Run final processing on a check result which includes validation and conditions processing."""
      # Validate the check result type
      if isinstance(check_result, CheckFailure):
          return
      if not isinstance(check_result, CheckResult):
          raise DeepchecksValueError(
              f"Check {check.name()} expected to return CheckResult but got: "
              + type(check_result).__name__
          )
  
      # Set reference between the check result and check
      check_result.check = check
      # Calculate conditions results
      check_result.process_conditions()
  
file_path: deepchecks/deepchecks/tabular/model_base.py
imports: from typing import Any, Dict, List, Mapping, Tuple, Union
  from deepchecks.core.check_result import CheckFailure, CheckResult
  from deepchecks.core.errors import DeepchecksNotSupportedError, DeepchecksValueError
  from deepchecks.core.suite import BaseSuite, SuiteResult
  from deepchecks.tabular.context import Context
  from deepchecks.tabular.dataset import Dataset
  from deepchecks.utils.ipython import create_progress_bar
label_desc: Use image node_id 6 for calling the ModelComparisonContext obj's underlying member method code with example usage: obj.finalize_check_result(check_result, check) without return types