Marek Wolan
dd63563ba1
Update doc page on primaite session.
2023-11-23 03:07:39 +00:00
Marek Wolan
f1f516c51a
Add multi agent session test
2023-11-23 02:51:31 +00:00
Marek Wolan
8a2279c6cb
Update end to end tests after session changes
2023-11-23 01:40:27 +00:00
Marek Wolan
14ae8be5e2
Update session after it was split from game
2023-11-23 00:54:19 +00:00
Marek Wolan
1fd5298fc5
Fix multi agent system
2023-11-22 20:22:34 +00:00
Jake Walker
061e508187
Add repeat option to data manipulation bot
2023-11-22 16:24:17 +00:00
Nick Todd
006a37d268
#2042 : extract code into request_time() method.
2023-11-22 14:40:44 +00:00
Nick Todd
3f76e09521
#2042 : remove apply_timestep() return value
2023-11-22 14:13:50 +00:00
Marek Wolan
9070fb44d4
Check that ray single agent training works
2023-11-22 13:26:29 +00:00
Marek Wolan
b81dd26b71
Add Ray env class
2023-11-22 13:12:08 +00:00
Marek Wolan
1138644a4b
Update to make things work with new layout
2023-11-22 12:59:33 +00:00
Marek Wolan
afd64e4674
Separate game, environment, and session
2023-11-22 11:59:25 +00:00
Nick Todd
dd7c2b05f8
#2041 : Add RST doc
2023-11-22 08:54:39 +00:00
Nick Todd
984d165364
#2041 : Fix long line
2023-11-21 17:24:50 +00:00
Nick Todd
eb2e37429a
#2042 : Add time attribute
2023-11-21 17:24:24 +00:00
Jake Walker
aa65c53a95
Pass probability of success through to functions
2023-11-21 15:09:51 +00:00
Jake Walker
48af022963
Run agent at configured timesteps
2023-11-21 13:41:38 +00:00
Nick Todd
243f2dd938
#2041 : Update CHANGELOG
2023-11-21 12:11:30 +00:00
Jake Walker
d8154bbebd
Add tests for data manipulation bot attack stages
2023-11-21 11:43:47 +00:00
Jake Walker
2975aa8827
Execute data manipulation bots from agent
2023-11-21 11:42:01 +00:00
Nick Todd
9ab33a4aa4
Merge branch 'dev' into feature/2041_2042-Add-NTP-Services
2023-11-21 11:28:50 +00:00
Nick Todd
60d94bf4b5
#2041 : Remove test
2023-11-21 11:17:38 +00:00
Nick Todd
4f0f758ce9
#2041 : Correct return value from receive()
2023-11-21 11:16:34 +00:00
Nick Todd
813a1f356e
#2042 : Remove debug statement
2023-11-21 11:15:07 +00:00
Marek Wolan
e9d2437db8
Merged PR 212: GATE-less agents
...
## Summary
Remove gate and integrate SB3 agent natively.
This includes:
- agent saving
- checkpoints
- session output directory
- simulation output (such as syslogs) are now in the session output directory
- agent loading
- training progress bar (with `enlighten`)
## Test process
End to end tests that verify that a session is being created correctly with a network
They also check the outputs exist.
## Checklist
- [y] PR is linked to a **work item**
- [upcoming PR] **acceptance criteria** of linked ticket are met
- [y] performed **self-review** of the code
- [loading not tested but need to move onto Ray now] written **tests** for any new functionality added with this PR
- [n] updated the **documentation** if this PR changes or adds functionality
- [n] written/updated **design docs** if this PR implements new functionality
- [n] updated the **change log**
- [y] ran **pre-commit** checks for code style
- [n] attended to any **TO-DOs** left in the code
Related work items: #1971
2023-11-21 09:33:29 +00:00
Nick Todd
f7215847d4
#2041 : ntp_server test fixes.
2023-11-20 18:08:55 +00:00
Nick Todd
b0b37f9da5
#2042 : ntp_client test fixes.
2023-11-20 18:06:50 +00:00
Nick Todd
95ad55a783
#2041 : change deprecated logger levels.
2023-11-20 18:04:49 +00:00
Jake Walker
7e0e8a4768
Pass agent settings from config to agent
2023-11-20 10:38:01 +00:00
Marek Wolan
66d5612e92
Merge remote-tracking branch 'origin/feature/1972-remove-sqlite' into feature/1971-ray-agents-2
2023-11-18 04:54:17 +00:00
Marek Wolan
fdb48c0ded
Update docs for Database
2023-11-18 03:46:24 +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
9d0a98b221
Apply suggestions from code review
2023-11-17 20:30:07 +00:00
Marek Wolan
5d9d8fe92c
merge PR updates from parent branch
2023-11-17 17:59:45 +00:00
Marek Wolan
3fb7bce3ce
Get RLLib to stop crashing.
2023-11-17 17:57:57 +00:00
Nick Todd
d28bd0d1c3
#2041 : Fix names
2023-11-17 14:19:36 +00:00
Nick Todd
dbecc681dc
#2041 : Install NTPServer and NTPClient.
2023-11-17 12:59:06 +00:00
Nick Todd
6081f02caa
#2041 : Add missing return statement
2023-11-17 12:41:53 +00:00
Nick Todd
622c6931d8
#2041 : Create test network + extra test
2023-11-17 12:07:46 +00:00
Jake Walker
227e73602f
Pass execution definition from config to agent
2023-11-17 11:51:19 +00:00
Marek Wolan
c5b4ae45be
Remove problematic progress bars
2023-11-17 11:40:36 +00:00
Marek Wolan
6e5e1e6456
Begin rllib
2023-11-17 11:38:29 +00:00
Marek Wolan
5bda952ead
Fix sim output
2023-11-17 10:20:26 +00:00
Marek Wolan
ba580b00b4
Improve config validation and fix tests
2023-11-16 16:14:50 +00:00
Marek Wolan
0861663cc1
Add agent loading
2023-11-16 15:40:49 +00:00
Marek Wolan
e52d1fbd45
Add enlighten dependency
2023-11-16 15:29:48 +00:00
Marek Wolan
0b9bdedebd
Fix typehints
2023-11-16 15:28:38 +00:00
Marek Wolan
13c49bf3ea
Fix session path monkeypatch
2023-11-16 15:19:14 +00:00
Marek Wolan
7545c25a46
Make pytest patch with temporary session dir
2023-11-16 15:11:03 +00:00