Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
3d4dae7
Add real-world and white-box coordinators for NetSecGame
ondrej-lukas Jan 7, 2026
dd9c862
Add configuration file for NetSecGame environment
ondrej-lukas Jan 7, 2026
17d8551
Add ConfigParser class for configuration management in NetSecGame
ondrej-lukas Jan 7, 2026
db99b1e
Refactor imports in ConfigParser to streamline dependencies
ondrej-lukas Jan 7, 2026
f05db09
Rename to NetSecGame
ondrej-lukas Jan 7, 2026
afe5369
Implement BaseAgent class for network communication in NetSecGame (mo…
ondrej-lukas Jan 7, 2026
69940d7
Add initial imports for NetSecGame package structure
ondrej-lukas Jan 7, 2026
dca1aef
Deprecate read_replay_buffer_from_csv and store_replay_buffer_in_csv …
ondrej-lukas Jan 7, 2026
5218756
Add missing newline at end of file in __init__.py and ensure proper i…
ondrej-lukas Jan 7, 2026
02e8821
Define public API for NetSecGame package and ensure proper formatting
ondrej-lukas Jan 7, 2026
8d336fd
Move scenarios
ondrej-lukas Jan 7, 2026
67fb6c9
Fix import path for random patch in test_mock_stochastic_probabilities
ondrej-lukas Jan 7, 2026
a0591bc
Add Windows Docker run instructions to README
ondrej-lukas Jan 18, 2026
fc8f47d
Update Docker run commands in README to specify the latest image tag
ondrej-lukas Jan 18, 2026
534b7c3
Refactor CYSTCoordinator: Move get_starting_position_from_cyst_config…
ondrej-lukas Jan 18, 2026
4825fcd
Refactor utils.py: Organize imports and enhance hash function documen…
ondrej-lukas Jan 18, 2026
ac59288
Refactor utils.py: Remove unused import for randint and clean up impo…
ondrej-lukas Jan 18, 2026
f36b131
Refactor pyproject.toml: Clean up dependencies and add server depende…
ondrej-lukas Jan 18, 2026
0e7380e
Refactor Dockerfile and README: Update destination directory from /ai…
ondrej-lukas Jan 18, 2026
6fd9097
Refactor __init__.py: Add version metadata and organize public API st…
ondrej-lukas Jan 18, 2026
29d637a
Refactor pyproject.toml: Update license format, enable dynamic versio…
ondrej-lukas Jan 18, 2026
32bda73
Rename NetSecGame to netsecgame to comply with PEP8
ondrej-lukas Jan 18, 2026
b4a4920
rename NetSecGame to netsecgame to comply with PEP8
ondrej-lukas Jan 18, 2026
7373486
fic path
ondrej-lukas Jan 18, 2026
98e67f4
Update dockerinfo
ondrej-lukas Jan 18, 2026
77837b5
Update docker file to match repo structure and pyproject
ondrej-lukas Jan 18, 2026
52af7de
Add valid action generation to the package
ondrej-lukas Jan 18, 2026
3b208f2
Simplification of readme, better clarity
ondrej-lukas Jan 20, 2026
151b691
Fix typing
ondrej-lukas Jan 20, 2026
409f2a5
Fix the path for imports
ondrej-lukas Jan 20, 2026
7f99fdb
Fix path
ondrej-lukas Jan 20, 2026
c11c63e
Add correct path
ondrej-lukas Jan 20, 2026
66632e9
Better organize the agents
ondrej-lukas Jan 20, 2026
def7e06
Fix encoding
ondrej-lukas Jan 21, 2026
0553f6e
fix path
ondrej-lukas Jan 21, 2026
1094810
add imports
ondrej-lukas Jan 21, 2026
e48ffd1
Added deserialization methods
ondrej-lukas Jan 21, 2026
1db1f11
Add de-serialization methods to the core package
ondrej-lukas Jan 21, 2026
201f832
Add twine to the dev dependencies
ondrej-lukas Jan 21, 2026
b79ee52
Fix netaddr version
ondrej-lukas Jan 21, 2026
7af71d0
rename folder
ondrej-lukas Jan 21, 2026
9c92318
apply renaming change
ondrej-lukas Jan 21, 2026
d6522d3
Change name
ondrej-lukas Jan 21, 2026
d9ffb6e
Change naming
ondrej-lukas Jan 21, 2026
05db84b
Add init to game module
ondrej-lukas Jan 21, 2026
d7eda84
Add check for optional dependencies
ondrej-lukas Jan 21, 2026
38b61c3
Fix naming and paths
ondrej-lukas Jan 21, 2026
803b0b5
Fix path
ondrej-lukas Jan 21, 2026
88fbb4b
Fix the names
ondrej-lukas Jan 21, 2026
008a08b
Adjust the path when running from with python -m
ondrej-lukas Jan 21, 2026
72dbe07
Fix ImportError handelling
ondrej-lukas Jan 21, 2026
56314f7
fix patch path
ondrej-lukas Jan 21, 2026
8f52e0e
remove double import for Data
ondrej-lukas Jan 21, 2026
238cace
remove unneccessary init file
ondrej-lukas Jan 21, 2026
1795b28
Add comment to disable ruff errors on the unused imports
ondrej-lukas Jan 21, 2026
5385d4a
Better explanation of the logic of the import checks
ondrej-lukas Jan 21, 2026
bb74c04
moved to the documentation
ondrej-lukas Jan 21, 2026
c646b2e
remove outdated description
ondrej-lukas Jan 21, 2026
2db9c09
documentation cleanup
ondrej-lukas Jan 21, 2026
e92c510
Move the scenarios figures
ondrej-lukas Jan 21, 2026
6e22937
Update docs
ondrej-lukas Jan 21, 2026
eac3e9f
Align readme and docs/index
ondrej-lukas Jan 21, 2026
e9da4d1
Add warning correctly
ondrej-lukas Jan 21, 2026
7b64ae8
Fix typo
ondrej-lukas Jan 21, 2026
22d1023
Add PyPi classifiers
ondrej-lukas Jan 22, 2026
4bfa5ee
Fix snippet syntax
ondrej-lukas Jan 22, 2026
c486c0b
Add slot attribute to dataclasses to optimize memory usage
ondrej-lukas Jan 23, 2026
ee29303
Use top-level package error
ondrej-lukas Jan 23, 2026
4528a5a
Fix return values of the abstracct classes
ondrej-lukas Jan 23, 2026
229e45b
Fix typing errors
ondrej-lukas Jan 23, 2026
f3327da
Fix typing
ondrej-lukas Jan 23, 2026
8c200e5
Improved typng and docstrings
ondrej-lukas Jan 23, 2026
8ef51b0
new set of tests
ondrej-lukas Jan 23, 2026
a6ae2e2
Fixed deserialization to be robust against unexpected dictionary wrap…
ondrej-lukas Jan 23, 2026
edcf6ce
remove redundant test
ondrej-lukas Jan 23, 2026
5951b0b
Separate agent server
ondrej-lukas Jan 23, 2026
6154deb
Split and expose trajectory recorderd from coordinator
ondrej-lukas Jan 23, 2026
5af12ff
Split the tests
ondrej-lukas Jan 23, 2026
ed7a9fa
add tests for util functions
ondrej-lukas Jan 23, 2026
4f6e55c
rename test folder
ondrej-lukas Jan 23, 2026
0f5e9cb
Add Agent role as enum (remove str)
ondrej-lukas Jan 24, 2026
e9dd52a
restric agent roles with enum
ondrej-lukas Jan 24, 2026
b4a0b78
Use AgentRole enum
ondrej-lukas Jan 24, 2026
2106608
added hash to agentrole
ondrej-lukas Jan 24, 2026
99c954d
Added tests for AgentRole
ondrej-lukas Jan 24, 2026
9df4b4f
Expose AgentRole in root
ondrej-lukas Jan 24, 2026
f32d6c3
Split run_game into smaller methd to imporve testability and readability
ondrej-lukas Jan 24, 2026
cba6a28
New tests for refactored methods (_parse_action, _dispatch_action, ru…
ondrej-lukas Jan 24, 2026
6012c11
better logging
ondrej-lukas Jan 24, 2026
c263a46
Remove unused file
ondrej-lukas Jan 24, 2026
92b9722
update doctrings, separete method for dict to msg conversion
ondrej-lukas Jan 24, 2026
88faada
Add default values
ondrej-lukas Jan 24, 2026
72d5a90
split Configuration manager
ondrej-lukas Jan 24, 2026
aec50d8
Use AgentRole
ondrej-lukas Jan 24, 2026
3092eb4
Move functionality to Configuration manager
ondrej-lukas Jan 24, 2026
5fd492d
Updated docsring
ondrej-lukas Jan 24, 2026
2f1d424
Fix logger names
ondrej-lukas Jan 24, 2026
e7eafb0
Fix trajectory recording options
ondrej-lukas Jan 24, 2026
217e90e
rename logger
ondrej-lukas Jan 24, 2026
40e59a8
Fix typos
ondrej-lukas Jan 24, 2026
ca0bdac
fix path
ondrej-lukas Jan 24, 2026
6cd75ec
updated docs
ondrej-lukas Jan 24, 2026
720f835
fixed index
ondrej-lukas Jan 24, 2026
b1fb906
Updated README
ondrej-lukas Jan 24, 2026
67d32e7
Added API refereces link
ondrej-lukas Jan 24, 2026
9a56d7c
change name
ondrej-lukas Jan 24, 2026
85c7594
exclude files that are outdated/not ready yet
ondrej-lukas Jan 24, 2026
0c44959
fix tests
ondrej-lukas Jan 24, 2026
c1ce71b
fix ruff errors
ondrej-lukas Jan 24, 2026
2cf578d
Fix tests
ondrej-lukas Jan 24, 2026
a08a3b0
Better logging of errors
ondrej-lukas Jan 24, 2026
0b139ef
add exact version of pyserde to fix cyst error
ondrej-lukas Jan 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@
.pytest_cache
.ruff_cache
.vscode
__pycache__
build/
dist/
docs/
examples/
figures/
logs/
mlruns/
netsecgame.egg-info/
notebooks/
NetSecGameAgents/
site/
tests/
trajectories/
readme_images/
Expand Down
97 changes: 0 additions & 97 deletions AIDojoCoordinator/docs/Components.md

This file was deleted.

49 changes: 0 additions & 49 deletions AIDojoCoordinator/docs/Coordinator.md

This file was deleted.

31 changes: 0 additions & 31 deletions AIDojoCoordinator/docs/Trajectory_analysis.md

This file was deleted.

Binary file not shown.
Binary file not shown.
Empty file.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM python:3.12.10-slim

# Set the working directory in the container
ENV DESTINATION_DIR=/aidojo
ENV DESTINATION_DIR=/netsecgame


# Install system dependencies
Expand All @@ -20,13 +20,13 @@ WORKDIR ${DESTINATION_DIR}

# Install any necessary Python dependencies
# If a requirements.txt file is in the repository
RUN if [ -f pyproject.toml ]; then pip install . ; fi
RUN if [ -f pyproject.toml ]; then pip install .[server] ; fi

# Expose the port the coordinator will run on
EXPOSE 9000

# Run the Python script when the container launches (with default arguments --task_config=netsecenv_conf.yaml --game_port=9000 --game_host=0.0.0.0)
ENTRYPOINT ["python3", "-m", "AIDojoCoordinator.worlds.NSEGameCoordinator", "--task_config=netsecenv_conf.yaml", "--game_port=9000", "--game_host=0.0.0.0"]
ENTRYPOINT ["python3", "-m", "netsecgame.game.worlds.NetSecGame", "--task_config=netsecenv_conf.yaml", "--game_port=9000", "--game_host=0.0.0.0"]

# Default command arguments (can be overridden at runtime)
CMD ["--debug_level=INFO"]
6 changes: 6 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
exclude netsecgame/game/worlds/CYSTCoordinator.py
exclude netsecgame/game/worlds/RealWorldNetSecGame.py
exclude netsecgame/utils/trajectory_analysis.py
exclude netsecgame/utils/actions_parser.py
exclude netsecgame/utils/gamaplay_graphs.py
exclude netsecgame/utils/log_parser.py
Loading