-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
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
Labels
No labels