Eduardo Santos
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.

      Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Explore these features while you wait
      Complete general settings
      Bookmark and like published notes
      Write a few more notes
      Complete general settings
      Write a few more notes
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Experiment Workflow and Dataset Organization This document describes the complete workflow used to conduct the experiment and organize the resulting [dataset](https://github.com/dududsantos/L2_Reading_EyeTracking_Dataset/tree/main), developed as part of “*A Multi-Modal Eye-Tracking Dataset for L2 Idiomatic Processing.*” The goal is to provide enough detail for future researchers to understand the experimental procedure, the data collection process, and the dataset structure, enabling reproducibility and extension of the project. --- ## 1. Stimulus Preparation The experiment was built around sentences containing **Potentially Idiomatic Expressions (PIEs)**. These expressions were selected primarily from the **MAGPIE corpus**, with additional examples adapted from **SemEval datasets**. Each expression was embedded into a complete sentence designed to bias interpretation toward either a **literal** or **figurative** meaning. This resulted in a dataset of **193 contextualized sentences**, each containing one target multi-word expression. All stimulus metadata is stored in: ``` sentences/PIE_context_data.csv ``` This file serves as the central reference for the linguistic stimuli, and contains the following fields: | Column | Description | |-----------------|------------| | mwe | Target multi-word expression (idiomatic candidate) | | MWE_source | Source of the expression (e.g., corpus or invented) | | block | Experimental block (e.g., practice or main task) | | sense | Intended interpretation (literal or figurative) | | sentence | Full sentence containing the expression | | source | Origin of the sentence (e.g., Invented, corpus) | | source_detail | Additional details about the source (if available) | | start_index | Start position of the expression in the sentence (word index) | | end_index | End position of the expression in the sentence (word index) | --- ## 2. Experiment Implementation The experiment was implemented using the **PsychoPy** software, which controlled stimulus presentation and synchronized data collection with the eye-tracking hardware. Each experimental session followed a fixed structure to ensure consistency across participants. ### Experimental Flow 1. Participant registration (before the experiment meeting) 2. Calibration 3. Practice phase 4. Main reading task 5. Comprehension questions Each session lasted approximately **45–65 minutes**, excluding the calibration time. --- ### 2.1 Participant Registration Participants were asked to self-report their English proficiency level according to the CEFR scale and were then assigned an anonymized identifier known only to the researchers. This english level data is stored in: ``` experiment/proficiency_level.csv ``` | Column | Description | |-----------------|------------| | participant_id | Unique anonymized identifier assigned to each participant | | english_level | Self-reported English proficiency level following the CEFR scale, including an additional descriptive label in Portuguese | --- ### 2.2 Calibration Before the experiment began, participants completed a **9-point calibration procedure** using the [Tobii Eyetracking software](https://www.tobii.com/products/software/applications-and-developer-kits/tobii-pro-eye-tracker-manager). This step maps gaze positions to screen coordinates and is essential for accurate eye-tracking measurements. ![image](https://hackmd.io/_uploads/SyfZ_mD9Wg.png) --- ### 2.3 Launching the Application The experiment is executed locally using PsychoPy. Follow the steps below to correctly initialize the experiment. #### Step 1 — Open PsychoPy * Install and open [PsychoPy](https://www.psychopy.org/index.html) * Load the experiment *.psyexp* file ##### PsychoPy interface: ![image](https://hackmd.io/_uploads/r1pjfmv5Zl.png) #### Step 2 — Configure the EyeTracker Click on the Engine button and verify that: * The correct eye-tracking device is selected * The sampling rate is properly configured ![image](https://hackmd.io/_uploads/H1MJQXv5Wg.png) #### Step 3 — Run the Experiment Set the execution mode to "Run", then click the green play button. ![image](https://hackmd.io/_uploads/ByIsHXDc-l.png) #### Step 4 — Participant Registration A screen will appear prompting the researcher to enter the participant ID. After submitting this information, the experiment will begin automatically. --- ### 2.4 Practice Phase Participants completed a short practice session consisting of **six sentences**. This phase allowed them to become familiar with the interface and timing of the experiment. The corresponding data is stored in: ``` pre-experiment/ ``` Although not used in the main analysis, this data is preserved for completeness and potential debugging. --- ### 2.5 Main Reading Task Participants read all experimental sentences sequentially. To mitigate fatigue, a short break was introduced at the midpoint of the experiment. During this interval, participants were allowed to drink water or leave the room if necessary. After the break, particular attention was given to restoring the participant’s position to ensure consistent eye-tracking conditions before resuming the task. --- ### 2.6 Comprehension Checks To ensure engagement, participants answered a comprehension question after every **four sentences**. Responses were recorded for possible later analysis. --- ## 3. Eye-Tracking Setup Eye movements were recorded using a **Tobii Pro Spark eye tracker** with a sampling rate of **60 Hz**. | Parameter | Value | | ------------- | --------------- | | Device | Tobii Pro Spark | | Sampling Rate | 60 Hz | | Distance | ~70 cm | | Mounting | Below monitor | Participants were instructed to minimize head movement, and environmental conditions (lighting, reflections) were controlled to ensure stable tracking. --- ## 4. Dataset Structure The dataset is organized into three main directories: ``` dataset/ │ ├── sentences/ ├── pre-experiment/ └── experiment/ ``` Each directory corresponds to a different stage of the experimental workflow. --- ### 4.1 Sentences ``` sentences/ └── PIE_context_data.csv ``` Contains all stimulus definitions and associated metadata. --- ### 4.2 Pre-Experiment Data ``` pre-experiment/ ``` Stores gaze recordings from the practice phase. These files are not used in the main analysis but are useful for debugging or exploratory analysis. --- ### 4.3 Main Experiment Data ``` experiment/ │ ├── metrics/ └── participants/ ``` This directory contains participant metadata, aggregated metrics, and detailed recordings. --- ## 5. Data Processing Pipeline The dataset follows a structured transformation pipeline: ``` Raw gaze data (raw_data.csv) ↓ Cleaning & normalization ↓ processed_data.csv ↓ Feature extraction ↓ metrics.csv ↓ Aggregation ↓ group_metrics.csv ``` This pipeline ensures a clear progression from raw recordings to high-level behavioral metrics. --- ## 6. Participant-Level Data Each participant has a dedicated directory: ``` experiment/participants/ └── participant_id/ ``` This folder contains multiple files corresponding to different stages of processing. --- ### 6.1 Raw Data ``` raw_data.csv ``` This file contains the raw gaze recordings exported directly from the experiment. | Column | Description | |---------------------|------------| | Participant_ID | Anonymized identifier of the participant (e.g., P01) | | Trial_ID | Identifier of the trial within the session | | Sentence_Number | Index of the sentence in the experiment sequence | | Sentence | Full sentence presented to the participant | | Left_Eye_Position | Gaze coordinates of the left eye (x, y), normalized between 0 and 1 | | Right_Eye_Position | Gaze coordinates of the right eye (x, y), normalized between 0 and 1 | **Note:** Eye position values are provided as normalized screen coordinates, where (0, 0) represents the top-left corner and (1, 1) represents the bottom-right corner of the screen. Each row corresponds to a single recorded gaze sample. --- ### 6.2 Processed Data ``` processed_data.csv ``` A cleaned and reorganized version of the raw dataset. | Column | Description | |------------------|------------| | time | Timestamp or sample index of the gaze recording | | x | Horizontal gaze position in screen pixels | | y | Vertical gaze position in screen pixels | | Participant_ID | Anonymized identifier of the participant (e.g., P01) | | Trial_ID | Identifier of the trial within the session | | Sentence_Number | Index of the sentence in the experiment sequence | | Sentence | Full sentence presented to the participant | #### Processing Steps * Timestamp standardization * Coordinate normalization * Left/right eye merging * Column restructuring This structure enables direct compatibility with [**PyGaze**](https://www.pygaze.org/), the toolbox/library chosen to support our analysis. --- ### 6.3 Sentence-Level Metrics ``` metrics.csv ``` Contains reading behavior metrics computed for each sentence. | Metric | Description | |----------------------|------------| | n_fix | Total number of fixations in the sentence | | mean_fix_dur | Mean fixation duration (in milliseconds) | | n_regressions | Number of regressive (backward) eye movements | | regression_rate | Proportion of fixations that are regressions | | strongest_regression | Largest backward movement amplitude (in pixels) | | Sentence_Number | Index of the sentence in the experiment sequence | **Note:** The `strongest_regression` metric was included as an exploratory measure of backward movement amplitude. However, it was not used in the main analyses, as it did not yield consistent or interpretable patterns across participants and trials. --- ### 6.4 Aggregated Metrics ``` experiment/metrics/group_metrics.csv ``` Aggregates metrics across participants and sentences, providing a global view of reading behavior. --- ### 6.5 Comprehension Answers ``` compquest_answers.csv ``` Stores participant responses to comprehension questions. --- ## 7. Data Traceability The dataset structure preserves the relationship between all stages of processing: * Raw data → Processed data * Processed data → Metrics * Metrics → Participants * Participants → Stimuli This design allows researchers to: * recompute metrics * apply alternative processing pipelines * validate experimental results --- ## 8. Future Extensions Because both raw and processed data are preserved, the dataset can be extended in multiple ways: * application of alternative fixation detection algorithms * computation of additional gaze metrics * integration with multimodal data sources * use of different libraries The structure was intentionally designed to support such extensions while maintaining clarity and reproducibility. --- ## 9. Summary This dataset provides a complete pipeline from **stimulus definition → gaze recording → behavioral metrics**. Its organization ensures: * reproducibility * extensibility * transparency making it suitable for both experimental replication and methodological research.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password
    or
    Sign in via Google Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully