From c9752f0dc5e94a7dd4f0b58004e03096648888d1 Mon Sep 17 00:00:00 2001 From: Marek Wolan Date: Fri, 3 Jan 2025 11:22:17 +0000 Subject: [PATCH] #2913 - minor comment cleanup --- docs/source/how_to_guides/extensible_rewards.rst | 2 +- src/primaite/game/agent/rewards.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/how_to_guides/extensible_rewards.rst b/docs/source/how_to_guides/extensible_rewards.rst index 4dd24110..a01b9d8f 100644 --- a/docs/source/how_to_guides/extensible_rewards.rst +++ b/docs/source/how_to_guides/extensible_rewards.rst @@ -1,6 +1,6 @@ .. only:: comment - © Crown-owned copyright 2024, Defence Science and Technology Laboratory UK + © Crown-owned copyright 2025, Defence Science and Technology Laboratory UK .. _about: diff --git a/src/primaite/game/agent/rewards.py b/src/primaite/game/agent/rewards.py index c5850d6e..a4c7c546 100644 --- a/src/primaite/game/agent/rewards.py +++ b/src/primaite/game/agent/rewards.py @@ -223,7 +223,7 @@ class WebpageUnavailablePenalty(AbstractReward, identifier="WEBPAGE_UNAVAILABLE_ """Penalises the agent when the web browser fails to fetch a webpage.""" config: "WebpageUnavailablePenalty.ConfigSchema" - reward: float = 0.0 # XXX: Private attribute? + reward: float = 0.0 location_in_state: List[str] = [""] # Calculate in __init__()? class ConfigSchema(AbstractReward.ConfigSchema):