Marek Wolan
954026d3e0
Comment out RLLib support
2023-07-31 12:13:52 +01:00
Chris McCarthy
bb8b41a5ec
#1711 - Removed the legacy bools from the RLlibAgent constructor in primaite_session.py
2023-07-28 14:02:17 +01:00
Chris McCarthy
0fb9268f44
#1711 - Fully Integrated the legacy training config and lay down config options into the CLI, run PrimaiteSession, and Agent classes. Made the ese test in test_full_legacy_config_session.py use this new integrated option to read the legacy file.
2023-07-28 13:49:26 +01:00
Chris McCarthy
1dc23e11f2
#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
Czar Echavez
6930c8ba7b
#1595 :
...
- Fixed the bug where session gets run twice when loading a session via CLI
- Added a test for the CLI run - xskipped while the bugfix for load session acting odd is tbd
- Fixed a minor bug in PrimAITE session where session_path is overwritten
2023-07-20 16:21:30 +01:00
Chris McCarthy
aaf1066d29
#1632 - Added full benchmarking script that included plots and a LaTeX report. Ran the v2.0.0rc1 benchmark. Tidied a few other things up.
2023-07-20 08:48:18 +01:00
Marek Wolan
471826e5ce
Merge branch 'dev' into feature/1623-typehints
2023-07-18 10:03:48 +01:00
Chris McCarthy
f4683f3b66
#1631 - Updated the copyright statement to comply with DEFCON 703 Edition 08/13
2023-07-17 19:57:34 +01:00
Chris McCarthy
678f953ced
#1631 - Added the DEFCON 703 header to all possible files
2023-07-17 19:28:43 +01:00
Czar Echavez
c783965001
#1595 : added loading sessions to run command + test + documentation for how to use loading sessions
2023-07-14 15:51:38 +01:00
Czar.Echavez
fbdb8aab28
#1595 :
...
- Added ability to load sessions via PrimaiteSession
- PrimaiteSession loading test
- Added a NotImplemented RLlib loading for now
- Added the ability to load sessions for hardcoded agents
- Moved Session metadata parsing to utils
2023-07-14 14:14:03 +01:00
Marek Wolan
c57ed6edcd
Added type hints
2023-07-14 12:01:38 +01:00
Czar.Echavez
e2d5f0bcff
#1595 :
...
- SB3 Agent loading
- rename agent.py -> agent_abc.py
- rename hardcoded.py -> hardcoded_abc.py
- Tests
- Added in test asset that is used to load the SB3 Agent
2023-07-13 16:24:03 +01:00
Marek Wolan
5618283cc5
Standardise docstring summary line placement.
2023-07-07 10:28:00 +01:00
Marek Wolan
653d76ec62
Added docstrings to class intialisers
2023-07-06 16:08:51 +01:00
Marek Wolan
544d8777ea
add module level docstrings
2023-07-04 13:11:06 +01:00
Marek Wolan
9244c160b1
Format docstrings
2023-07-04 11:11:52 +01:00
Chris McCarthy
06d5004695
#917 - Dropped VerboseLevel in enums.py and changed OutputVerboseLevel to SB3OutputVerboseLevel
2023-06-30 17:09:50 +01:00
Chris McCarthy
e11fd2ced4
#917 - Fixed the RLlib integration
...
- Dropped support for overriding the num_episodes and num_steps at the agent level. It's just not needed and will add complexity when overriding and writing output files.
2023-06-30 16:52:57 +01:00
Chris McCarthy
7b1f889415
#917 - Integrated the PrimaiteSession into all tests.
...
- Ran a full pre-commit hook and thus encountered tons of fixes required
2023-06-30 09:08:13 +01:00
Chris McCarthy
a9ebfd7917
#917 - Synced with dev and added better logging
2023-06-28 12:01:01 +01:00
Chris McCarthy
7b0f47d6f8
#917 -Finished integrating all agents to either train (policy agents) or evaluate (hard-coded agents). Still some fixing up to do, tidying up, loading etc. also docs. But this is all now working.
2023-06-20 16:06:55 +01:00
Chris McCarthy
10c94954a5
#917 - Almost there. All output files being writen for SB3/RLLIB PPO & A2C. Just need to bring in the hardcoded agents then update the testa and docs.
2023-06-19 21:53:25 +01:00
Chris McCarthy
3670f16766
#917 - Integrated both SB3 and RLlib agents into PrimaiteSession
2023-06-19 20:27:08 +01:00
Chris McCarthy
31eb36c75a
#917 - started working on the Agent abstract classes and sub-classes
2023-06-15 09:48:44 +01:00
Chris McCarthy
40686031e6
temp commit
2023-06-13 09:42:54 +01:00