Hello, I am currently doing the team software engineering with ai course module 3 and stuck on the programming part 1. It’s been 11+ hours of chatting with 3 different chatbots about converting code from Python 2.7 to Python 3. I need help. Below is the code that I am stuck on:
Same here, but fixed the code. Issue here is compatibility between Python 2 and Python 3 related to division operator, which the LLM is not fully addressing yet by default unless you ask for it.
I’ll tell you what. That was a pain. No LLM was able to solve the code adaptation. As I work with Python, I had to MANUALLY fix the code in order to pass the tests. With no Python knowledge it cannot be done. Also done the second exercise without LLM. I’m reflecting now that LLMs still have strong limitations and weaknesses when it comes to providing code assistance.
This assignment was totally annoying. I used chatgpt 4o for 1hr and assessed both the division handling difference and numpy versioning behaviour. Then i swhitched to chatgpt o1 preview and got it in 20 minutes or so feeding him with the example analyzed by the unittests function. Eventually produced a working version.
Definetly the most annoying test of the unit.
They do have limitations, try to think about natural vs. artificial intelligence! But the point here is that they can use to help and assist you with efficiency, any technology is meant for that not to do the intelligence part!