Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

streak issue #51

Open
gene4587 opened this issue Mar 17, 2021 · 7 comments
Open

streak issue #51

gene4587 opened this issue Mar 17, 2021 · 7 comments
Labels
bug Something isn't working unexplained

Comments

@gene4587
Copy link

image

Didn't study at all even for 1 minute and it still added a day to my streak.

@gene4587
Copy link
Author

Did an hour today but it didn't count towards my streak.
image
image

@gene4587 gene4587 changed the title Did not study - streaks still counting streak issue Mar 18, 2021
@Zackhardtoname
Copy link
Member

Please feel free to reopen if it happens again. Thanks!

@Arianthell
Copy link

It is ongoing. I havent lost my streaks on the day I pinged you in the server and we just received a thread.

ID: 163721302136455168
image

@Zackhardtoname Zackhardtoname reopened this May 3, 2021
@Arianthell
Copy link

And two other issues.

634336105432350741
3163C8FA-EB5D-498B-B1C0-2D74D47CE4F3

493091239881605121
8B0B5272-32EB-4E47-9E38-944BD0AC1ADD

@Zackhardtoname
Copy link
Member

Zackhardtoname commented May 3, 2021

015d823 should make the bot reset the study streak more often.
As for the other two who lost their streaks, I honestly can't figure out the problem
If you go to https://app.studytogether.com/users/634336105432350741, you will see the daily time for 5/2 is 0, which is indeed the case in our redis database. Yet the SQL database seems to have captured ample study time. The channels are regular channels as well.
image

Who knows, maybe I restarted the bot when Redis is about to save their stats.
@Ruborcalor any ideas or suggestions for debugging this issue?

@Zackhardtoname Zackhardtoname added bug Something isn't working unexplained labels May 3, 2021
@nadir7379
Copy link
Collaborator

image

Is it not this line in time_counter.py @Zackhardtoname ? I'm not sure if this should be reset=false ? Should it?

@Zackhardtoname
Copy link
Member

image

Is it not this line in time_counter.py @Zackhardtoname ? I'm not sure if this should be reset=false ? Should it?

That is a way to specify the default value for arguments in Python. It's correct...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unexplained
Projects
None yet
Development

No branches or pull requests

4 participants