<s> """<STR_LIT>""" <EOL> import os , sys <EOL> sys . path . append ( "<STR_LIT>" ) <EOL> from launch_experiment import * <EOL> curr_dir = os . path . dirname ( os . path . abspath ( __file__ ) ) <EOL> experiment_list = [ ] <EOL> supported_alg_ids = [ '<STR_LIT>' ] <EOL> alg_list = [ ] <EOL> for alg_id in supported_alg_ids : <EOL> alg_item = { } <EOL> alg_item [ '<STR_LIT>' ] = alg_id <EOL> alg_item [ '<STR_LIT>' ] = alg_id <EOL> alg_item [ '<STR_LIT>' ] = { } <EOL> alg_list . append ( alg_item ) <EOL> algorithm_management_settings = { } <EOL> params = { } <EOL> params [ '<STR_LIT>' ] = [ ] <EOL> for algorithm in alg_list : <EOL> params [ '<STR_LIT>' ] . append ( { '<STR_LIT>' : algorithm [ '<STR_LIT>' ] , '<STR_LIT>' : <NUM_LIT:1.> / len ( alg_list ) } ) <EOL> algorithm_management_settings [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> algorithm_management_settings [ '<STR_LIT>' ] = params <EOL> cap_list = [ '<STR_LIT>' ] <EOL> for cap in cap_list : <EOL> initExp = { } <EOL> initExp [ '<STR_LIT:args>' ] = { } <EOL> initExp [ '<STR_LIT:args>' ] [ '<STR_LIT:n>' ] = <NUM_LIT> <EOL> initExp [ '<STR_LIT:args>' ] [ '<STR_LIT:k>' ] = <NUM_LIT:8> <EOL> initExp [ '<STR_LIT:args>' ] [ '<STR_LIT>' ] = <NUM_LIT> <EOL> initExp [ '<STR_LIT:args>' ] [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> initExp [ '<STR_LIT:args>' ] [ '<STR_LIT>' ] = algorithm_management_settings <EOL> initExp [ '<STR_LIT:args>' ] [ '<STR_LIT>' ] = alg_list <EOL> initExp [ '<STR_LIT:args>' ] [ '<STR_LIT>' ] = <NUM_LIT:1> <EOL> initExp [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> experiment = { } <EOL> experiment [ '<STR_LIT>' ] = initExp <EOL> experiment [ '<STR_LIT>' ] = '<STR_LIT:text>' <EOL> experiment [ '<STR_LIT>' ] = curr_dir + "<STR_LIT:/>" + cap + "<STR_LIT>" <EOL> experiment [ '<STR_LIT>' ] = curr_dir + "<STR_LIT:/>" + cap + "<STR_LIT>" <EOL> experiment [ '<STR_LIT>' ] = curr_dir + "<STR_LIT:/>" + cap + "<STR_LIT>" <EOL> experiment [ '<STR_LIT>' ] = '<STR_LIT:image>' <EOL> experiment_list . append ( experiment ) <EOL> try : <EOL> AWS_SECRET_ACCESS_KEY = os . environ [ '<STR_LIT>' ] <EOL> AWS_ACCESS_ID = os . environ [ '<STR_LIT>' ] <EOL> AWS_BUCKET_NAME = os . environ [ '<STR_LIT>' ] <EOL> host = os . environ [ '<STR_LIT>' ] + "<STR_LIT::>" + os . environ . get ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> except : <EOL> print '<STR_LIT>' <EOL> for key in [ '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' ] : <EOL> if key not in os . environ : <EOL> print '<STR_LIT:U+0020>' + key <EOL> sys . exit ( ) <EOL> exp_uid_list , exp_key_list , widget_key_list = launch_experiment ( host , experiment_list , AWS_ACCESS_ID , AWS_SECRET_ACCESS_KEY , AWS_BUCKET_NAME ) </s>
