code: def check_results(tmp_):
          
          # TODO: Fix this to work with more meaningful names
          if tmp_['t'] > 0:
              if tmp_['l'] > 0:
                  if tmp_['rr'] > 0 or tmp_['ra'] > 1:
                      print 1, 3, tmp_
                      return 3
                  elif tmp_['cr'] > 0 or tmp_['ca'] > 1:
                      print 2, 3, tmp_
                      return 3
                  elif tmp_['mr'] > 0 or tmp_['ma'] > 1:
                      print 3, 2, tmp_
                      return 2
              if tmp_['cr'] > 1 or tmp_['ca'] > 2:
                  print 4, 2, tmp_
                  return 2
              if tmp_['mr'] > 0 or tmp_['ma'] > 1:
                  if tmp_['cr'] > 0 or tmp_['ca'] > 1:
                      print 6, 0, tmp_
                      return 0
              if tmp_['rr'] > 1 or tmp_['ra'] > 2:
                  print 7, 0, tmp_
                  return 0
              if tmp_['sr'] > 1 or tmp_['sa'] > 2:
                  print 8, 0, tmp_
                  return 0
          if tmp_['l'] > 0:
              if tmp_['rr'] > 0 or tmp_['ra'] > 1:
                  print 9, 2, tmp_
                  return 2
              if tmp_['cr'] > 0 or tmp_['ca'] > 1:
                  print 10, 0, tmp_
                  return 0
          return -1
docs: Return a 3 tuple for something.