Skip to content

Collect bounded CAPTCHA key-hold summaries - #118

Merged
cport1 merged 2 commits into
mainfrom
fix/captcha-key-hold-summary
Nov 23, 2026
Merged

cport1 merged 2 commits into
mainfrom
fix/captcha-key-hold-summary

Conversation

@cport1

@cport1 cport1 commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Builds on #117. Follow-up diff.

Changes

  • Collect a bounded count and average for completed key holds in widget and invisible sessions. The browser uses physical key codes to pair events and sends the two summary numbers.
  • Skip textarea and password events for the new summary. The existing textarea timings feed the same server classifier.
  • Validate the summary against the recorded event count before combining it with textarea timings.

Tests

  • All 74 browser-client tests and 124 focused Node tests passed in an offline Node 22 container. TypeScript passed for both packages.

@cport1
cport1 marked this pull request as ready for review November 23, 2026 15:27
@cport1 cport1 mentioned this pull request Nov 23, 2026
@cport1
cport1 merged commit 54102ea into main Nov 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant