Skip to content

Conversation

nikhil1205-ai
Copy link

Description:

Instead of just counting matching characters, we calculate edit distance (insertions, deletions, substitutions).
Accuracy is based on how close the user's input is to the original passage.
Instead of blindly counting words, we count correctly typed words using word-level comparison.

🔍 Improvements Explained

✅ 1. More Accurate WPM Calculation
We count correctly typed words instead of just total words typed.
It ensures that errors impact the WPM calculation.

✅ 2. Better Accuracy Using Levenshtein Distance
The edit distance accounts for extra/missing characters.
The formula:
Accuracy=(Max Length−Edit Distance/Max Length)×100

Copy link

vercel bot commented Jan 31, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
speed-typing-test ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 1, 2025 6:23pm

@Deeptig9138
Copy link
Owner

There happens to be some error in app.py. Please check it again

@nikhil1205-ai
Copy link
Author

Screenshot 2025-02-01 233645

I checked app.py and resolved issue also update requirements.txt
note :- Some problem can accurse Incorrect or Missing Firebase Authentication so please check

@Deeptig9138
Copy link
Owner

Screenshot 2025-02-03 202150
Look at this once. Make the necessary changes and ping me

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

Successfully merging this pull request may close these issues.

2 participants