Program: 92579
Project: 92579
Buggy source:
/** 
 * Test of parse method, of class ArffParser.
 */
@Test public void testParseWeather() throws Exception {
  System.out.println("String_Node_Str");
  try {
    ArffParser arffParser=new ArffParser();
    arffParser.setResponseIndex(4);
    AttributeDataset weather=arffParser.parse(smile.data.parser.IOUtils.getDataFile("String_Node_Str"));
    double[][] x=weather.toArray(new double[weather.size()][]);
    int[] y=weather.toArray(new int[weather.size()]);
    assertEquals(Attribute.Type.NOMINAL,weather.response().type);
    for (    Attribute attribute : weather.attributes()) {
      assertEquals(Attribute.Type.NOMINAL,attribute.type);
    }
    assertEquals(14,weather.size());
    assertEquals(4,weather.attributes().length);
    assertEquals("String_Node_Str",weather.response().toString(y[0]));
    assertEquals("String_Node_Str",weather.response().toString(y[1]));
    assertEquals("String_Node_Str",weather.response().toString(y[2]));
    assertEquals("String_Node_Str",weather.attributes()[0].toString(x[0][0]));
    assertEquals("String_Node_Str",weather.attributes()[1].toString(x[0][1]));
    assertEquals("String_Node_Str",weather.attributes()[2].toString(x[0][2]));
    assertEquals("String_Node_Str",weather.attributes()[3].toString(x[0][3]));
    assertEquals("String_Node_Str",weather.response().toString(y[13]));
    assertEquals("String_Node_Str",weather.attributes()[0].toString(x[13][0]));
    assertEquals("String_Node_Str",weather.attributes()[1].toString(x[13][1]));
    assertEquals("String_Node_Str",weather.attributes()[2].toString(x[13][2]));
    assertEquals("String_Node_Str",weather.attributes()[3].toString(x[13][3]));
  }
 catch (  Exception ex) {
    System.err.println(ex);
  }
}

Fixed version (ground truth):
/** 
 * Test of parse method, of class ArffParser.
 */
@Test public void testParseWeather() throws Exception {
  System.out.println("String_Node_Str");
  try {
    ArffParser arffParser=new ArffParser();
    arffParser.setResponseIndex(4);
    AttributeDataset weather=arffParser.parse(smile.data.parser.IOUtils.getDataFile("String_Node_Str"));
    double[][] x=weather.toArray(new double[weather.size()][]);
    int[] y=weather.toArray(new int[weather.size()]);
    assertEquals(Attribute.Type.NOMINAL,weather.response().getType());
    for (    Attribute attribute : weather.attributes()) {
      assertEquals(Attribute.Type.NOMINAL,attribute.getType());
    }
    assertEquals(14,weather.size());
    assertEquals(4,weather.attributes().length);
    assertEquals("String_Node_Str",weather.response().toString(y[0]));
    assertEquals("String_Node_Str",weather.response().toString(y[1]));
    assertEquals("String_Node_Str",weather.response().toString(y[2]));
    assertEquals("String_Node_Str",weather.attributes()[0].toString(x[0][0]));
    assertEquals("String_Node_Str",weather.attributes()[1].toString(x[0][1]));
    assertEquals("String_Node_Str",weather.attributes()[2].toString(x[0][2]));
    assertEquals("String_Node_Str",weather.attributes()[3].toString(x[0][3]));
    assertEquals("String_Node_Str",weather.response().toString(y[13]));
    assertEquals("String_Node_Str",weather.attributes()[0].toString(x[13][0]));
    assertEquals("String_Node_Str",weather.attributes()[1].toString(x[13][1]));
    assertEquals("String_Node_Str",weather.attributes()[2].toString(x[13][2]));
    assertEquals("String_Node_Str",weather.attributes()[3].toString(x[13][3]));
  }
 catch (  Exception ex) {
    System.err.println(ex);
  }
}