code: private static boolean sample(Collection<Tuple> anchors) {
          if (Double.compare(sampleRate, 1.0d) >= 0)
              return true;
          for (Tuple t : anchors) {
              if (sample(t.getMessageId().getAnchors())) {
                  return true;
              }
          }
          return false;
      }
docs: one of the tuples has been chosen, the logs should be output