Prompt:
[INST] Your task is to write a Python function to solve a programming problem.
The Python code must be between [PYTHON] and [/PYTHON] tags.
You are given one example test from which you can infere the function signature.

Problem: Write a Python function to get the unique elements of a list.
Test: assert get_unique_elements([1, 2, 3, 2, 1]) == [1, 2, 3]
[/INST]
[PYTHON]
def get_unique_elements(my_list):

return list(set(my_list))

[/PYTHON]

[INST] Problem: %%%question%%%
Test: %%%test%%%
[/INST]

Figure 11: Prompt template used for generating a solution. The substrings %%%question%%% and
%%%test%%% are placeholders for an interview-style programming question and one example test, respectively.
The example test is randomly sampled from the list of tests we generated previously for the same question.
We keep the remainder of the generated tests "hidden" from the model so as to be able to filter out solutions
which overfit on the tests given in the prompt.
CodeLlama2