adds compatibility for qtype_onlinejudge questions