From c99ef71b69cc81f967feb89ef63e31145d52f89c Mon Sep 17 00:00:00 2001 From: fheinrich <fheinrich@techfak.uni-bielefeld.de> Date: Thu, 7 Mar 2024 13:26:57 +0100 Subject: [PATCH] Removed recording in tutorial --- .../configs/tutorial_env_config.yaml | 83 +------------------ 1 file changed, 1 insertion(+), 82 deletions(-) diff --git a/cooperative_cuisine/configs/tutorial_env_config.yaml b/cooperative_cuisine/configs/tutorial_env_config.yaml index 46d06250..86a1d034 100644 --- a/cooperative_cuisine/configs/tutorial_env_config.yaml +++ b/cooperative_cuisine/configs/tutorial_env_config.yaml @@ -94,85 +94,4 @@ effect_manager: fire_burns_ingredients_and_meals: true -extra_setup_functions: - # # --------------- Scoring --------------- - orders: - func: !!python/name:cooperative_cuisine.hooks.hooks_via_callback_class '' - kwargs: - hooks: [ completed_order ] - callback_class: !!python/name:cooperative_cuisine.scores.ScoreViaHooks '' - callback_class_kwargs: - static_score: 20 - score_on_specific_kwarg: meal_name - score_map: - Burger: 15 - OnionSoup: 10 - Salad: 5 - TomatoSoup: 10 - not_ordered_meals: - func: !!python/name:cooperative_cuisine.hooks.hooks_via_callback_class '' - kwargs: - hooks: [ serve_not_ordered_meal ] - callback_class: !!python/name:cooperative_cuisine.scores.ScoreViaHooks '' - callback_class_kwargs: - static_score: 2 - trashcan_usages: - func: !!python/name:cooperative_cuisine.hooks.hooks_via_callback_class '' - kwargs: - hooks: [ trashcan_usage ] - callback_class: !!python/name:cooperative_cuisine.scores.ScoreViaHooks '' - callback_class_kwargs: - static_score: -5 - expired_orders: - func: !!python/name:cooperative_cuisine.hooks.hooks_via_callback_class '' - kwargs: - hooks: [ order_expired ] - callback_class: !!python/name:cooperative_cuisine.scores.ScoreViaHooks '' - callback_class_kwargs: - static_score: -10 - # # --------------- Recording --------------- - # json_states: - # func: !!python/name:cooperative_cuisine.hooks.hooks_via_callback_class '' - # kwargs: - # hooks: [ json_state ] - # callback_class: !!python/name:cooperative_cuisine.recording.FileRecorder '' - # callback_class_kwargs: - # log_path: USER_LOG_DIR/ENV_NAME/json_states.jsonl - actions: - func: !!python/name:cooperative_cuisine.hooks.hooks_via_callback_class '' - kwargs: - hooks: [ pre_perform_action ] - callback_class: !!python/name:cooperative_cuisine.recording.FileRecorder '' - callback_class_kwargs: - log_path: USER_LOG_DIR/ENV_NAME/LOG_RECORD_NAME.jsonl - random_env_events: - func: !!python/name:cooperative_cuisine.hooks.hooks_via_callback_class '' - kwargs: - hooks: [ order_duration_sample, plate_out_of_kitchen_time ] - callback_class: !!python/name:cooperative_cuisine.recording.FileRecorder '' - callback_class_kwargs: - log_path: USER_LOG_DIR/ENV_NAME/LOG_RECORD_NAME.jsonl - add_hook_ref: true - env_configs: - func: !!python/name:cooperative_cuisine.hooks.hooks_via_callback_class '' - kwargs: - hooks: [ env_initialized, item_info_config ] - callback_class: !!python/name:cooperative_cuisine.recording.FileRecorder '' - callback_class_kwargs: - log_path: USER_LOG_DIR/ENV_NAME/LOG_RECORD_NAME.jsonl - add_hook_ref: true -# info_msg: -# func: !!python/name:cooperative_cuisine.hooks.hooks_via_callback_class '' -# kwargs: -# hooks: [ cutting_board_100 ] -# log_class: !!python/name:cooperative_cuisine.info_msg.InfoMsgManager '' -# log_class_kwargs: -# msg: Glückwunsch du hast was geschnitten! -# fire_msg: -# func: !!python/name:cooperative_cuisine.hooks.hooks_via_callback_class '' -# kwargs: -# hooks: [ new_fire ] -# log_class: !!python/name:cooperative_cuisine.info_msg.InfoMsgManager '' -# log_class_kwargs: -# msg: Feuer, Feuer, Feuer -# level: Warning +extra_setup_functions: \ No newline at end of file -- GitLab