Did you mean `context['result_offset'] = ...`  ?
At the moment it's not used.