code: def is_equiv_chain_of_thought(str1: str, str2: str) -> float:
      """Strips the solution first before calling `is_equiv`."""
      ans1 = get_answer(str1)
      ans2 = get_answer(str2)
  
      return is_equiv(ans1, ans2)
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/scenarios/math_scenario.py
imports: import collections
  import typing
  from typing import Dict, List, Optional
  from datasets import load_dataset, DatasetDict
  from .scenario import Scenario, Instance, Reference, TRAIN_SPLIT, TEST_SPLIT, CORRECT_TAG, Input, Output
label_desc: Use image node_id 10 for calling a global function with example usage: is_equiv_chain_of_thought(str1, str2) and returns: is_equiv