Issue:
The docstring for reset(..., visible=None) states: "Defaults to True" for the visible parameter. In the actual function signature, visible defaults to None, and the code only sets task.visible = visible if visible is not None.
This means the effective default is to keep the previous value, not always set to True.
Suggested fix:
Clarify the docstring to state that if visible is not provided, the visibility is unchanged (not always reset to True), or change the default to visible=True in the function signature if the intended behavior is to always reset to visible.