def get_tlp(results):
    """Fetches a target log prob from a results structure"""
    if isinstance(results, list):
        return get_tlp(results[-1])
    else:
        return results.accepted_results.target_log_prob