getTestVisibility: Determine test visibility from test name.
Description
Internal helper function that extracts visibility setting from test names
based on Gradescope conventions.
Usage
getTestVisibility(test_name)
Value
A string: "visible", "hidden", "after_due_date", or "after_published"
Arguments
- test_name
the name of the test