#2299: Correct possible mis-merge.

This commit is contained in:
Nick Todd
2024-04-30 10:39:33 +01:00
parent 9906ba20ae
commit 3d0ebe1aba

View File

@@ -639,7 +639,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"Now, the reward will eventually increase to 1.0, even after red agent attempts subsequent attacks." "Now, the reward will eventually increase to 0.9, even after red agent attempts subsequent attacks."
] ]
}, },
{ {
@@ -648,7 +648,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"for step in range(30):\n", "for step in range(40):\n",
" obs, reward, terminated, truncated, info = env.step(0) # do nothing\n", " obs, reward, terminated, truncated, info = env.step(0) # do nothing\n",
" print(f\"step: {env.game.step_counter}, Red action: {info['agent_actions']['data_manipulation_attacker'].action}, Blue reward:{reward:.2f}\" )" " print(f\"step: {env.game.step_counter}, Red action: {info['agent_actions']['data_manipulation_attacker'].action}, Blue reward:{reward:.2f}\" )"
] ]
@@ -686,7 +686,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.10.12" "version": "3.10.11"
} }
}, },
"nbformat": 4, "nbformat": 4,