def complete_reply(self, msg):
        content = msg['content']
        cursor_start = content.pop('cursor_start')
        cursor_end = content.pop('cursor_end')
        match_len = cursor_start - cursor_end
        content['matched_text'] = content['matches'][0][:match_len]
        content.pop('metadata', None)
        return msg
dataset/ETHPy150Open jupyter/jupyter_client/jupyter_client/adapter.py/V5toV4.complete_reply/swapped operands of `-`