original_docstring: 
      Performs a reverse mutation on a permutation
      
docstring: Performs a reverse mutation on a permutation
docstring_tokens: Performs a reverse mutation on a permutation
code: def reverse_mutation(perm, *args):
      """
      Performs a reverse mutation on a permutation
      """
      n = len(perm) - 1
      i = np.random.choice(n, 1)[0]
      perm[i:i+2] = perm[i:i+2][::-1]
      return perm
code_tokens: def reverse_mutation ( perm , * args ) : n = len ( perm ) - 1 i = np . random . choice ( n , 1 ) [ 0 ] perm [ i : i + 2 ] = perm [ i : i + 2 ] [ : : - 1 ] return perm
short_docstring: Performs a reverse mutation on a permutation
short_docstring_tokens: Performs a reverse mutation on a permutation
comment: """
      Performs a reverse mutation on a permutation
      """