code: public static JobGraph createJobGraph(
  		PackagedProgram packagedProgram,
  		Configuration configuration,
  		int defaultParallelism) throws ProgramInvocationException {
  		return createJobGraph(packagedProgram, configuration, defaultParallelism, null);
  	}
docs: Creates a {@link JobGraph} with a random {@link JobID}
  from the given {@link PackagedProgram}.
  
  @param packagedProgram to extract the JobGraph from
  @param configuration to use for the optimizer and job graph generator
  @param defaultParallelism for the JobGraph
  @return JobGraph extracted from the PackagedProgram
  @throws ProgramInvocationException if the JobGraph generation failed