public static void detectNoiseInTrainingExamples(List examples) {
    { Module home = ((Module)(Stella.$MODULE$.get()));
      int sigLength = 0;
      boolean same = true;

      { TrainingExample example = null;
        Cons iter000 = examples.theConsList;

        for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
          example = ((TrainingExample)(iter000.value));
          if (example.input == null) {
            if (!(example.module == null)) {
              example.module.changeModule();
            }
            example.input = Logic.createInputSignature(example.query);
            home.changeModule();
          }
        }
      }
      sigLength = ((TrainingExample)(examples.first())).input.length();
      { TrainingExample example1 = null;
        Cons iter001 = examples.theConsList;

        for (;!(iter001 == Stella.NIL); iter001 = iter001.rest) {
          example1 = ((TrainingExample)(iter001.value));
          { TrainingExample example2 = null;
            Cons iter002 = examples.theConsList;

            for (;!(iter002 == Stella.NIL); iter002 = iter002.rest) {
              example2 = ((TrainingExample)(iter002.value));
              same = true;
              { int k = Stella.NULL_INTEGER;
                int iter003 = 0;
                int upperBound000 = sigLength - 1;

                loop003 : for (;iter003 <= upperBound000; iter003 = iter003 + 1) {
                  k = iter003;
                  if (!Stella_Object.eqlP((example1.input.theArray)[k], (example2.input.theArray)[k])) {
                    same = false;
                    break loop003;
                  }
                }
              }
              if (same &&
                  (!Stella_Object.eqlP(example1.output, example2.output))) {
                System.out.println(example1.query.last() + " and " + example2.query.last() + " have the same input but different output");
              }
            }
          }
        }
      }
    }
  }