Skip to content

Commit

Permalink
chore: Update notebook scripts and dependencies
Browse files Browse the repository at this point in the history
- Remove trailing whitespace in notebook scripts
- Update dependencies: prompt-toolkit, pip, wheel, progressbar2
- Refactor CyberBattleEnv class to use np_random consistently
- Remove networkx from createstubs.sh
- Update dependencies: networkx, pytest, setuptools, pyright, plotly
  • Loading branch information
William Blum committed Aug 6, 2024
1 parent 08009da commit 1a3af47
Show file tree
Hide file tree
Showing 9 changed files with 224,949 additions and 243,271 deletions.
314,996 changes: 157,505 additions & 157,491 deletions notebooks/chainnetwork-random.ipynb

Large diffs are not rendered by default.

18 changes: 15 additions & 3 deletions notebooks/dql_active_directory.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,32 @@
"import cyberbattle.agents.baseline.agent_dql as dqla\n",
"from cyberbattle.agents.baseline.agent_wrapper import ActionTrackingStateAugmentation, AgentWrapper, Verbosity\n",
"logging.basicConfig(stream=sys.stdout, level=logging.ERROR, format=\"%(levelname)s: %(message)s\")\n",
"%matplotlib inline "
"%matplotlib inline"
]
},
{
"cell_type": "code",
"execution_count": 78,
"metadata": {},
"metadata": {
"tags": [
"parameters"
]
},
"outputs": [],
"source": [
"ngyms = 9\n",
"gymids = [f\"ActiveDirectory-v{i}\" for i in range(0, ngyms)]\n",
"iteration_count = 1000"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"gymids = [f\"ActiveDirectory-v{i}\" for i in range(0, ngyms)]"
]
},
{
"cell_type": "code",
"execution_count": 79,
Expand Down
Loading

0 comments on commit 1a3af47

Please sign in to comment.