hotfix for badges and editor (Pogema 2.0)#50
Merged
Merged
Conversation
- 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)
- fixed ruff checks
- 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'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.