Skip to content

Commit

Permalink
fix sampling of seller price
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 696913804
Change-Id: I333b5f1300ce2ef343f71e5166d9346f5f4eeb0f
  • Loading branch information
vezhnick authored and copybara-github committed Nov 15, 2024
1 parent 9ca553f commit b758468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/modular/environment/haggling_multi_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def configure_scenes(
for item in sampled_settings.items_for_sale
}
seller_base_reward_per_item = {
item: rng.randint(sampled_settings.seller_base_reward_max, 6)
item: rng.randint(1, sampled_settings.seller_base_reward_max)
for item in sampled_settings.items_for_sale
}

Expand Down

0 comments on commit b758468

Please sign in to comment.