SunilSamra
fc1a575fd0
#901 -
...
- Added comments in access_control_list.py
- Changed obs_shape to max_number_acl_rules from max_number_acl_rules + 1 as index starts from 1
- Commented episode and step print line from test_single_action_space.py
2023-07-14 15:27:37 +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
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
79d77c85c4
Merge remote-tracking branch 'origin/dev' into feature/901-change-functionality-acl-rules
2023-07-13 16:48:02 +01:00
SunilSamra
771061a218
901 - fixed test_single_action_space.py test
2023-07-13 11:45:23 +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
f14963b6fb
Merge remote-tracking branch 'origin/dev' into feature/1566-configure_episode-steps-learn-eval
...
# Conflicts:
# src/primaite/config/training_config.py
2023-07-11 11:39:21 +01:00
Chris McCarthy
1ddfca6459
#1566 - Refactored the test_train_eval_episode_steps.py to sue TempPrimaiteSession.
...
- Fixed all errors that were caused b fixing the above.
- Some tests still fail, these are for SS to fix.
- Dropped the old run_generic stuff from conftest.py
2023-07-07 15:50:14 +01:00
SunilSamra
4902ccd2b4
Merge remote-tracking branch 'origin/dev' into feature/901-change-functionality-acl-rules
2023-07-07 15:14:05 +01:00
Chris McCarthy
8edb26a65c
Merge remote-tracking branch 'origin/dev' into 1566-configure-episode-steps-learn-eval
...
# Conflicts:
# src/primaite/agents/rllib.py
2023-07-07 14:34:20 +01:00
SunilSamra
79d98e977b
1566 - added test file and edited configs to include types of num steps and modifed agents to use correct step and episode counts
2023-07-07 14:13:47 +01:00
Marek Wolan
1d1f3f2403
Merge remote-tracking branch 'origin/dev' into feature/1572-fix-docs-formatting
2023-07-07 10:30:11 +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
dd8593e489
Change reward to float and divide by 10000
2023-07-06 12:52:14 +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
Marek Wolan
24a4f96ed0
Add blank lines at the end of file.
2023-07-05 09:22:49 +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
Marek Wolan
544d8777ea
add module level docstrings
2023-07-04 13:11:06 +01:00
Marek Wolan
5db8bd7c4c
Resolve remaining build warnings for docs
2023-07-04 11:34:36 +01:00
Marek Wolan
9244c160b1
Format docstrings
2023-07-04 11:11:52 +01:00
Marek Wolan
91273b2f99
fix formatting on Observation docs
2023-07-04 10:57:00 +01:00
Chris McCarthy
27e22edaf1
#917 - Reinstalled the pre-commit hook
2023-07-03 20:40:38 +01:00
Chris McCarthy
e271a28bf0
#917 - Synced with dev and integrated the new observation space
2023-07-03 20:36:21 +01:00
Chris McCarthy
1716786441
Merge remote-tracking branch 'origin/dev' into feature/917_Integrate_with_RLLib
...
# Conflicts:
# src/primaite/config/_package_data/training/training_config_main.yaml
# src/primaite/environment/primaite_env.py
# src/primaite/main.py
# src/primaite/transactions/transaction.py
# src/primaite/transactions/transactions_to_file.py
2023-07-03 19:51:52 +01:00
Chris McCarthy
c36ddfa03f
#917 - Synced with dev (at the point of random red agent)
2023-07-03 17:25:21 +01:00
Chris McCarthy
d55225dd41
Merge remote-tracking branch 'origin/dev' into feature/917_Integrate_with_RLLib
...
# Conflicts:
# src/primaite/config/_package_data/training/training_config_main.yaml
# src/primaite/environment/primaite_env.py
2023-07-03 15:07:09 +01:00
Marek Wolan
93881e5d2c
Merge remote-tracking branch 'origin/dev' into feature/1558-flatten-spaces
2023-07-03 15:03:10 +01:00
Czar Echavez
a7913487b8
#1522 : create_random_red_agent -> _create_random_red_agent + converting NodeStateInstructionRed into a dataclass
2023-07-03 13:36:14 +01:00
Czar Echavez
befd183b2c
#1522 : refactor red_agent_identifier -> random_red_agent so that it is a boolean + documentation
2023-07-03 12:18:58 +01:00
Christopher McCarthy
7fe46ef99c
Apply suggestions from code review
2023-07-03 10:47:26 +00:00
Czar Echavez
6b4530bded
#1522 : run pre-commit
2023-07-03 10:08:25 +01:00
Czar Echavez
68457aa0b2
#1522 : added a check for existing links in laydown + test that checks if red agent instructions are random
2023-07-03 09:46:52 +01:00
Marek Wolan
046937d838
Apply suggestions from code review
2023-07-03 08:00:51 +00:00
SunilSamra
b3d9a6e79d
901 - merged with changes made to dev
2023-07-03 08:17:52 +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
Marek Wolan
7e6fe2759b
Fix flattening when there are no components.
2023-06-30 15:43:15 +01:00
Marek Wolan
99ba05c6ee
Remove redundant cols from transactions
2023-06-30 10:41:56 +01:00
Czar Echavez
4e1e0ef4b4
#1522 : remove numpy randomisation + added random red agent config
2023-06-30 10:37:23 +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
c9f58fdb2a
Fix observation representation in transactions
2023-06-29 15:26:07 +01:00
Czar Echavez
10e432eb01
#1522 : fixing create random red agent function
2023-06-29 15:03:11 +01:00
Czar Echavez
15b3bad5d4
Merge branch 'dev' into feature/1522-Random-Red-Agent-Behaviour
2023-06-29 14:17:41 +01:00
Chris McCarthy
b6d93ad33f
#917 - Began the process of reloading existing agents into the session
2023-06-28 19:54:00 +01:00
Chris McCarthy
4866722911
#917 - Overhauled transaction and mean reward writing.
...
- Separated out learning outputs from evaluation outputs
2023-06-28 16:34:00 +01:00
Chris McCarthy
a9ebfd7917
#917 - Synced with dev and added better logging
2023-06-28 12:01:01 +01:00
Marek Wolan
e086d419ad
Attempt to add flat spaces
2023-06-28 11:07:45 +01:00
Chris McCarthy
edab1a393d
Merge remote-tracking branch 'origin/dev' into feature/917_Integrate_with_RLLib
...
# Conflicts:
# src/primaite/config/training_config.py
# src/primaite/main.py
2023-06-28 10:11:03 +01:00