Incomplete inference code