Skip to content

Commit

Permalink
doc-range
Browse files Browse the repository at this point in the history
  • Loading branch information
TTangNingzhi committed Apr 23, 2024
1 parent d8e8f7b commit a88202c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions site/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,19 @@ only perform upward traversal of the AST of the first gaze and record the hierar
as `same`. This approach significantly reduces storage space. In a previous debugging study, we set the eye-tracking
device's sample frequency to 60Hz, and during the 20-minute experiment, the eye-tracking data amounted to only about
40MB.

#### Q7. Which eye gazes can be analyzed, and can gazes on the UI be understood?

In CodeGRITS, we only analyze gazes within the code editor. For example, in the following figure, only gazes within the
red rectangle are mapped to the source code tokens and performed the upward traversal of the AST. For gazes outside the
code editor, such as those on the file explorer, menubar, tool window, console, etc., we only record their raw
information and add a remark `Fail | Out of Text Editor`. CodeGRITS cannot understand the semantics of gazes on the UI.

<div style="text-align: center;">
<img src="../static/range.png" style="max-width: 100%; width:900px; height: auto;"><br><br>
</div>

However, if certain UI elements within the editor are triggered, such as the list for auto-completion or the inline
definition display, CodeGRITS mistakenly interprets the gaze as being directed at the code content below the UI (when it
should actually be on the UI). We have not yet found an appropriate method to resolve this issue, which may lead to
inaccuracies in some gaze analyses.
Binary file added site/static/range.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a88202c

Please sign in to comment.