original_docstring: Returns s with a random character inserted
docstring: Returns s with a random character inserted
docstring_tokens: Returns s with a random character inserted
code: def insert_random_character(s):
      """Returns s with a random character inserted"""
      pos = random.randint(0, len(s))
      random_character = chr(random.randrange(32, 127))
      # print("Inserting", repr(random_character), "at", pos)
      return s[:pos] + random_character + s[pos:]
code_tokens: def insert_random_character ( s ) : pos = random . randint ( 0 , len ( s ) ) random_character = chr ( random . randrange ( 32 , 127 ) ) return s [ : pos ] + random_character + s [ pos : ]
short_docstring: Returns s with a random character inserted
short_docstring_tokens: Returns s with a random character inserted
comment: """Returns s with a random character inserted"""$SEP$# print("Inserting", repr(random_character), "at", pos)