Repository: IBM/nl2flow (language: python)

Issue:
Documentation / Wiki
+ [x] [Home](https://github.com/IBM/nl2flow/wiki)
+ [x] [01. What is Planning?](https://github.com/IBM/nl2flow/wiki/01.-What-is-Planning%3F)
+ [ ] 02. Why planning?
+ [ ] 03. Examples of NL2Flow Domain
+ [x] [04. The NL2Flow API](https://github.com/IBM/nl2flow/wiki/04.-The-NL2Flow-API)
+ [x] [05. Operators](https://github.com/IBM/nl2flow/wiki/05.-Operators)
+ [x] [06. Slots](https://github.com/IBM/nl2flow/wiki/06.-Slots)
+ [ ] 07. Mapping
+ [ ] 08. Type Hierarchy
+ [ ] 09. Memory
+ [x] [10. Constraints](https://github.com/IBM/nl2flow/wiki/10.-Constraints)
+ [x] [11. Preferences](https://github.com/IBM/nl2flow/wiki/11.-Preferences)
+ [x] [12. Goals](https://github.com/IBM/nl2flow/wiki/12.-Goals)
+ [x] [13. Variable LifeCycle](https://github.com/IBM/nl2flow/wiki/13.-Variable-LifeCycle)
+ [x] [14. Validator API](https://github.com/IBM/nl2flow/wiki/14.-Validator-API)
+ [ ] 15. Intermediate Representations: Sketches



Discussion / hints:

Fix patch:
diff --git a/pyproject.toml b/pyproject.toml
index d3c9e05..b730775 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [project]
 name = "nl2flow"
-version = "0.0.1"
+version = "0.0.0"
 description = "NL2Flow: A PDDL interface to flow construction"
 readme = "README.md"
 requires-python = ">=3.8"


Test patch:
diff --git a/tests/goals/test_goals_basic.py b/tests/goals/test_goals_basic.py
index 834a8aa..fda847e 100644
--- a/tests/goals/test_goals_basic.py
+++ b/tests/goals/test_goals_basic.py
@@ -26,7 +26,7 @@ def plan_with_type_of_single_instance_same_as_direct_instance(
     assert poi.plan[1].name.startswith("Agent"), "... followed by the Agent."
 
 
-def seperated_ands_should_be_same_as_combined_ands(plans: PlannerResponse) -> None:
+def separated_ands_should_be_same_as_combined_ands(plans: PlannerResponse) -> None:
     assert plans.list_of_plans, "There should be plans."
 
     poi = plans.list_of_plans[0]
@@ -45,6 +45,8 @@ def setup_method(self) -> None:
             new_agent = Operator(f"Agent {item}")
             item = item.lower()
 
+            self.flow.add(MemoryItem(item_id=item, item_type="Mappable"))
+
             new_agent.add_input(
                 SignatureItem(
                     parameters=[Parameter(item_id=item, item_type="Mappable")],
@@ -59,7 +61,6 @@ def setup_method(self) -> None:
             )
 
             self.flow.add(new_agent)
-            self.flow.add(MemoryItem(item_id=item, item_type="Mappable"))
 
     def test_goal_with_operator(self) -> None:
         target_agent_name = "Agent B"
@@ -82,7 +83,7 @@ def test_and_goals_in_same_goal_item(self) -> None:
             self.flow.add(goal)
 
         plans = self.get_plan()
-        seperated_ands_should_be_same_as_combined_ands(plans)
+        separated_ands_should_be_same_as_combined_ands(plans)
 
     def test_and_goals_spread_across_goal_items(self) -> None:
         target_agents = ["Agent C", "Agent B"]
@@ -90,7 +91,7 @@ def test_and_goals_spread_across_goal_items(self) -> None:
         self.flow.add([goal])
 
         plans = self.get_plan()
-        seperated_ands_should_be_same_as_combined_ands(plans)
+        separated_ands_should_be_same_as_combined_ands(plans)
 
     def test_goal_with_object_used(self) -> None:
         self.flow.add(MemoryItem(item_id="id123", item_type="Mappable", item_state=MemoryState.KNOWN))
diff --git a/tests/history/test_history_progression.py b/tests/history/test_history_progression.py
index 5af6b3c..324a7f1 100644
--- a/tests/history/test_history_progression.py
+++ b/tests/history/test_history_progression.py
@@ -60,7 +60,7 @@ def test_history_progress(self) -> None:
         plans = self.get_plan()
         poi = plans.list_of_plans[0]
         assert len(poi.plan) == 1, "There should be 1 step plan."
-        assert poi.plan[0].name == "Fix Errors", "First and (orignally final) step is the goal action."
+        assert poi.plan[0].name == "Fix Errors", "First and (originally final) step is the goal action."
 
     def test_history_slot_ban(self) -> None:
         goal = GoalItems(goals=GoalItem(goal_name="Fix Errors"))
diff --git a/tests/retry/test_retry.py b/tests/retry/test_retry.py
index da06ed6..7fb8b99 100644
--- a/tests/retry/test_retry.py
+++ b/tests/retry/test_retry.py
@@ -119,7 +119,7 @@ def test_retry_with_instance_blocked(self) -> None:
             len(poi.plan) == 3
             and poi.plan[0].name == BasicOperations.SLOT_FILLER.value
             and poi.plan[0].inputs[0].startswith("new_object")
-        ), "3 step plan with a new spwaned object."
+        ), "3 step plan with a new spawned object."
 
         self.flow.add(MemoryItem(item_id="id123", item_type="shareable", item_state=MemoryState.KNOWN))