Code completion

  1. Complete the following function [function_name], which takes in [input_variable] and returns [output_variable].
  2. Suggest alternative implementation(s) for the following function [function_name].
  3. Provide code completion for the following line of code [code_snippet].
  4. Suggest code snippets to replace the following block of code [code_block].
  5. Given the following input data [input_data], generate code to preprocess the data.
  6. Generate code to implement the following algorithm [algorithm_name].
  7. Generate code to scrape the following website [website_url].
  8. Suggest code snippets to optimize the following code for performance.
  9. Suggest code snippets to improve the readability of the following code.

Code summarization

  1. Summarize the functionality of the following codebase [codebase_url].
  2. Summarize the differences between the following two versions of the code [code_version_1] and [code_version_2].
  3. Summarize the purpose of the following function [function_name].
  4. Summarize the structure of the following dataset [dataset_name].
  5. Summarize the output of the following machine learning model [model_name].
  6. Summarize the results of the following A/B test [test_name].
  7. Summarize the key features of the following API [api_name].
  8. Summarize the main components of the following system architecture [architecture_name].