We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2370bb commit 0aab955Copy full SHA for 0aab955
services/app/apps/codebattle/lib/codebattle/tournament/strategy/swiss.ex
@@ -144,7 +144,7 @@ defmodule Codebattle.Tournament.Swiss do
144
{player, [candidate | rest_players], _played_pair_ids} ->
145
{
146
[player, candidate],
147
- [player.id, candidate.id] |> Enum.map(& &1.id) |> Enum.sort(),
+ Enum.sort([player.id, candidate.id]),
148
rest_players
149
}
150
end
0 commit comments