|
|
|
@ -93,7 +93,7 @@ class GamesService
|
|
|
|
|
"SELECT
|
|
|
|
|
b.actual_output, b.out_put, b.result, a.is_public, a.input, a.output
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT position, input, output, challenge_id, is_public FROM test_sets where challenge_id=6000) a
|
|
|
|
|
(SELECT position, input, output, challenge_id, is_public FROM test_sets where challenge_id=#{game_challenge.id}) a
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
(SELECT
|
|
|
|
|
result, test_set_position, g.challenge_id, o.actual_output, o.out_put
|
|
|
|
|