Skip to content

Korean language heatmap WPM calculation inaccurate #7300

@Beaux44

Description

@Beaux44

Did you clear cache before opening an issue?

  • I have cleared my cache

Is there an existing issue for this?

  • I have searched the existing open and closed issues

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

No response

Account config

No response

Current Behavior

The overall WPM graph looks correct, however when looking at the heatmap, you can see in the attached images the heatmap show WPM values several times higher than the average for every word, even showing values like 72,000 WPM or more, or just overall weird results, such as NaN, or the exact same number for a bunch of words.

It seems like the WPM gets much higher as the number of unicode characters decrease, especially when a word is just a single unicode character (made up of multiple keystrokes).
Image

Image Image

Expected Behavior

It should show a reasonable, accurate WPM in the heatmap.

Steps To Reproduce

  1. Select Korean language (any variant)
  2. Finish a test
  3. Click Toggle words history if off
  4. Click Toggle burst heatmap if off

Environment

  • OS: Windows 11

  • Browser: Librewolf

  • Browser Version: 141.0-1 (64-bit)

  • OS: Windows 11

  • Browser: Google Chrome

  • Browser Version: 143.0.7499.170 (Official Build) (64-bit)

(I tried both)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions