Skip to content
Snippets Groups Projects
study_config.yaml 5.39 KiB
levels:

  - config_path: CONFIGS_DIR/environment_config.yaml
    layout_path: LAYOUTS_DIR/study_layouts/1-1-far-apart.layout
    item_info_path: CONFIGS_DIR/item_info.yaml
    name: "Level 1"
    seed: 12345
    config_overwrite:
      game:
        time_limit_seconds: 300
        validate_recipes: true
      plates:
        clean_plates: 0
        dirty_plates: 0
        return_dirty: true
      orders:
        serving_not_ordered_meals: false
        meals:
          all: false
          list:
            - TomatoSoup
            - OnionSoup
        order_gen_kwargs:
          order_duration_random_func:
            kwargs:
              a: 60
              b: 70
          sample_on_dur_random_func:
            func: uniform
            kwargs:
              a: 20
              b: 30

      hook_callbacks:
        orders:
          hooks: [ completed_order ]
          callback_class: !!python/name:cooperative_cuisine.scores.ScoreViaHooks ''
          callback_class_kwargs:
            time_dependence_func: !!python/name:cooperative_cuisine.scores.stepped_score ''
            time_dependence_kwargs:
              score_ratios: [ 0.5, 1, 1 ]
              steps: [ 0, 0.25, 0.66 ]
              round_decimals: 0
            static_score: 20
            score_on_specific_kwarg: meal_name
            score_map: [ ]

  - config_path: CONFIGS_DIR/environment_config.yaml
    layout_path: LAYOUTS_DIR/study_layouts/1-4-bottleneck.layout
    item_info_path: CONFIGS_DIR/item_info.yaml
    name: "Level 2"
    seed: 12345
    config_overwrite:
      game:
        time_limit_seconds: 300
      plates:
        clean_plates: 1
        dirty_plates: 0
        return_dirty: true
      orders:
        serving_not_ordered_meals: false
        meals:
          all: false
          list:
            - Burger
            - Salad
            - TomatoSoup
        order_gen_kwargs:
          order_duration_random_func:
            kwargs: