google-deepmind / meltingpot

A suite of test scenarios for multi-agent reinforcement learning.
Apache License 2.0
577 stars 116 forks source link

Possible Bug: Negative Probability with default config in cleanup #174

Closed AsadJeewa closed 11 months ago

AsadJeewa commented 11 months ago

In https://github.com/google-deepmind/meltingpot/blob/main/meltingpot/lua/levels/clean_up/components.lua#L64 the probability is negative due to the interpolation calculation so apples never spawn.

AsadJeewa commented 11 months ago

I guess technically apples would never grow until the level of dirt is decreased so it serves its purpose

duenez commented 11 months ago

Yes, that's the idea.