Skip to content

WPM Calculation #24

@raptor7197

Description

@raptor7197

Create a function to report the Word per minute calculation at the end of the exercise

WPM in typing tests is usually calculated by dividing the total characters typed (standardized to 5 characters per “word”) by the time in minutes. Most algorithms either report gross WPM or subtract uncorrected mistakes to give a net WPM with accuracy.

Gross WPM

gross_wpm = (total_chars / 5) / (time_seconds / 60)

WPM with penalty

net_wpm = ((total_chars / 5) - uncorrected_errors) / (time_seconds / 60)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions