code: private static boolean sample(Set<Long> rootIds) {
          if (Double.compare(sampleRate, 1.0d) >= 0)
              return true;
          int threshold = (int) (sampleRate * PRECISION);
          for (Long id : rootIds) {
              int mod = (int) (Math.abs(id) % PRECISION);
              if (mod < threshold) {
                  return true;
              }
          }
          return false;
      }
docs: one of the rootIds has been chosen , the logs should be output