user
You need to complete the following task:

Identify the correct order of the following steps in debugging a Python program.

Revert to old code, run tests, check logs, investigate issue, reproduce issue.

Answer:
assistant
Revert to old code, reproduce issue, investigate issue, check logs, run tests.