A suggestion for this routine.
Ask if the DUT is active or passive?
If the device is passive and S21 is
available then...
Ask shall passivity be enforced?
After enforcement of passivity is checked, see
if the results pass a sanity check.
If the cal is not too bad, this may
shed a clue on where the issue lies.