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
84bd9b1bff608905ebfabe416dcffbe4defef3b2
PrimAITE/src/primaite/exceptions.py

12 lines
262 B
Python
Raw Normal View History

#1648 - Updated file header from 'Crown Owned Copyright (C) Dstl 2023. DEFCON 703. Shared in confidence.' to '© Crown-owned copyright 2023, Defence Science and Technology Laboratory UK'
2023-07-21 14:54:09 +01:00
# © Crown-owned copyright 2023, Defence Science and Technology Laboratory UK
#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
#1715 - Added more tests. MAde use of the pydantic model_post_init function for proper ipv4 cofiguration checking. Added NetworkError to exceptions.py.
2023-07-31 16:55:45 +01:00
class NetworkError(PrimaiteError):
"""Raised when an error occurs at the network level."""
pass
Reference in New Issue Copy Permalink
Powered by Gitea Page: 61ms Template: 4ms
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