Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Correct Battleship Challenge (#5450)

merwanehamadi8252a2fa8fee
diff --git a/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_in/abstract_class.py b/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_in/abstract_class.py
index 1212c07a67..dec3bcb47f 100644
--- a/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_in/abstract_class.py
+++ b/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_in/abstract_class.py
@@ -100,7 +100,7 @@ class AbstractBattleship(ABC):
pass
@abstractmethod
- def create_game(self, game_id: str) -> None:
+ def create_game(self) -> None:
"""
Create a new game.
"""
diff --git a/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_out/abstract_class.py b/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_out/abstract_class.py
index 1212c07a67..dec3bcb47f 100644
--- a/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_out/abstract_class.py
+++ b/benchmark/agbenchmark/challenges/verticals/code/6_battleship/artifacts_out/abstract_class.py
@@ -100,7 +100,7 @@ class AbstractBattleship(ABC):
pass
@abstractmethod
- def create_game(self, game_id: str) -> None:
+ def create_game(self) -> None:
"""
Create a new game.
"""