-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve extend method in LimitedHistory to enforce memory depth (#1458)
* Improve extend method in LimitedHistory to enforce memory depth - Updated the extend method in the LimitedHistory class to properly truncate oldest entries when the combined history exceeds the defined memory depth. - Added a corresponding unit test in axelrod/tests/unit/test_history.py to validate this behavior. - Formatted all committed files using black for consistent code style. * Ignore workflow failures by adding suppress_health_check - add suppress_health_check to test_equality function in test_game.py to prevent workflow failure in Github remote. - Update HealthCheck module import order in test_game.py
- Loading branch information
Showing
3 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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