code: def sequence_matcher_similarity(state_a, state_b):
          
          addrs_a = tuple(state_a.history.bbl_addrs)
          addrs_b = tuple(state_b.history.bbl_addrs)
          return SequenceMatcher(a=addrs_a, b=addrs_b).ratio()
docs: The `difflib.SequenceMatcher` ratio between the state addresses in the history of the path.
          :param state_a: The first state to compare
          :param state_b: The second state to compare