Text this: HPRS: hierarchical potential-based reward shaping from task specifications