Marek Wolan
ece9b14d63
Resolve merge conflicts
2023-11-26 23:29:14 +00:00
Marek Wolan
e609f8eb50
Fix misconfiguration in uc2 config and session
2023-11-24 14:56:17 +00:00
Jake Walker
ff8b773c10
Database Manipulation Bot bug fixes
2023-11-24 11:10:34 +00:00
Jake Walker
4e104a4d99
Update data manipulation bot
2023-11-24 10:33:19 +00:00
Jake Walker
b13a9d3daf
Add application execution action for data manipulation bot
2023-11-24 09:25:55 +00:00
Jake Walker
5f1a5af1b4
Add data manipulation bot action manager
2023-11-23 16:06:19 +00:00
Jake Walker
c93705867f
Move configuration from agent to data manipulation bot
2023-11-23 15:53:47 +00:00
Jake Walker
7e0e8a4768
Pass agent settings from config to agent
2023-11-20 10:38:01 +00:00
Marek Wolan
7d800cbbc9
Merge remote-tracking branch 'origin/dev' into feature/1972-remove-sqlite
2023-11-18 03:41:22 +00:00
Marek Wolan
77f3806ba7
Remove real database in favour of simulated
2023-11-18 03:40:08 +00:00
Marek Wolan
829500a60f
Get sb3 checkpoints saving during training
2023-11-16 14:37:37 +00:00
Jake Walker
1c5ff66d26
Pass execution definition from config to agent
2023-11-16 13:26:30 +00:00
Marek Wolan
6182b53bfd
Fix incorrect number of steps per episode
2023-11-15 14:49:44 +00:00
Marek Wolan
c8f2f193bd
Implement agent training with sb3
2023-11-15 12:52:18 +00:00
Marek Wolan
e6ead6e532
Update agent interface to work better with envs
2023-11-14 15:10:07 +00:00
Marek Wolan
1cb54da2dd
Remove more GATE stuff
2023-11-13 17:12:50 +00:00
Marek Wolan
b81c1739f8
Fix CLI and Session to work with new classes
2023-10-27 14:26:52 +01:00
Marek Wolan
f861b1897a
Remove deprecated code from v2
2023-10-25 13:36:55 +01:00
SunilSamra
00d01157da
#901 - Changed num_eval_steps back to 1 in ppo_seeded_training_config.yaml
2023-07-17 15:54:15 +01:00
SunilSamra
cb4089a0ba
#901
...
- Removed bool apply_implicit_rule
- Set default implicit_rule to EXPLICIT DENY
- Added position to ACLs in laydown configs
- Removed apply_implicit_rule from training configs
2023-07-17 13:00:58 +01:00
SunilSamra
ab45c7e3f9
#901 - added to config.rst and added new ACL main config options
2023-07-17 10:08:12 +01:00
SunilSamra
b4f8514206
#901 - amended comment in training_config_main.yaml
2023-07-14 15:49:18 +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
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
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
Czar Echavez
76997f403e
Merge branch 'dev' into feature/1386-enable-a-repeatable-or-deterministic-baseline-test
2023-07-06 22:22:37 +01:00
SunilSamra
3ff081ea71
1566 - added train_episodes, train_steps, eval_episodes and eval_steps to training_config_main.yaml
2023-07-06 11:12:51 +01:00
Marek Wolan
30b08fd48b
Rescaled default rewards by a factor of 1/10000
2023-07-06 10:51:34 +01:00
Czar Echavez
0068092d8b
#1386 : remove unneeded configs + setting the seed globally + temp test
2023-07-05 15:02:41 +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
befd183b2c
#1522 : refactor red_agent_identifier -> random_red_agent so that it is a boolean + documentation
2023-07-03 12:18:58 +01:00
Chris McCarthy
06d5004695
#917 - Dropped VerboseLevel in enums.py and changed OutputVerboseLevel to SB3OutputVerboseLevel
2023-06-30 17:09:50 +01:00
Marek Wolan
d86489a9c2
revert unnecessary changes.
2023-06-30 13:16:30 +01:00
Czar Echavez
4e1e0ef4b4
#1522 : remove numpy randomisation + added random red agent config
2023-06-30 10:37:23 +01:00
Chris McCarthy
cf09202e96
#917 - Added tensorflow to main deps for RLlib.
...
- Dropped support for Python 3.11 due to not supported on Ray RLlib.
- Made release pipeline only run once as we're now no longer using pure path wheels.
2023-06-30 10:24:59 +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
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
8f6e930ba2
#917 - Updated main config
2023-06-22 14:10:38 +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
c09874edbe
#917 - Got RLlib fully training in PrimAITE. Started integrating the the other agents into the Session class
2023-06-18 22:40:56 +01:00