Charlie Crane
582e7cfec7
#2887 - Initial commit of Node refactor for extensibility in version 4.0.0. Addition of ConfigSchema and changes to how Nodes are generated within Game.py
2025-01-15 11:21:18 +00:00
Marek Wolan
c9752f0dc5
#2913 - minor comment cleanup
2025-01-03 11:22:17 +00:00
Marek Wolan
c5f81708ce
Merge remote-tracking branch 'origin/4.0.0a1-dev' into feature/2913_Extensible_Rewards
2025-01-02 15:11:25 +00:00
Marek Wolan
491de6fc47
Revert pre-commit deleting files
2025-01-02 15:11:02 +00:00
Marek Wolan
41dc7b5b29
Merge remote-tracking branch 'origin/4.0.0a1-dev' into feature/2913_Extensible_Rewards
2025-01-02 15:05:35 +00:00
Marek Wolan
bf32271ddd
Change copyright to 2025
2025-01-02 15:05:06 +00:00
Nick Todd
e0b885cc79
#2913 : Changes to update test_sticky_rewards.py
2024-11-07 13:08:44 +00:00
Nick Todd
370bcfc476
#2913 : Make rewards work with config file.
2024-11-06 11:35:06 +00:00
Nick Todd
b849ea6312
#2913 : Remove from_config() and refactor (WIP).
2024-11-04 17:41:43 +00:00
Nick Todd
97094aba79
#2913 : Pre-commit changes.
2024-10-30 11:15:39 +00:00
Nick Todd
9fd862763b
#2913 : Ensure optional software in config file is enabled.
2024-10-30 11:11:07 +00:00
Nick Todd
3c1bb2d546
#2913 : Integration test fixes.
2024-10-29 16:57:11 +00:00
Nick Todd
6f6e4131b4
#2913 : Handle case where server_ip_address is None
2024-10-29 16:54:19 +00:00
Nick Todd
85216bec94
#2913 : Rename notebook to replace '&'.
2024-10-22 16:48:30 +01:00
Nick Todd
c3f266e401
#2913 : Remove unneeded import and pre-commit changes.
2024-10-22 16:26:57 +01:00
Nick Todd
37bdbaf0d1
#2913 : Fix JSON breakage and old-style PORTS and PROTOCOL usage.
2024-10-22 16:15:04 +01:00
Nick Todd
318f8926f0
#2913 : Fix remaining test errors.
2024-10-22 12:14:30 +01:00
Nick Todd
f95ba8cbbc
#2913 : Fix remaining pydantic errors.
2024-10-22 11:01:35 +01:00
Nick Todd
0cf8e20e6d
#2913 : Update reward classes to work with pydantic.
2024-10-21 17:11:11 +01:00
Nick Todd
bbcbb26f5e
#2913 : Fix ActionPenalty.
2024-10-21 14:43:51 +01:00
Nick Todd
419a86114d
#2913 : Now with ConfigSchemas.
2024-10-17 16:35:13 +01:00
Nick Todd
fe6a8e6e97
#2913 : Initial commit of new AbstractReward class.
2024-10-17 13:24:57 +01:00
Marek Wolan
6844bd692a
bump version to 4.0.0a1
2024-10-11 13:02:44 +01:00
Marek Wolan
9626cfc990
Merge remote-tracking branch 'origin/release/3.3.0' into 4.0.0a1
2024-10-11 12:42:32 +01:00
Marek Wolan
43ec85a669
#2755 - refix some air space frequency issues
2024-10-11 09:52:16 +01:00
Marek Wolan
8419fd751a
Merged PR 561: Make it possible to add sets of nodes to the network
...
## Summary
* Changed the office LAN convenience function to a class with a registry. Now, plugin can register custom node adders.
* Added ability to define `node_sets` in the config that map to `NetworkNodeAdder` subclasses
* Made airspacefrequency into a DTO class again to make management simpler.
* Moved the node registry out of `HostNode` and `NetworkNode` into `Node`
* Changed game.py to check the hardcoded node types before the node registry (this will change once I add ConfigSchema to all node subclasses)
* Made `show` method of the network container show all nodes, including ones registered at runtime.
## Test process
* Existing tests passed.
* Added unit tests for node adders
## Checklist
- [X] PR is linked to a **work item**
- [X] **acceptance criteria** of linked ticket are met
- [X] performed **self-review** of the code
- [X] 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
- [ ] attended to any **TO-DOs** left in the code
2024-10-09 14:56:57 +00:00
Marek Wolan
611b34e29f
remove outdated comment
2024-10-09 14:16:23 +01:00
Marek Wolan
a42398ac09
Fix typos and improve validation
2024-10-09 14:15:53 +01:00
Marek Wolan
56a17c3fea
Update typos and comments according to PR comments
2024-10-08 13:40:40 +01:00
Marek Wolan
b4cc1b4379
Add tests for office lan creation
2024-10-04 11:07:49 +01:00
Marek Wolan
b5b7fc6a8d
Give node types their own identifiers and make the network show method use them
2024-10-04 09:20:07 +01:00
Marek Wolan
5fde945fac
rename identifier back to type
2024-10-02 14:24:59 +01:00
Marek Wolan
a838cc6ce1
Convert office lan adder to a class and make it extendable
2024-10-02 13:56:39 +01:00
Marek Wolan
221e09ba51
Turn AirSpaceFrequency to a schema instead of a dict for validation
2024-09-27 15:06:19 +01:00
Marek Wolan
5282cb0294
#2899 - Make software manager always show() all software
2024-09-27 10:56:48 +01:00
Marek Wolan
c74d5ac227
Fix changelog typo and remove repitition in ACL show method
2024-09-27 09:28:26 +01:00
Marek Wolan
203ec5ec85
Add tests for port and protocol validation and update changelog
2024-09-26 16:00:59 +01:00
Marek Wolan
f2b6d68b14
Fix Port scan
2024-09-26 15:35:50 +01:00
Marek Wolan
50e2234a69
Remove commented out code
2024-09-25 16:51:58 +01:00
Marek Wolan
f1b911bc65
Change port and protocol to annotated validators
2024-09-25 16:28:22 +01:00
Marek Wolan
695891f55c
Add port and protocol custom validators
2024-09-20 11:21:28 +01:00
Marek Wolan
08f1cf1fbd
Fix airspace and remaining port problems from refactor
2024-09-19 15:06:29 +01:00
Marek Wolan
dd931d900b
port refactor - eod commit, airspace still broken
2024-09-18 16:02:25 +01:00
Charlie Crane
f6d793196d
#2837 - Actioning review comments following second review [skip ci]
2024-09-05 16:44:29 +01:00
Charlie Crane
9fe48bb241
#2837 - Commiting a typo correction in Using Episode Schedules notebook [skip ci]
2024-09-05 11:32:39 +01:00
Charlie Crane
a5e75f9fed
#2837 - Actioning notebook review comments
2024-09-05 11:24:52 +01:00
=
310876cd3b
2755 Add ability to extend HostNode, NetworkNode, Service and Application outside PrimAITE.
2024-09-04 15:49:37 +01:00
Charlie Crane
d282575467
#2837 - Updating the User Guide as per review comments. [skip ci]
2024-09-04 12:07:32 +01:00
Marek Wolan
a5d84c1254
Reduce evaluation on Ray notebooks and fix precommit issues [skip ci]
2024-09-02 11:40:39 +01:00
Marek Wolan
3a6e10b772
Updated VERSION
2024-09-02 07:46:03 +00:00