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
Marek Wolan
652c9f1b90
Merge remote-tracking branch 'origin/dev' into feature/901-change-functionality-acl-rules
2023-07-18 10:55:31 +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
SunilSamra
6b8cf73207
901 - Added another test and tidied up comments in test_observation_space.py and tidied up comments in observations.py
2023-07-14 14:51:26 +01:00
Chris McCarthy
8c0ca8cfbc
#901 - Dropped temp_primaite_sessiion_2 from conftest.py.
...
- Re-added the hard-coded mean rewards per episode values from a rpe-trained agent to the deterministic test in test_seeding_and_deterministic_session.py
- Partially tidies up some tests in test_observation_space.py; Still some work to be done on this at a later date.
2023-07-14 14:13:11 +01:00
SunilSamra
4a0d688ae6
901 - fixed test_observation_space.py, added test fixture for test_seeding_and_deterministic_session.py and increased default max number of acls
2023-07-14 12:29:50 +01:00
SunilSamra
0bcaf0696d
901 - removed print statements and merged with dev
2023-07-13 17:14:59 +01:00
SunilSamra
ad4198da13
901 - changed acl current obs from list to numpy.array, changed default ACL list in training_config.py to FALSE, and tried to make test_seeding_and_deterministic_session.py test without fixed reward results
2023-07-13 11:04:11 +01:00
SunilSamra
e192d24800
Merge remote-tracking branch 'origin/dev' into feature/901-change-functionality-acl-rules
...
# Conflicts:
# src/primaite/acl/access_control_list.py
2023-07-12 10:45:03 +01:00
SunilSamra
6547789d5d
901 - changed implicit_acl_rule from str to enum name
2023-07-11 12:36:22 +01:00
Marek Wolan
5618283cc5
Standardise docstring summary line placement.
2023-07-07 10:28:00 +01:00
SunilSamra
7a02661c66
901 - changed how acl rules are added to access control list and added structure to AccessControlList observation
2023-07-06 11:07:21 +01:00
SunilSamra
35045f4842
901 - merged with dev
2023-07-05 11:34:15 +01:00
SunilSamra
766ee9624a
901 - updated observations.py to change and add new mapping of ACL rules to represent no rule present in list
2023-07-05 09:08:03 +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
Marek Wolan
beae1e5c4f
Cosmetic changes to satisfy pre-commit
2023-06-27 13:06:10 +01:00
SunilSamra
9c17b54073
901 - changed ACL instantiation and changed acl t private _acl (list not dict) attribute, added laydown_ACL.yaml for testing, fixed encoding of acl rules to integers for obs space, added ACL position to node action space and added generic test where agents adds two ACL rules.
2023-06-20 11:47:20 +01:00
SunilSamra
52d759bcd9
901 - started testing for observation space
2023-06-13 16:23:32 +01:00
SunilSamra
53a7001963
901 - added max_acl_rules, implicit_acl_rule and apply_implicit rule to main_config, changed observations.py for ACLs to match the action space for ACLs, added position of acl rule to ACL action type
2023-06-13 14:51:55 +01:00
Chris McCarthy
86b813afa1
#915 - Synced with dev
2023-06-09 15:49:48 +01:00
Marek Wolan
a597cf95d7
Fix obs tests with new changes
2023-06-09 10:28:24 +01:00
Marek Wolan
4329c65211
Apply suggestions from code review.
2023-06-07 15:25:11 +01:00
Marek Wolan
f14910ca96
Fix Link Traffic Levels observation encoding
2023-06-02 13:15:38 +01:00
Marek Wolan
73adfbb6dd
Get observation tests passing
2023-06-02 13:08:11 +01:00
Marek Wolan
14096b3dd1
Add tests for observations
2023-06-02 12:59:01 +01:00
Marek Wolan
16777b30ad
begin updating observations tests
2023-06-01 21:56:05 +01:00
Marek Wolan
2b2c7ad22d
Improve observation space test
2023-06-01 09:45:46 +01:00
Marek Wolan
082e3b7307
Add test for new multidiscrete spaces
2023-05-30 15:48:11 +01:00