-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
refactor: test events phase 1 (@miodec) #8021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 113 commits
Commits
Show all changes
114 commits
Select commit
Hold shift + click to select a range
f12f61c
day1
Miodec c6feb6b
asdf
Miodec 7ab1967
round to 2 for comparing new vs old
Miodec e7e050d
force release fix
Miodec fa8284c
fix last word
Miodec 34dda0e
fix log
Miodec 1ac28e1
wpm history
Miodec f87bff3
test data
Miodec 77471e6
wip
Miodec f98dfb7
Merge branch master into test-events-2
Miodec 5cbedd7
fix merge
Miodec ee21f86
various fixes
Miodec bc8b128
count spaces after incorrect words
Miodec 572caf3
Merge branch 'master' into test-events-2
Miodec 9597c33
wpmcons
Miodec 81883e2
move
Miodec 68def97
remove
Miodec f14db87
round
Miodec 4011799
delete
Miodec 55419a5
tests
Miodec 2d7d794
tests
Miodec 5c4e661
for debugging
Miodec a80442f
refactor: enhance event handling and timing calculations in stats module
Miodec 2e94ec9
why was this here
Miodec 56c1543
fix wpm calc
Miodec af4bed6
unused
Miodec dea630a
reduce duplication
Miodec c7aabe3
afk duration
Miodec 0abbeee
Merge branch 'master' into test-events-2
Miodec bfd4bdf
timer events
Miodec 53b753d
cache
Miodec 9b9ed62
Merge branch 'master' into test-events-2
Miodec 90f2871
control if merging is used
Miodec 6141fc5
cleanup
Miodec 3688782
zen
Miodec 0535ac6
dont clear in zen
Miodec 6408970
move functions
Miodec 0e8152f
refactor
Miodec f1c9a2f
yeet
Miodec 0078aa3
data tests
Miodec 35bfafd
tests
Miodec c58537b
type safety
Miodec dfb9edd
yes
Miodec f888c51
enhance event logging for NoCode key events and improve keyup handling
Miodec d24f5f2
yeet
Miodec 31612c2
use keydown
Miodec 1868bd4
inline logic
Miodec 4517155
tests
Miodec 2c8f4f4
test count chars
Miodec 8a329b3
Merge branch 'master' into test-events-2
Miodec ad7571c
fix: update keydown and keyup event logging to use getTestEventCode
Miodec b28d9e6
iscompositionending
Miodec 9093df5
composition events
Miodec 9ccbc14
rename
Miodec c2bcb8a
merge composition
Miodec 5873fb7
yeet repeat
Miodec 7ba32fd
fix multiline
Miodec 9198f76
rounding
Miodec 8848fbb
fix
Miodec fe89a72
show if all matched or what didnt
Miodec 42ed4eb
ditch events before test start
Miodec 6a786fe
ignore pre-start keydowns in keypress overlap calculation
Miodec bade7d2
chore: don't add extra data point if remainder of test duration is le…
Miodec 60b4929
handle stopped inputs
Miodec f737f09
test: add unit tests for getTimerBoundaries function
Miodec 1a26679
remove log
Miodec 19caa73
remove
Miodec 7d34adc
test: add case for last incorrect partial word in countChars function
Miodec 5345fb5
round time
Miodec 95a7a17
include input events in afk calculation
Miodec 2752e47
break on last word
Miodec f7f403f
test: add event filtering for pre-start and post-end scenarios
Miodec 197cfc8
move input event up
Miodec 7918f3d
reorder
Miodec a03adab
reafactoooor
Miodec 3dd608d
yeet
Miodec 5e7e9aa
ignore keydown when result is calculating
Miodec b88fc8f
Merge branch 'master' into test-events-2
Miodec 6340405
fix
Miodec aafeaa0
fix tests
Miodec 7626cb9
fix words mode
Miodec 1e0da3b
round when comparing
Miodec d576617
compare keypresses per second instead of burst since its calculated d…
Miodec 8051a33
ignore consistency
Miodec fe4a481
Merge branch 'master' into test-events-2
Miodec 7d6c9a7
report
Miodec 530044c
yeet
Miodec dee558a
remove notifications
Miodec e22ce49
remove logs
Miodec bc77b23
remove
Miodec a45f726
dont log
Miodec 9070088
remove todo
Miodec 208b4a2
prefer spread
Miodec 39acc20
fix, tests
Miodec 3511bc2
remove
Miodec 0827e9a
typo
Miodec d06f40a
yeet logs
Miodec 463921e
stronger type
Miodec 0f96f69
unnecessary
Miodec 0e0295e
only call when authenticated
Miodec 41d1118
merge tests
Miodec 1d5a226
remove unknown
Miodec dc487e0
rebuild on cleanup
Miodec 9482148
return 0
Miodec 1a35c5c
reset
Miodec 6d7cce5
strict schema
Miodec 6b5be8f
catch
Miodec 0ffa96a
dont throw
Miodec 2182d3c
fix tests
Miodec 982c8b3
refactor test definition
Miodec 66283e9
use function
Miodec 227f21f
tests
Miodec 5a65647
tests
Miodec 6ef2b9f
Merge branch 'master' into test-events-2
Miodec File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.