double sampleRate = Double.parseDouble(args[2]); // what fraction of data to sample for testing
String goldenLogicClass = args[3]; // class that gives the "golden" (correct) output for a given input tuple
if (!parsedPigScript.aliases().contains(testAlias)) throw new IllegalArgumentException("Invalid alias.");
List<String> upstreamAliases = parsedPigScript.inEdges(testAlias);
if (upstreamAliases.size() != 1) throw new IllegalArgumentException("Unable to perform testing of given alias.");
String prevAlias = upstreamAliases.iterator().next();
Map<String, ClassWithArgs> monitorClasses = new HashMap<String, ClassWithArgs>();
monitorClasses.put(prevAlias, new ClassWithArgs(GLMonitorAgent1.class, sampleRate));