public static double testOverTrainingExamples() {
    { double mse = 0.0;
      double error = 0.0;
      double output = 0.0;
      Cons form = Stella.NIL;
      QueryIterator query = null;

      { TrainingExample example = null;
        Cons iter000 = Logic.$TRAINING_EXAMPLES$.theConsList;
        int i = Stella.NULL_INTEGER;
        int iter001 = 0;

        for (;!(iter000 == Stella.NIL); iter000 = iter000.rest, iter001 = iter001 + 1) {
          example = ((TrainingExample)(iter000.value));
          i = iter001;
          if (!(example.module == null)) {
            example.module.changeModule();
          }
          form = ((Cons)(Stella_Object.copyConsTree(example.query)));
          query = Logic.makeQuery(Stella.NIL, Logic.coerceToTree(form), Stella.NIL, Stella.NIL);
          output = QueryIterator.returnPartialTruth(query, true);
          System.out.println("Example " + i + ": " + example.query.rest.value + ", " + output + "  Target: " + example.score);
          error = example.score - output;
          mse = mse + (error * error);
        }
      }
      return (mse);
    }
  }