Skip to content

hotfix for badges and editor (Pogema 2.0)#50

Merged
Tviskaron merged 18 commits into
mainfrom
pogema-2.0
Apr 22, 2026
Merged

hotfix for badges and editor (Pogema 2.0)#50
Tviskaron merged 18 commits into
mainfrom
pogema-2.0

Conversation

@Tviskaron
Copy link
Copy Markdown
Contributor

No description provided.

Tviskaron and others added 18 commits April 22, 2026 12:24
- Use `env.unwrapped` for pogema-specific attributes (gymnasium >= 1.0 removed Wrapper.__getattr__ forwarding)
- Replace flake8 with ruff, migrate CI to uv
- Remove stale setup.py, requirements.txt, build.sh
- Misc pyproject.toml cleanup (numpy bound, classifiers, requires-python)
- Removed PyMARL stuff
- Add PogemaWrapper base class with explicit method forwarding (using base.py)
- AnimationWrapper - enable/disable/save API, zero-overhead when inactive
- Soft collision_system by default
- Trimming for terminal render
- Replace assert with raise ValueError in all validators (safe under python -O)
- Fix SingleAgentWrapper.reset() silently dropping seed parameter
- Fix wrong exception types: KeyError/OverflowError → ValueError across codebase
- Add reset() to metric wrappers to clear stale state on mid-episode reset
- Fix ActionsSampler seed not updating on reset(seed=...)
- Improve error messages (typos, unclear bounds notation, missing guidance)
- Add Field(description=...) and parameterized type hints to all GridConfig fields
- Add __repr__ to PogemaWrapper showing config summary
- Export missing public classes in __all__ (metrics, MultiTimeLimit, register_grid, etc.)
- Raise dimension limit from 4096 to 8,388,608 (2^23)
- Fix old-style type hint (int, int) → tuple[int, int] in a_star_policy.py
- Replace remaining asserts with proper exceptions
  - Convert soft collision _revert_action from recursive to iterative
  - Add SingleAgentWrapper multi-agent warning
  - Remove AgentsDensityWrapper
  - Fix PettingZoo render()/close() API
  - Cache get_lifelong_targets_xy() (invalidate on reset)
  - Add tests for A* policy, wrappers, and soft collisions
  - Remove PyMARL reference from CLAUDE.md
  - Document why connectivity check is not implemented
* Migrate to gymnasium >= 1.0 and modernize build tooling

- Use `env.unwrapped` for pogema-specific attributes (gymnasium >= 1.0 removed Wrapper.__getattr__ forwarding)
- Replace flake8 with ruff, migrate CI to uv
- Remove stale setup.py, requirements.txt, build.sh
- Misc pyproject.toml cleanup (numpy bound, classifiers, requires-python)

* - migrated to newer version of checks in pydantic
- fixed ruff checks

* Improvements:
- Removed PyMARL stuff
- Add PogemaWrapper base class with explicit method forwarding (using base.py)
- AnimationWrapper - enable/disable/save API, zero-overhead when inactive
- Soft collision_system by default
- Trimming for terminal render

* hotfix

* hotfix

* fix for animation.py and tests

* Removing CodeFactor

* update codeql

* ruff "W", "I", "UP", "B" flags, and corresponding fixes, plus fixed seeding in reset

* minor fix for version history

* refactoring:
- Replace assert with raise ValueError in all validators (safe under python -O)
- Fix SingleAgentWrapper.reset() silently dropping seed parameter
- Fix wrong exception types: KeyError/OverflowError → ValueError across codebase
- Add reset() to metric wrappers to clear stale state on mid-episode reset
- Fix ActionsSampler seed not updating on reset(seed=...)
- Improve error messages (typos, unclear bounds notation, missing guidance)
- Add Field(description=...) and parameterized type hints to all GridConfig fields
- Add __repr__ to PogemaWrapper showing config summary
- Export missing public classes in __all__ (metrics, MultiTimeLimit, register_grid, etc.)
- Raise dimension limit from 4096 to 8,388,608 (2^23)
- Fix old-style type hint (int, int) → tuple[int, int] in a_star_policy.py

* refactoring
- Replace remaining asserts with proper exceptions
  - Convert soft collision _revert_action from recursive to iterative
  - Add SingleAgentWrapper multi-agent warning
  - Remove AgentsDensityWrapper
  - Fix PettingZoo render()/close() API
  - Cache get_lifelong_targets_xy() (invalidate on reset)
  - Add tests for A* policy, wrappers, and soft collisions
  - Remove PyMARL reference from CLAUDE.md
  - Document why connectivity check is not implemented

* updated README.md with temporal github installation and more tests

* add docs

* building docs action

* hotfix for Config value 'theme'
@Tviskaron Tviskaron merged commit 2ed519e into main Apr 22, 2026
11 checks passed
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.

1 participant