Logo
Explore Help
Sign In
oxbrbtx/PrimAITE
1
0
Fork 0
You've already forked PrimAITE
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
cda0a28c03ff9d32ef0677e47c73307933beca15
PrimAITE/src/primaite/exceptions.py

12 lines
296 B
Python
Raw Normal View History

#1647 - Added _PrimaitePaths class that manages all the primaite locations using PlayformDirs. This class now creates new primaite locations for each version of primaite. - Rolled the _PrimaitePaths class out throughout the code base. - Updated the docs to reference the new version paths. - Updated the author from qinetiq to dstl - Bumped version number to 2.0.0rc2
2023-07-21 14:00:50 +01:00
# Crown Owned Copyright (C) Dstl 2023. DEFCON 703. Shared in confidence.
#1594 - Managed to get the evaluation of rllib agents working. A test has been added to test_primaite_session.py that now tests the full RLlib agent from end-to-end. I;ve also updated the tests in here to check that the mean reward per episode plot is created for both too. This will need a bit of a re-design further down the line, but for now, it works. Added a custom exception for RLlib eval only error.
2023-07-20 19:58:48 +01:00
class PrimaiteError(Exception):
"""The root PrimAITe Error."""
pass
class RLlibAgentError(PrimaiteError):
"""Raised when there is a generic error with a RLlib agent that is specific to PRimAITE."""
pass
Reference in New Issue Copy Permalink
Powered by Gitea Page: 141ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API