Data processing: reorganize files structure - JetBrains-Research/task-tracker-post-processing GitHub Wiki

Description

This module allows to reorganize the structure of TaskTracker files according to the tasks. You can find the available tasks in the const file (the TASK Enum class). You can visualize the participant's distribution before this step and to visualize the tasks' distribution after this step.

Note: You can read the instruction on how you can add a new task on the find tests results for the tasks page.

Usage

Use reorganize_files_structure method from splitting.py.

Argument Description
path path to the directory with files
output_directory_suffix the output directory name suffix. The default value is separated_tasks

An example of the root input directory structure before usage:

-root
 --user_N1
  ---python
   ----task1
    -----user_N1_files
 --user_N2
  ---cpp
   ----task1
    -----user_N2_files

An example of the main folder structure after usage:

-root
  --python
   ---task1
    ----user_N1_files
  --cpp
   ---task1
    ----user_N2_files