Marek Wolan
4fb54c9492
#3029 - Add string-ip validator, improve validation, fix minor bugs in pulling schema data
2025-01-31 12:18:52 +00:00
Marek Wolan
fb5242bd78
Merge agents and actions branches + fix import / subclass errors
2025-01-14 11:34:01 +00:00
Charlie Crane
3cca3d4a5c
#2912 - Actioning review comments. Identifiers have been removed from AbstractActions, _legacy folder has been deleted and correction to IPV4Address type hints
2025-01-13 16:12:16 +00:00
Charlie Crane
55ddcb7eb4
#2869 - Pull in changes from 4.0.0a1-dev and resolve conflicts
2025-01-03 09:54:11 +00:00
Marek Wolan
bf32271ddd
Change copyright to 2025
2025-01-02 15:05:06 +00: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
Archer.Bowen
fd57986512
#2757 fixed dev mode cli double -level alternative issue
2024-07-17 11:48:29 +01:00
Archer.Bowen
239f5b86c0
#2716 Agent logging now sits outside of the simulation output log directory, updated dev-mode CLI to include agent logging and added additional tests.
2024-07-10 13:36:37 +01:00
Marek Wolan
28dabad66b
#2682 Backport changes to core PrimAITE
2024-06-25 11:04:52 +01:00
Marek Wolan
fad8d936e6
Merge remote-tracking branch 'origin/dev' into feature/2646_Update-pre-commit-to-check-for-valid-copyright
2024-06-13 12:52:09 +01:00
Czar Echavez
76e954d1a1
Merge remote-tracking branch 'origin/dev' into feature/1847-more-red-agents
2024-06-11 14:26:11 +01:00
Marek Wolan
d1bbab71b7
Updated session_output_writer.py
2024-06-10 14:46:06 +00:00
Marek Wolan
2d54d482a0
Updated session_output_reader.py
2024-06-10 14:45:56 +00:00
Marek Wolan
c538aee022
Rename benchmark variables and add h1 to notebooks
2024-06-10 12:58:07 +01:00
Chris McCarthy
85325361b3
#2618 - Fixed the error that had NIC traffic describe state with enums as keys in the dict
2024-06-06 14:13:26 +01:00
Chris McCarthy
81bcf99855
#2646 - Added a custom pre-commit hook that ensure the copyright clause is added to .py and .rst files.
2024-06-05 09:11:37 +01:00
Czar Echavez
e599e03c10
#2533 : cleaner output text for dev-mode show + consistent colors
2024-05-02 12:21:24 +01:00
Czar Echavez
952f6ee225
#2533 : fix is_dev_mode for missing or outdated configs
2024-05-01 16:23:44 +01:00
Czar Echavez
61e7a4e439
#2533 : documentation on use of dev-mode
2024-05-01 16:04:18 +01:00
Czar Echavez
b6b5ce91c2
#2533 : clean up temp items in tests + fixing the CLI tests
2024-05-01 14:33:33 +01:00
Czar Echavez
a2fb04e6f6
#2533 : set default dev output path + clean up
2024-05-01 14:02:40 +01:00
Czar Echavez
95643d3255
#2533 : optimise so we are not reading from file all the time
2024-04-30 19:36:22 +01:00
Czar Echavez
729f9c5064
#2533 : fix primaite config recreated when running setup
2024-04-30 19:15:54 +01:00
Czar Echavez
ab3d23785d
#2533 : precommit
2024-04-30 15:50:53 +01:00
Czar Echavez
59990813f5
#2533 : added tests + log level for output
2024-04-30 15:43:25 +01:00
Czar Echavez
a7492ba39f
#2447 : cli commands for dev mode
2024-04-29 13:45:10 +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
8d0d323e0b
#2374 Remove primaite session
2024-04-16 11:26:17 +01:00
Chris McCarthy
411f0a320f
#2248 - Final run over all the docstrings after running pre-commit. All tests now working. Updated CHANGELOG.md.
2024-02-08 10:53:30 +00:00
Chris McCarthy
7bbfd564fb
#2248 - Big refactor of base with all Network Interface subclasses created to allow for proper management of ports on devices as it was starting to get messy with the Router. Some routing tests still need fixing as ARP doesn't seem to be working properly
2024-02-05 08:44:10 +00:00
Marek Wolan
21c06dbea1
Remove GATE-related code.
2023-11-13 16:04:25 +00:00
Marek Wolan
b81c1739f8
Fix CLI and Session to work with new classes
2023-10-27 14:26:52 +01:00
Marek Wolan
b53c3856dd
Add GATE wheel temporarily
2023-10-10 09:48:04 +01:00
Chris McCarthy
1dc23e11f2
#1648 - Updated file header from 'Crown Owned Copyright (C) Dstl 2023. DEFCON 703. Shared in confidence.' to '© Crown-owned copyright 2023, Defence Science and Technology Laboratory UK'
2023-07-21 14:54:09 +01:00
Chris McCarthy
aaf1066d29
#1632 - Added full benchmarking script that included plots and a LaTeX report. Ran the v2.0.0rc1 benchmark. Tidied a few other things up.
2023-07-20 08:48:18 +01:00
Marek Wolan
0d521bc96b
Remove redundant 'if TYPE_CHECKING' statements
2023-07-18 10:21:06 +01:00
Marek Wolan
6c31034dba
Ensure everything is still typehinted
2023-07-18 10:13:54 +01:00
Marek Wolan
471826e5ce
Merge branch 'dev' into feature/1623-typehints
2023-07-18 10:03:48 +01:00
Chris McCarthy
f4683f3b66
#1631 - Updated the copyright statement to comply with DEFCON 703 Edition 08/13
2023-07-17 19:57:34 +01:00
Chris McCarthy
678f953ced
#1631 - Added the DEFCON 703 header to all possible files
2023-07-17 19:28:43 +01:00
Christopher McCarthy
3186fcb489
Merged PR 121: #1629 - Added rllib test
...
## Summary
Quick test that uses RLLIB in a session
## Test process
The learning session completes then we check that the number of rows in both the average reward per episode and all transactions csv files.
## Checklist
- [X] This PR is linked to a **work item**
- [X] I have performed **self-review** of the code
- [X] I have written **tests** for any new functionality added with this PR
- [ ] I have updated the **documentation** if this PR changes or adds functionality
- [X] I have run **pre-commit** checks for code style
#1629 - Added rllib test
Related work items: #1629
2023-07-17 17:28:51 +00:00
Chris McCarthy
ee0c797c3c
#1629 - Added assertion in the test that checks the length of the all transactions file too.
...
- Added supporting function on the TempPrimaiteSession class that reads the all transactions csv file.
- Some renaming of the functions.
2023-07-17 12:14:47 +01:00
Czar.Echavez
fbdb8aab28
#1595 :
...
- Added ability to load sessions via PrimaiteSession
- PrimaiteSession loading test
- Added a NotImplemented RLlib loading for now
- Added the ability to load sessions for hardcoded agents
- Moved Session metadata parsing to utils
2023-07-14 14:14:03 +01:00
Marek Wolan
c57ed6edcd
Added type hints
2023-07-14 12:01:38 +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
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
24a4f96ed0
Add blank lines at the end of file.
2023-07-05 09:22:49 +01:00