Skip to content

Commit

Permalink
Updated default.config
Browse files Browse the repository at this point in the history
  • Loading branch information
bazilinskyy committed Oct 19, 2023
1 parent 4e0c34f commit 40abc33
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
32 changes: 16 additions & 16 deletions crossing/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,25 @@
logger = cs.CustomLogger(__name__) # use custom logger

# Const
# SAVE_P = True # save pickle files with data
# LOAD_P = False # load pickle files with data
# SAVE_CSV = True # load csv files with data
# FILTER_DATA = True # filter Appen and heroku data
# CLEAN_DATA = True # clean Appen data
# REJECT_CHEATERS = True # reject cheaters on Appen
# UPDATE_MAPPING = True # update mapping with keypress data
# SHOW_OUTPUT = True # should figures be plotted

# for debugging, skip processing
SAVE_P = False # save pickle files with data
LOAD_P = True # load pickle files with data
SAVE_P = True # save pickle files with data
LOAD_P = False # load pickle files with data
SAVE_CSV = True # load csv files with data
FILTER_DATA = False # filter Appen and heroku data
CLEAN_DATA = False # clean Appen data
REJECT_CHEATERS = False # reject cheaters on Appen
UPDATE_MAPPING = False # update mapping with keypress data
FILTER_DATA = True # filter Appen and heroku data
CLEAN_DATA = True # clean Appen data
REJECT_CHEATERS = True # reject cheaters on Appen
UPDATE_MAPPING = True # update mapping with keypress data
SHOW_OUTPUT = True # should figures be plotted

# for debugging, skip processing
# SAVE_P = False # save pickle files with data
# LOAD_P = True # load pickle files with data
# SAVE_CSV = True # load csv files with data
# FILTER_DATA = False # filter Appen and heroku data
# CLEAN_DATA = False # clean Appen data
# REJECT_CHEATERS = False # reject cheaters on Appen
# UPDATE_MAPPING = False # update mapping with keypress data
# SHOW_OUTPUT = True # should figures be plotted

file_mapping = 'mapping.p' # file to save updated mapping

if __name__ == '__main__':
Expand Down
6 changes: 3 additions & 3 deletions default.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"allowed_mistakes_signs": 2,
"signs_answers": ["The maximum allowed speed is 100 miles/hour", "Traffic only goes in one direction", "Pedestrian crossing area", "You have to stop and give way to all traffic"],
"mask_id": 10000000,
"files_heroku": ["heroku_1.json"],
"files_heroku": ["heroku_0.json", "heroku_1.json"],
"file_appen": "appen.csv",
"file_cheaters": "/_output/cheaters.csv",
"path_stimuli": "/public/video/stimuli",
"mapping_stimuli": "/public/video/stimuli/mapping.csv",
"path_stimuli": "/public/videos/",
"mapping_stimuli": "/public/videos/mapping.csv",
"plotly_template": "plotly_dark"
}

0 comments on commit 40abc33

Please sign in to comment.