I have encountered a bug related to the daily streak counter on CodeChef. According to the current streak system, a user should get one streak increment for solving a new problem each day. However, I noticed that the streak counter also increments when I click the ‘run’ button on a program that I submitted on a previous day. This should not happen, as the streak should only increment when a new problem is solved.
Steps to Reproduce:
- Solve and submit a problem on CodeChef.
- Wait until the next day.
- Open the same problem from the previous day.
- Click the ‘run’ button without making any changes to the code.
- Observe that the daily streak counter increments incorrectly.
Expected Behavior: The daily streak should only increment when a new problem is solved, not when the ‘run’ button is clicked on a previously solved problem.