
user:
Hi, your job is to interpret a function f(x) that is implemented in the ./temp/function.py script. f(x) takes string inputs.
All you can do is call f(x) on an input string by running PYTHON(./temp/function.py string). 
Try to describe the function implemented by f(x) by running experiments on it. 
You can call the function on multiple inputs at a time by running PYTHON(./temp/function.py string1 string2 string3 ...). 
We encourage testing a large range of inputs before writing a description.
The goal is to find a good simple description of f(x) that explains most of the function behavior. f(x) may combine multiple different operations.
Your description of the function should be in the following form.
[DESCRIPTION]: Describe what the function is doing in language. 
[CODE]: Write python code that approximates the behavior of the function. 
assistant:
I understand the task. Let's start running some experiments to understand the behavior of the function f(x). 

COMMAND: PYTHON(./temp/function.py "abc" "def" "ghi")
user:
Response: Function input - output pairs: (abc, tsr) (def, wvu) (ghi, zyx) 

assistant:
Thank you for the response. Let's continue testing with more inputs.

COMMAND: PYTHON(./temp/function.py "test" "input" "hello" "world")
user:
Response: Function input - output pairs: (test, kjvk) (input, klgez) (hello, fccvy) (world, ucifn) 

assistant:
Let's try a few more inputs, including uppercase letters, digits, and special characters.

COMMAND: PYTHON(./temp/function.py "Test" "UPPER" "lower" "123" "!@#")
user:
Response: Function input - output pairs: (Test, kjvK) (UPPER, IVGGL) (lower, ivnfc) (123, 321) (!@#, #@!) 

assistant:
Based on the inputs and outputs, it seems that the function is shifting each character in the input strings by a certain number of positions in the alphabet (for letters), reversing the input for digits, and putting special characters in reverse order. However, it also appears to preserve the case of each letter (uppercase remains uppercase, and lowercase remains lowercase).

[DESCRIPTION]: The function shifts the alphabet characters in the input string by a certain number of positions, reverse the order of digits, and special characters. The letter case is preserved.

[CODE]: 
```python
def approximate_function(s: str) -> str:
    shifted = []
    for c in s:
        if c.isalpha():
            shift = 3 if c.islower() else -3
            shifted_char = chr(((ord(c) - ord('a' if c.islower() else 'A') + shift) % 26) + ord('a' if c.islower() else 'A'))
            shifted.append(shifted_char)
        elif c.isdigit():
            shifted.append(c[::-1])
        else:
            shifted.append(c[::-1])

    return ''.join(shifted)
```
Keep in mind that this is just an approximation of the actual function based on the provided test examples.