fixed inference data generator and got inference deducer working