simple programs: generate, rate inference, convert to graph