Skip to content

test: add first word-level reading measures tests #40

Open
shaitarAn wants to merge 6 commits intomainfrom
test/add-reading-measures-tests
Open

test: add first word-level reading measures tests #40
shaitarAn wants to merge 6 commits intomainfrom
test/add-reading-measures-tests

Conversation

@shaitarAn
Copy link
Collaborator

This PR adds the first unit tests for word-level reading measures.

Measures covered:

  • TFC – Total Fixation Count
  • TFT – Total Fixation Time
  • FFD – First Fixation Duration
  • FD – Fixation Duration (per-word aggregate)
  • FPRT – First-Pass Reading Time
  • FRT – First Reading Time
  • FPFC – First-Pass Fixation Count
  • FPF – First-Pass Fixation (flag)
  • SFD – Single Fixation Duration
  • RRT – Regression Reading Time
  • RR – Regression indicator

Scenarios tested:

  • Single fixation on a word
  • Multiple fixations within first pass
  • Skipped word (no fixations)
  • Late regression (return to a previously read word)
  • Early regression with multiple rereading fixations
  • Fixation on space character mapped to word AOI

@cbueth cbueth assigned cbueth and unassigned cbueth Feb 17, 2026
@cbueth cbueth requested a review from theDebbister February 17, 2026 00:05
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.

2 participants