Skip to content

Commit b7d5d11

Browse files
author
EnliteAI Bot
committed
RL-2211: Improve docstring for sub-step event
(Issue RL-2211 - improve skipping events in maze)
1 parent 9348cbf commit b7d5d11

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

maze/core/log_events/skipping_events.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ def flat_step(self, flat_step_is_skipped: bool):
2929
@define_step_stats(sum, input_name='sub_step_is_skipped', output_name='sum')
3030
def sub_step(self, substep_id: int, sub_step_is_skipped: bool):
3131
"""Event tracker to count the skipped sub steps.
32+
Note: substep_id is not used for the reduction of the stats but is dumped in the event file and might be
33+
helpful for future analysis and aggregation with other events.
34+
3235
:param substep_id: substep_id skipped.
3336
:param sub_step_is_skipped: Boolean that is true if the sub step is skipped
3437
"""

0 commit comments

Comments
 (0)