Given those are exported bindings, I’m fairly sure the expectation is that the student defines them. Perhaps that can be made clearer with a comment in the starting sub.
Update: I defined ErrInvalidBase and the linter said that ErrInvalidBase is not an expression. I went and looked where that error was (cases_test.go), and ErrInvalidBase was only used as an expression with a variable being assigned that value. From the structure of that file, I’m guessing that the undefined variables are meant to store a more complicated expression that gets compared to the output of the student’s program.