Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Cooperative Cuisine Environment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Social Cognitive Systems
CoCoSy
Cooperative Cuisine Environment
Commits
c99ef71b
Commit
c99ef71b
authored
1 year ago
by
Fabian Heinrich
Browse files
Options
Downloads
Patches
Plain Diff
Removed recording in tutorial
parent
4fa7a11e
No related branches found
No related tags found
1 merge request
!74
Resolve "Study instructions"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cooperative_cuisine/configs/tutorial_env_config.yaml
+1
-82
1 addition, 82 deletions
cooperative_cuisine/configs/tutorial_env_config.yaml
with
1 addition
and
82 deletions
cooperative_cuisine/configs/tutorial_env_config.yaml
+
1
−
82
View file @
c99ef71b
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment