Skip to content

Commit

Permalink
Small sharpening changes to environments
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 699917784
Change-Id: I885a9e5f2ab3520b60c35c19ad15b2514bfcb150
  • Loading branch information
jzleibo authored and copybara-github committed Nov 25, 2024
1 parent ca43f54 commit 23a6e6b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ class WorldConfig:
organizer: str | None = None
supporting_player_locations: Sequence[str] = ()
overheard_strike_talk: Sequence[str] = ()
num_additional_days: int = 3
num_additional_days: int = 4
num_additional_dinners: int = 1

def append_person(
Expand Down
2 changes: 1 addition & 1 deletion examples/modular/environment/modules/pre_state_villages.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'{village_a_name} and {village_b_name} are '
'pre-state societies. They are small villages with a few hundred '
'people each. They are located on the coast and supported by '
'both fishing and agriculture. The local farmers living outside '
'nearby farms. The local farmers living outside '
'the villages share cultural and economic ties with the villagers.'
)

Expand Down
6 changes: 4 additions & 2 deletions examples/modular/environment/state_formation.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,9 @@ def configure_scenes(
'intend to spend on each of the '
f'following activities: {activities_str}. Note that '
'proportions of time should sum to 1. Sleep counts '
f'as {config.free_time_activity}.'),
f'as {config.free_time_activity} and, '
'all else equal, '
'more leisure time is better.'),
tag='announcement',
),
override_game_master=no_conversation_game_master,
Expand Down Expand Up @@ -1072,7 +1074,7 @@ def __init__(
randomise_initiative=True,
name='Negotiation scene',
review_participants=False,
max_steps=1,
max_steps=4,
memory=self._game_master_memory,
additional_components=[agreement_component],
verbose=True,
Expand Down

0 comments on commit 23a6e6b

Please sign in to comment.