• R/O
  • HTTP
  • SSH
  • HTTPS

shogi-server: コミット

shogi-server source


コミットメタ情報

リビジョンa9fd6e67bbc8dbd9316ef904515d91d11765f370 (tree)
日時2017-09-02 21:55:25
作者Daigo Moriwaki <daigo@debi...>
コミッターDaigo Moriwaki

ログメッセージ

Modify mk_rate to follow the change in mk_game_results

変更サマリ

差分

--- a/changelog
+++ b/changelog
@@ -5,7 +5,7 @@
55 "%SENNICHITE" are now recorded in CSA files when a game ends for
66 timed up or sennichite respectively.
77 (Closes #37490)
8- * [shogi-server] [mk_game_results] Change schema to add number of
8+ * [shogi-server, mk_game_results, mk_rate] Change schema to add number of
99 moves The format of an internal game result summary file, '00LIST',
1010 has been changed to add number of moves of a game, which would be of
1111 help for a script calculating rating scores.
--- a/mk_rate
+++ b/mk_rate
@@ -672,7 +672,7 @@ def parse(line)
672672 end
673673 $history.add line
674674
675- time, state, black_mark, black_id, white_id, white_mark, file = line.split("\t")
675+ time, state, black_mark, black_id, white_id, white_mark, file, moves = line.split("\t")
676676 unless time && state && black_mark && black_id &&
677677 white_id && white_mark && file
678678 $stderr.puts "Failed to parse the line : #{line}"
旧リポジトリブラウザで表示