Skip to content

Inconsistency with shared reward args name  #114

Closed
@KaleabTessera

Description

@KaleabTessera

In some places the shared reward param is called share_reward (e.g.

self.share_reward = kwargs.get("share_reward", False)
), while in others shared_rew (e.g.
https://github.com/proroklab/VectorizedMultiAgentSimulator/blob/f4f8a8964336a86e60bc06ae72b51a2ae0a1e4af/vmas/scenarios/multi_give_way.py#L28C39-L28C49).

Since there is no validation on the kwargs, it is easy to make a mistake with the name of this param, especially since it is not consistent. I think making all envs have the same param name would be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions