Skip to content

brains-on-code/effect-of-type-annotations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replication Package for "Effect of Type Annotations on Program Comprehension"

CC BY-SA 4.0

This repository contains the replication package for the paper "Eye-Tracking Insights into the Effects of Type Annotations and Identifier Naming" accepted at ICPC'26.

Repository Structure

1. Pilot Study

This folder contains materials related to our conducted pilot study.

2. Study

This folder contains materials related to the study design and data collection, including the post-questionnaire and rating templates used in the study. This folder also contains the final code snippets used in the study along with additional resources.

3. Data Analysis

This folder contains all necessary files and scripts for data processing and analysis. The 'data' sub-folder contains the raw data files collected during the study. The 'output' sub-folder contains the processed data files and analysis results.

Instructions for Replication

Eye Tracker Specifications

In our study, we used the Tobii EyeX eye tracker to collect gaze data at a frequency of 60 Hz. The Tobii EyeX is a portable eye tracker that utilizes near-infrared light to track the position of the eyes. It has a tracking population of 95 %, ensuring precise measurements. The Tobii EyeX is compatible with screens up to 27 inches and has an operating distance range of 50 - 90 cm. The track box dimensions, representing the area where eye movements can be accurately captured, are approximately 40 x 30 cm at a distance of 75 cm. To ensure accurate eye-tracking measurements, we instructed participants to position themselves at the right distance and position to the Tobii EyeX according to the manufacturer's instructions.

Study

  1. Run the study program by opening the Study folder in Microsoft Visual Studio and running the Study.sln solution file.

  2. Administer the post-questionnaire to participants after they complete the study tasks.

Data Analysis

  1. Install the required Python dependencies:

    pip install -r data_analysis/requirements.txt
  2. Copy the raw data files from the 'Study' folder to the 'Data Analysis' folder.

  3. Set the configuration parameters in the config.py file in the Data Analysis folder.

  4. Run the data analysis pipeline:

    python data_analysis/RunPipelineData.py

License

This repository is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Contact

For any questions or issues related to this replication package, please contact Norman Peitek at [peitek@cs.uni-saarland.de].

About

Replication package, supplementary materials, and analysis pipeline for our ICPC'26 paper.

Topics

Resources

License

Stars

Watchers

Forks

Contributors