Used logictree.sample_one in the engine