code: def insert_contract_into_code(entry_point, code, contract):
      lines = code.split("\n")
      index = lines.index(
          next(
              line
              for line in lines
              if line.startswith(f"def {entry_point}")
          )
      )
      lines.insert(index + 1, contract)
      return "\n".join(lines)
  
file_path: evalplus/evalplus/inputgen.py
imports: import argparse
  import json
  import os
  from evalplus.data.mbpp import mbpp_serialize_inputs
  from evalplus.gen.chatgpt_gen import ChatGPTGen
  from evalplus.gen.type_mut import TypedMutGen
label_desc: Use image node_id 1 for calling a global function with example usage: insert_contract_into_code(entry_point, code, contract) and returns: str