#!/usr/bin/env ruby
require File.expand_path('../../../config/environment', __FILE__)

battle = Swars::Battle.last
battle.heavy_parsed_info.container
membership = battle.memberships.first
membership.sec_list             # => [1, 4, 3, 2, 1, 1, 1, 3, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 2, 1, 3]

tp battle.heavy_parsed_info.container.hand_logs.collect(&:single_clock)
# >> |------------------|
# >> | (00:01/00:00:01) |
# >> | (00:00/00:00:00) |
# >> | (00:04/00:00:05) |
# >> | (00:01/00:00:01) |
# >> | (00:03/00:00:08) |
# >> | (00:01/00:00:02) |
# >> | (00:02/00:00:10) |
# >> | (00:01/00:00:03) |
# >> | (00:01/00:00:11) |
# >> | (00:00/00:00:03) |
# >> | (00:01/00:00:12) |
# >> | (00:02/00:00:05) |
# >> | (00:01/00:00:13) |
# >> | (00:01/00:00:06) |
# >> | (00:03/00:00:16) |
# >> | (00:00/00:00:06) |
# >> | (00:01/00:00:17) |
# >> | (00:01/00:00:07) |
# >> | (00:02/00:00:19) |
# >> | (00:00/00:00:07) |
# >> | (00:01/00:00:20) |
# >> | (00:01/00:00:08) |
# >> | (00:01/00:00:21) |
# >> | (00:01/00:00:09) |
# >> | (00:01/00:00:22) |
# >> | (00:01/00:00:10) |
# >> | (00:01/00:00:23) |
# >> | (00:00/00:00:10) |
# >> | (00:01/00:00:24) |
# >> | (00:01/00:00:11) |
# >> | (00:01/00:00:25) |
# >> | (00:00/00:00:11) |
# >> | (00:01/00:00:26) |
# >> | (00:01/00:00:12) |
# >> | (00:01/00:00:27) |
# >> | (00:02/00:00:14) |
# >> | (00:01/00:00:28) |
# >> | (00:01/00:00:15) |
# >> | (00:01/00:00:29) |
# >> | (00:00/00:00:15) |
# >> | (00:01/00:00:30) |
# >> | (00:02/00:00:17) |
# >> | (00:01/00:00:31) |
# >> | (00:02/00:00:19) |
# >> | (00:01/00:00:32) |
# >> | (00:02/00:00:21) |
# >> | (00:01/00:00:33) |
# >> | (00:00/00:00:21) |
# >> | (00:01/00:00:34) |
# >> | (00:01/00:00:22) |
# >> | (00:01/00:00:35) |
# >> | (00:01/00:00:23) |
# >> | (00:01/00:00:36) |
# >> | (00:01/00:00:24) |
# >> | (00:01/00:00:37) |
# >> | (00:00/00:00:24) |
# >> | (00:01/00:00:38) |
# >> | (00:01/00:00:25) |
# >> | (00:01/00:00:39) |
# >> | (00:00/00:00:25) |
# >> | (00:00/00:00:39) |
# >> | (00:01/00:00:26) |
# >> | (00:01/00:00:40) |
# >> | (00:00/00:00:26) |
# >> | (00:01/00:00:41) |
# >> | (00:01/00:00:27) |
# >> | (00:00/00:00:41) |
# >> | (00:00/00:00:27) |
# >> | (00:01/00:00:42) |
# >> | (00:01/00:00:28) |
# >> | (00:01/00:00:43) |
# >> | (00:00/00:00:28) |
# >> | (00:01/00:00:44) |
# >> | (00:02/00:00:30) |
# >> | (00:01/00:00:45) |
# >> | (00:00/00:00:30) |
# >> | (00:00/00:00:45) |
# >> | (00:02/00:00:32) |
# >> | (00:01/00:00:46) |
# >> | (00:01/00:00:33) |
# >> | (00:02/00:00:48) |
# >> | (00:00/00:00:33) |
# >> | (00:01/00:00:49) |
# >> | (00:02/00:00:35) |
# >> | (00:03/00:00:52) |
# >> | (00:01/00:00:36) |
# >> |------------------|
