monkeytypegame / monkeytype

The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
https://monkeytype.com/
GNU General Public License v3.0
15.66k stars 2.38k forks source link

Master difficulty occasionally does not work. #5263

Open AgedSage opened 7 months ago

AgedSage commented 7 months ago

Did you clear cache before opening an issue?

Is there an existing issue for this?

Does the issue happen when logged in?

Yes

Does the issue happen when logged out?

Yes

Does the issue happen in incognito mode when logged in?

Yes

Does the issue happen in incognito mode when logged out?

Yes

Account name

AgedSage

Account config

No response

Current Behavior

Even when typing incorrect input, monkeytype will not fail me.

Expected Behavior

I should be failed if I press the wrong button.

Steps To Reproduce

I can not perfectly reproduce the behavior. But it seems to happen more often if I open the tab with my Japanese IME on. Monkeytype generally stops the behavior if I reload the page.

Environment

Anything else?

https://github.com/monkeytypegame/monkeytype/assets/44251613/8d2abe7d-71a0-4748-bf8a-6b2ea1073935

Here is a video of the behavior

Miodec commented 7 months ago

And this happens in incognito too?

AgedSage commented 4 months ago

Just tried to replicate this bug in incognito mode. It's hard to tell because it's so inconsistent, however, I can say confidently that an English test with a Japanese IME will break the difficulty.

https://github.com/monkeytypegame/monkeytype/assets/44251613/869cc834-c23a-4bc0-bcbc-3dd5d725f987

Notice that I can press space even with a mistake, meaning that it is not applying either the master or expert difficulty rules.

allergicapple commented 2 months ago

I noticed something similar:

image

However, if I now press space, the test will correctly fail, just a bit too late. This happens if I use a sticky apostrophe and then enter any character, so maybe japanese characters are also sticky in some way while entering?

If this is something else than what OP experiences then my deepest apologies for derailing.

AgedSage commented 4 days ago

Hey, I figured out how to reproduce this bug consistently. Here is a step by step:

  1. Open monkeytype in incognito
  2. set difficulty to master
  3. change IME to Japanese
  4. fail test
  5. change IME to English
  6. restart test

From then on the difficulty will act effectively as if it were expert difficulty instead of master, and even if you make a mistake and erase it, the accuracy on the end screen will always show 100%.