compute_result_schema is now safe by default