You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@burr.apache.org by ah...@apache.org on 2026/05/28 08:33:19 UTC

(burr) branch main updated: misc: fix typos in py and tsx files (#623)

This is an automated email from the ASF dual-hosted git repository.

andreahlert pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/burr.git


The following commit(s) were added to refs/heads/main by this push:
     new edabb86f misc: fix typos in py and tsx files (#623)
edabb86f is described below

commit edabb86f85a97c31d6f76e112818b56932921a5b
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Thu May 28 18:33:14 2026 +1000

    misc: fix typos in py and tsx files (#623)
    
    General spelling clean up
---
 telemetry/ui/src/components/routes/app/StepList.tsx |  2 +-
 tests/core/test_action.py                           |  2 +-
 tests/core/test_application.py                      | 14 +++++++-------
 tests/test_end_to_end.py                            |  4 ++--
 tests/tracking/test_local_tracking_client.py        |  2 +-
 5 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/telemetry/ui/src/components/routes/app/StepList.tsx b/telemetry/ui/src/components/routes/app/StepList.tsx
index 5f0d197e..bd97d2c2 100644
--- a/telemetry/ui/src/components/routes/app/StepList.tsx
+++ b/telemetry/ui/src/components/routes/app/StepList.tsx
@@ -444,7 +444,7 @@ const SelfLoadingSubApplicationContainer = (props: {
       minimized={props.minimized}
       projectId={props.projectId}
       topToBottomChronological={props.topToBottomChronological}
-      displayAnnotations={false} // TODO -- get annotations to work propertly for sub-applications
+      displayAnnotations={false} // TODO -- get annotations to work properly for sub-applications
       traceExpandedActions={traceExpandedActions}
       setTraceExpandedActions={setTraceExpandedActions}
       linksExpandedActions={linksExpandedActions}
diff --git a/tests/core/test_action.py b/tests/core/test_action.py
index c58a2989..367ee58e 100644
--- a/tests/core/test_action.py
+++ b/tests/core/test_action.py
@@ -497,7 +497,7 @@ def test_function_based_action_with_defaults():
 
 
 def test_function_based_action_with_defaults_unbound():
-    # inputs can have defaults -- this tests that we treat them propertly
+    # inputs can have defaults -- this tests that we treat them properly
     @action(reads=["input_variable"], writes=["output_variable"])
     def my_action(
         state: State, unbound_input_1: int, unbound_input_2: int, unbound_default_input: int = 1000
diff --git a/tests/core/test_application.py b/tests/core/test_application.py
index f8dd5604..9313cefc 100644
--- a/tests/core/test_application.py
+++ b/tests/core/test_application.py
@@ -1066,7 +1066,7 @@ def test__run_multistep_streaming_action():
     result = None
     for result, state in generator:
         if last_result < 1:
-            # Otherwise you hit floating poit comparison problems
+            # Otherwise you hit floating point comparison problems
             assert result["count"] > last_result
         last_result = result["count"]
     assert result == {"count": 1}
@@ -1098,7 +1098,7 @@ def test__run_multistep_streaming_action_callbacks():
     result = None
     for result, state in generator:
         if last_result < 1:
-            # Otherwise you hit floating poit comparison problems
+            # Otherwise you hit floating point comparison problems
             assert result["count"] > last_result
         last_result = result["count"]
     assert result == {"count": 1}
@@ -1122,7 +1122,7 @@ async def test__run_multistep_streaming_action_async():
     result = None
     async for result, state in generator:
         if last_result < 1:
-            # Otherwise you hit floating poit comparison problems
+            # Otherwise you hit floating point comparison problems
             assert result["count"] > last_result
         last_result = result["count"]
     assert result == {"count": 1}
@@ -1153,7 +1153,7 @@ async def test__run_multistep_streaming_action_async_callbacks():
     result = None
     async for result, state in generator:
         if last_result < 1:
-            # Otherwise you hit floating poit comparison problems
+            # Otherwise you hit floating point comparison problems
             assert result["count"] > last_result
         last_result = result["count"]
     assert result == {"count": 1}
@@ -2129,7 +2129,7 @@ def test_iterate_with_inputs():
     )
     gen = app.iterate(
         halt_after=["result"], inputs={"additional_increment": 10}
-    )  # make it go quicly to the end
+    )  # make it go quickly to the end
     while True:
         try:
             action, result, state = next(gen)
@@ -2926,7 +2926,7 @@ def test_stream_result_halt_after_run_through_final_non_streaming():
     )
     action, streaming_container = app.stream_result(halt_after=["counter_final_non_streaming"])
     results = list(streaming_container)
-    assert len(results) == 0  # nothing to steram
+    assert len(results) == 0  # nothing to stream
     result, state = streaming_container.get()
     assert result["count"] == state["count"] == 11
     assert len(action_tracker.pre_called) == 11
@@ -3020,7 +3020,7 @@ def test_stream_result_halt_before():
     )
     action, streaming_container = app.stream_result(halt_after=[], halt_before=["counter_final"])
     results = list(streaming_container)
-    assert len(results) == 0  # nothing to steram
+    assert len(results) == 0  # nothing to stream
     result, state = streaming_container.get()
     assert action.name == "counter_final"  # halt before this one
     assert result is None
diff --git a/tests/test_end_to_end.py b/tests/test_end_to_end.py
index a73dbb3e..e5c1fa9b 100644
--- a/tests/test_end_to_end.py
+++ b/tests/test_end_to_end.py
@@ -104,7 +104,7 @@ def test_end_to_end_parallel_collatz_many_unreliable_tasks(tmpdir):
 
     MIN_NUMBER = 80
     MAX_NUMBER = 100
-    FAILURE_ODDS = 0.05  # 1 in twenty chance of faiulre, will be hit but not all the time
+    FAILURE_ODDS = 0.05  # 1 in twenty chance of failure, will be hit but not all the time
 
     seen = set()
 
@@ -237,7 +237,7 @@ async def test_end_to_end_parallel_collatz_many_unreliable_tasks_async(tmpdir):
 
     MIN_NUMBER = 80
     MAX_NUMBER = 100
-    FAILURE_ODDS = 0.05  # 1 in twenty chance of faiulre, will be hit but not all the time
+    FAILURE_ODDS = 0.05  # 1 in twenty chance of failure, will be hit but not all the time
 
     seen = set()
 
diff --git a/tests/tracking/test_local_tracking_client.py b/tests/tracking/test_local_tracking_client.py
index 6fe45543..6574ff88 100644
--- a/tests/tracking/test_local_tracking_client.py
+++ b/tests/tracking/test_local_tracking_client.py
@@ -310,7 +310,7 @@ def test_fork_children_have_correct_partition_key(tmpdir):
 
 
 def test_multi_fork_tracking_client(tmpdir):
-    """This is more of an end-to-end test. We shoudl probably break it out
+    """This is more of an end-to-end test. We should probably break it out
     into smaller tests but the local tracking client being used as a persister is
     a bit of a complex case, and we don't want to get lost in the details.
     """