Merge branch 'dev_aliyun' of http://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun
commit
9116887784
@ -1 +1,10 @@
|
|||||||
json.partial! 'games/testset_list'
|
json.test_sets @qurey_test_sets do |test_set|
|
||||||
|
json.is_public test_set.is_public
|
||||||
|
json.result test_set.try(:result)
|
||||||
|
if test_set.is_public || @allowed_hidden_testset
|
||||||
|
json.input test_set.input
|
||||||
|
json.output test_set.output
|
||||||
|
json.actual_output evaluate_actual_output(test_set)
|
||||||
|
end
|
||||||
|
json.compile_success test_set.try(:compile_success)
|
||||||
|
end
|
Loading…
Reference in new issue