Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: address pr comments #271

Closed
wants to merge 34 commits into from

Conversation

zombie-einstein
Copy link
Contributor

No description provided.

zombie-einstein and others added 30 commits November 4, 2024 10:16
* Initial prototype

* feat: Add environment tests

* fix: Update esquilax version to fix type issues

* docs: Add docstrings

* docs: Add docstrings

* test: Test multiple reward types

* test: Add smoke tests and add max-steps check

* feat: Implement pred-prey environment viewer

* refactor: Pull out common viewer functionality

* test: Add reward and view tests

* test: Add rendering tests and add test docstrings

* docs: Add predator-prey environment documentation page

* docs: Cleanup docstrings

* docs: Cleanup docstrings
* refactor: Formatting fixes

* fix: Implement rewards as class

* refactor: Implement observation as NamedTuple

* refactor: Implement initial state generator

* docs: Update docstrings

* refactor: Add env animate method

* docs: Link env into API docs
* feat: Prototype search and rescue environment

* test: Add additional tests

* docs: Update docs

* refactor: Update target plot color based on status

* refactor: Formatting and fix remaining typos.
* refactor: Rename to targets_remaining

* docs: Formatting and expand docs

* refactor: Move target and reward checks into utils module

* fix: Set agent and target numbers via generator

* refactor: Terminate episode if all targets found

* test: Add swarms.common tests

* refactor: Move agent initialisation into generator

* test: Add environment utility tests
* refactor: Set -1.0 as default view value

* refactor: Restructure tests

* refactor: Pull out common functionality and fix formatting

* refactor: Better function names
* Set plot range in viewer only

* Detect targets in a single pass
* Prototype search-and-rescue network and training

* Refactor and docstrings

* Share rewards if found by multiple agents

* Use Distrax for normal distribution

* Add bijector for continuous action space

* Reshape returned from actor-critic

* Prototype tanh bijector w clipping

* Fix random agent and cleanup

* Customisable reward aggregation

* Cleanup

* Configurable vision model

* Docstrings and cleanup params
* Add observation including all targets

* Consistent test module names

* Use CNN embedding
* Use channels view parameters

* Rename parameters

* Include step-number in observation

* Add velocity field to targets

* Add time scaled reward function
* Update docstrings

* Update tests

* Update environment readme
* Review docstrings

* Add scaled individual reward function

* Doc tweaks

* Fix upper-case pi symbols
* Tweak env docs

* Env tweaks/refactors

* Separate searcher and target view ranges and consolidate observation-fn

* Consolidate reward functions

* Implement randomly accelerating target dynamics

* Tweak parameters
* Remove unused parameter

* Add tests and tweak parameters
@zombie-einstein zombie-einstein deleted the pr_comments branch February 3, 2025 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants