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

Typing BUG (not for bug label) #400

Closed
devmdeniz opened this issue Sep 2, 2024 · 9 comments
Closed

Typing BUG (not for bug label) #400

devmdeniz opened this issue Sep 2, 2024 · 9 comments

Comments

@devmdeniz
Copy link

When plugins like Typewriter Effect are used, wakatime continues to count the time as if I were typing. This can reduce the reliability of Wakatime. That is why I felt the need to open this issue.

Here's an example

Screen.Recording.2024-09-02.101944.mp4
@alanhamlett
Copy link
Member

Yes, that vscode extension is simulating typing so WakaTime can't tell the difference. It's not compatible.

@devmdeniz
Copy link
Author

devmdeniz commented Sep 3, 2024

Yes, that vscode extension is simulating typing so WakaTime can't tell the difference. It's not compatible.

Can we find a difference between what the user writes and what the plugin writes? Is there any way?

@alanhamlett
Copy link
Member

Where's a link to the plugin you're using on the marketplace, so I can see it's code?

@devmdeniz
Copy link
Author

Where's a link to the plugin you're using on the marketplace, so I can see it's code?

Here is the link you asked me for

Also github link is here

@alanhamlett
Copy link
Member

Let's see if it's fixed with b70816c, released in v24.6.2 just now.

@devmdeniz
Copy link
Author

Let's see if it's fixed with b70816c, released in v24.6.2 just now.

I'm testing rn.
I'll let you know if the problem persists, Alan. Thank you for your help.

@devmdeniz
Copy link
Author

Let's see if it's fixed with b70816c, released in v24.6.2 just now.

I guess it didn't work. It still perceives me as if I'm writing code, but when I woke up today I noticed that the public leaderboard was closed but there was no warning in the Security events section. Maybe this detail can help you more.

Other than that, it seems like we can identify the user by logic errors. Is it logically possible for someone to write code for 9 hours without stopping according to wakatime's statistics? It is not possible to write code for 2 hours, let alone 9 hours (if wakatime only counts the time I write, not the time I stop, wait, think).
image

It would not be an effective solution, but it seems to be a candidate for a temporary solution until there is a solution.

@alanhamlett
Copy link
Member

I noticed that the public leaderboard was closed

Yes, that's our system detecting fake code stats so it removed you from the public leaderboard.

I have to ask, what's the point of this typewriter plugin? It seems like it has no usefulness, and since there's no way to detect automated typing vs real typing we shouldn't try to fix this further and just have a policy not to use typewriter plugins with WakaTime.

@devmdeniz
Copy link
Author

I noticed that the public leaderboard was closed

Yes, that's our system detecting fake code stats so it removed you from the public leaderboard.

I have to ask, what's the point of this typewriter plugin? It seems like it has no usefulness, and since there's no way to detect automated typing vs real typing we shouldn't try to fix this further and just have a policy not to use typewriter plugins with WakaTime.

I think the purpose of Typewriter Effect is usually for people who make Tutorial videos to write their code in advance to make their videos more comfortable and then write more fluently using this plugin. It was an extension that I noticed by chance while looking for the Smooth Typing Effect setting in Visual Studio Code.
When I used it later, I realized that Wakatime was counting it as if I was writing code and I wanted to report it.

The solution you came up with seems to make a lot of sense. If I find a possible solution I will write to you again on this issue.
Thank you for your concern, Alan. Have a good day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants