The problem is here in the T_hshear() function:
This code isn’t correct.
It passes the test in the notebook, but makes the grader crash when using its test case. Note that passing the tests in the notebook does not prove your code is perfect.
Hint: Where did the 0.5 come from?
I’ll submit a support ticket to have the unit test improved to catch this mistake.