✏️ Editing: rest_sample_utils.py