Automated Fixation Error Correction to Support Eye Tracking Studies on Source Code
Abstract
A significant challenge in eye-tracking studies is detecting and fixing errors in data collection that happen for various reasons (drift, calibration issues, etc.). Many errors cannot be fully mitigated and require manual correction (which is intensively time-consuming) or automated correction. The work presented in this paper focuses on error correction, primarily on eye-tracking data on source code written in programming languages such as C++, Java, and C#. Many automated correction solutions are general-purpose, computationally inefficient, and use little information about the stimulus. To bridge this gap, we introduce srcGaze , a heuristic algorithm explicitly developed for correcting fixation gaze events in eye-tracking data from studies using source code as a stimulus. A golden dataset is manually constructed and verified to establish the heuristics. Results show a ≈40% improvement compared to no fixation correction. The approach has a multi-linear complexity and can correct over 44K fixations in approximately 6 seconds.
- Venue
- ETRA 2025
- Volume
- Proceedings of the ACM on Human-Computer Interaction, Volume 9, Issue 3
- DOI
- 10.1145/3725829
- https://dl.acm.org/doi/pdf/10.1145/3725829
- Anthology ID
2025.pacm-etra.3
Cite
@article{guarnera-etal-2025-automated,
title = {{Automated Fixation Error Correction to Support Eye Tracking Studies on Source Code}},
author = {Drew T. Guarnera and Joshua A.C. Behler and Bonita Sharif and Jonathan I. Maletic},
journal = {Proceedings of the ACM on Human-Computer Interaction},
volume = {9},
number = {3},
issn = {2573-0142},
year = {2025},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/3725829},
url = {https://doi.org/10.1145/3725829},
abstract = {A significant challenge in eye-tracking studies is detecting and fixing errors in data collection that happen for various reasons (drift, calibration issues, etc.). Many errors cannot be fully mitigated and require manual correction (which is intensively time-consuming) or automated correction. The work presented in this paper focuses on error correction, primarily on eye-tracking data on source code written in programming languages such as C++, Java, and C\#. Many automated correction solutions are general-purpose, computationally inefficient, and use little information about the stimulus. To bridge this gap, we introduce srcGaze , a heuristic algorithm explicitly developed for correcting fixation gaze events in eye-tracking data from studies using source code as a stimulus. A golden dataset is manually constructed and verified to establish the heuristics. Results show a ≈40\% improvement compared to no fixation correction. The approach has a multi-linear complexity and can correct over 44K fixations in approximately 6 seconds.}
}