Marek Wolan
f8336d07bd
#2626 fix too many open files bug
2024-05-31 13:28:56 +01:00
Marek Wolan
c7b2ed7f86
Merge branch 'dev' into feature/2588-minimal-deps
2024-05-31 12:11:16 +01:00
Marek Wolan
a161a3a5ec
#2639 Fix reset signature
2024-05-30 15:34:46 +01:00
Marek Wolan
0c19546322
#2588 optional RL deps
2024-05-29 14:54:45 +01:00
Charlie Crane
f66d9d5817
Merge branch 'dev' into feature/2457-Set_link_bandwidth_via_config
2024-05-14 14:44:20 +01:00
Charlie Crane
71684dc5f0
#2457 - Initial commit removing the hardcoding of bandwidth values within links. Now pull it from configuration files, defaulting to 100 if not implemented
2024-05-13 14:42:15 +01:00
Czar Echavez
ec6d2bf640
#2533 : fix missing implementation of output_dir override in io.py + moving the dev mode override in SIM_OUTPUT to prevent the override from being overridden
2024-05-01 16:53:37 +01:00
Czar Echavez
a2fb04e6f6
#2533 : set default dev output path + clean up
2024-05-01 14:02:40 +01:00
Czar Echavez
729f9c5064
#2533 : fix primaite config recreated when running setup
2024-04-30 19:15:54 +01:00
Czar Echavez
73f64cd89c
Merge remote-tracking branch 'origin/dev' into feature/2533-improve-dev-tools-in-primaite-cli
2024-04-30 18:27:05 +01:00
Charlie Crane
9b3699389a
#2523 - Adding in some additional logging for other agent classes. This currently prints total_reward instead of average reward
2024-04-30 15:36:59 +01:00
Charlie Crane
b8c46a92e9
#2523 - Minor typos/corrections to make things run locally. Added one logging line to record Blue agent reward per step in environment.py
2024-04-30 14:16:29 +01:00
Czar Echavez
c94fa653f7
Merge remote-tracking branch 'origin/dev' into feature/2533-improve-dev-tools-in-primaite-cli
2024-04-29 16:24:19 +01:00
Czar Echavez
a7492ba39f
#2447 : cli commands for dev mode
2024-04-29 13:45:10 +01:00
Marek Wolan
be5cf0b877
Merge remote-tracking branch 'origin/dev' into feature/2476-training-schedules-mockup
2024-04-25 15:17:08 +01:00
Marek Wolan
66f31e8ed1
#2476 Add test for episode scheduler
2024-04-25 15:09:46 +01:00
Marek Wolan
42ce264e73
#2476 Fix string formatting
2024-04-25 13:54:05 +01:00
Marek Wolan
e3f9162a77
Merge remote-tracking branch 'origin/dev' into feature/2476-training-schedules-mockup
2024-04-25 13:50:11 +01:00
Czar Echavez
96b6fb81da
#2447 : added mode to primaite cli + printing session to current working directory if in dev mode
2024-04-25 13:32:57 +01:00
Marek Wolan
a92898d001
#2476 Finalise explanation notebook for episode schedule
2024-04-25 13:25:26 +01:00
Marek Wolan
28c8b7c9d9
#2476 Get episode schedule working
2024-04-23 11:51:50 +01:00
Czar Echavez
34773ed225
#2470 : implement PR suggestions
2024-04-18 16:38:42 +01:00
Czar Echavez
94ca13c0f9
#2470 : add log level via config + test
2024-04-18 15:14:40 +01:00
Marek Wolan
8d0d323e0b
#2374 Remove primaite session
2024-04-16 11:26:17 +01:00
Marek Wolan
0828f70b4c
#2459 back-sync b8 changes into core
2024-04-15 11:50:08 +01:00
Marek Wolan
82143a2a2e
#2446 Fix io config parsing order
2024-04-02 00:31:06 +01:00
Marek Wolan
b4d310eda2
Align step counts in logging
2024-03-15 16:17:38 +00:00
Marek Wolan
04c86e30c9
Fix some stuff
2024-03-15 11:15:02 +00:00
Marek Wolan
d33c80d0d6
Minor fixes
2024-03-14 14:33:04 +00:00
Marek Wolan
c3f1cfb33d
Add shared reward
2024-03-11 22:53:39 +00:00
Marek Wolan
7599655879
Add agent action history
2024-03-11 20:10:08 +00:00
Marek Wolan
0447a05084
Add call validation
2024-03-08 15:57:43 +00:00
Marek Wolan
8589ce449a
Merged PR 295: Agent action logging
...
## Summary
Added a new optional capability to create a JSON log each episode with a list of action each agent took each step (including scripted, RL, and red agents).
Also I had to slightly refactor the IO system to not rely on PrimaiteSession, as it's gonna be deprecated soon. Therefore the IO module is now linked to the gym environment. Each time you init a gym environment, it creates a session directory.
## Test process
Tried the SB3, Ray SARL and Ray MARL notebooks to see that the outputs get generated.
## Checklist
- [x] PR is linked to a **work item**
- [x] **acceptance criteria** of linked ticket are met
- [x] performed **self-review** of the code
- [ ] written **tests** for any new functionality added with this PR
- [x] updated the **documentation** if this PR changes or adds functionality
- [ ] written/updated **design docs** if this PR implements new functionality
- [x] updated the **change log**
- [x] ran **pre-commit** checks for code style
- [x] attended to any **TO-DOs** left in the code
Move IO to environments from session and add agent logging
Related work items: #2278
2024-03-05 16:39:44 +00:00
Marek Wolan
a7bfc56b98
Apply documentation changes based on PR review.
2024-03-05 11:21:49 +00:00
Marek Wolan
758f892b74
Make notebook for varying red agent behaviour in uc2
2024-03-04 21:04:27 +00:00
Marek Wolan
2f456e7ae0
Move IO to environments from session and add agent logging
2024-03-04 18:47:50 +00:00
Marek Wolan
10a4053887
Fix tests
2024-03-01 15:14:00 +00:00
Marek Wolan
2f3e40fb6b
Fix issue around reset
2024-02-29 13:22:05 +00:00
Marek Wolan
a5043a8fbe
Modify tests based on refactoring
2024-02-26 12:15:53 +00:00
Marek Wolan
e5982c4599
Change agents list in game object to dictionary
2024-02-26 10:26:28 +00:00
Marek Wolan
994dbc3501
Finalise the refactor. It works well now.
2024-02-25 17:44:41 +00:00
Marek Wolan
64b9ba3ecf
Make environment reset reinstantiate the game
2024-02-20 16:21:03 +00:00
Marek Wolan
28acb5dcae
Populate step info in environment, and finish notebook
2024-01-25 12:04:09 +00:00
Marek Wolan
1505d08721
Fix backup issues and align with Yak
2024-01-10 18:04:48 +00:00
Marek Wolan
f75c10aafb
Make flattening observation spaces optional.
2024-01-05 13:10:49 +00:00
Marek Wolan
4266618ba5
Make pcap logs and sys logs optional
2024-01-05 11:25:57 +00:00
Marek Wolan
01b9e661ce
Clean up print statements.
2023-12-04 10:45:33 +00:00
Marek Wolan
a5c4f7797d
Make saving step metadata optional
2023-12-04 10:42:20 +00:00
Marek Wolan
8ea9db2d34
Merge remote-tracking branch 'origin/dev' into feature/2085-dump_describe_state
2023-12-04 10:38:41 +00:00
Marek Wolan
ba3d37316b
Apply suggestions from review
2023-12-04 09:21:47 +00:00