OSDN Git Service
beatles [Fri, 28 Nov 2008 10:56:05 +0000 (10:56 +0000)]
* [shogi-server]
- Added sample/*.sh for command line samples.
beatles [Wed, 26 Nov 2008 14:22:25 +0000 (14:22 +0000)]
Checked the status of the write thread before sending an "end" message.
beatles [Wed, 26 Nov 2008 14:22:02 +0000 (14:22 +0000)]
Shortened a debug message.
beatles [Wed, 26 Nov 2008 14:02:16 +0000 (14:02 +0000)]
Improved the test case.
beatles [Tue, 25 Nov 2008 14:50:43 +0000 (14:50 +0000)]
Failed to correctly check Floodgate game names due to the carelss change at the previous commit.
beatles [Tue, 25 Nov 2008 03:41:48 +0000 (03:41 +0000)]
Added a comment for --floodgate-history
beatles [Tue, 25 Nov 2008 03:41:47 +0000 (03:41 +0000)]
Fixed a typo
beatles [Tue, 25 Nov 2008 03:41:46 +0000 (03:41 +0000)]
Removed a redundant log message
beatles [Tue, 25 Nov 2008 03:41:46 +0000 (03:41 +0000)]
* Debugged History.
* Debugged the command line for History.
* log_info() is an alias to log_message().
beatles [Tue, 25 Nov 2008 03:41:44 +0000 (03:41 +0000)]
Improved log messages.
beatles [Fri, 7 Nov 2008 07:15:08 +0000 (07:15 +0000)]
Added a new command line to specify floodgate_history.yaml file.
beatles [Fri, 7 Nov 2008 07:15:03 +0000 (07:15 +0000)]
Implemented Swiss pairing.
beatles [Fri, 7 Nov 2008 07:15:00 +0000 (07:15 +0000)]
Forgot to add a bug number
beatles [Fri, 7 Nov 2008 07:14:51 +0000 (07:14 +0000)]
Debugged History
beatles [Fri, 7 Nov 2008 07:14:46 +0000 (07:14 +0000)]
Record Floodgate games' history
beatles [Sun, 26 Oct 2008 11:08:01 +0000 (11:08 +0000)]
* Changed white's line color back to dark-grean.
* Time is start from +- 3000 (max Y axis)
* Changed `read' api, which will be called by index.cgi
beatles [Sun, 19 Oct 2008 14:02:29 +0000 (14:02 +0000)]
Did some refactorings.
beatles [Sun, 19 Oct 2008 14:02:28 +0000 (14:02 +0000)]
Care about the byoyomi case where the consumed time should be zero.
beatles [Sun, 19 Oct 2008 11:42:35 +0000 (11:42 +0000)]
* [utils/eval_graph.rb]
- Display time control graphs as well.
Thanks to Nishimura-san for this idea.
beatles [Tue, 14 Oct 2008 11:48:49 +0000 (11:48 +0000)]
Use Thrift (RPC) instead of executing directly a command to generate image files.
beatles [Tue, 14 Oct 2008 11:48:48 +0000 (11:48 +0000)]
Initialize the random seed
beatles [Tue, 14 Oct 2008 11:48:46 +0000 (11:48 +0000)]
More verbose logging
beatles [Sun, 12 Oct 2008 04:10:25 +0000 (04:10 +0000)]
When a game draws, the server may crash. This issue has been fixed.
beatles [Wed, 8 Oct 2008 14:09:28 +0000 (14:09 +0000)]
Not have milliseconds logged.
beatles [Wed, 8 Oct 2008 13:54:27 +0000 (13:54 +0000)]
* [shogi-server]
- Ruby 1.8.7 (or later) must be used. Ruby 1.8.6 is not supported.
- Daemon mode is available.
- shogi_server/piece_ky.rb is again merged with
shogi_server/piece.rb, then has been removed.
- Added a test case, TC_usi.rb.
beatles [Wed, 8 Oct 2008 13:38:20 +0000 (13:38 +0000)]
* Added TC_usi.rb.
* Sorted by file name.
beatles [Wed, 8 Oct 2008 13:38:19 +0000 (13:38 +0000)]
Initial file
beatles [Wed, 8 Oct 2008 13:38:19 +0000 (13:38 +0000)]
Removed deprecated test cases.
beatles [Wed, 8 Oct 2008 13:38:18 +0000 (13:38 +0000)]
Fixed a bug. League::save has been deprecated.
beatles [Wed, 8 Oct 2008 13:38:18 +0000 (13:38 +0000)]
Back to Marshal for deep copy.
* previous implementatoin was wrong.
* No longer need to avoid Marshal since only the files related with Floodgate
are reloaded.
beatles [Tue, 7 Oct 2008 13:11:51 +0000 (13:11 +0000)]
Debugged the daemon mode
beatles [Tue, 7 Oct 2008 13:09:10 +0000 (13:09 +0000)]
players.yaml is now read only. The server no longer writes last_game_win data to it. It will be written in another file (in future).
beatles [Mon, 6 Oct 2008 03:51:36 +0000 (03:51 +0000)]
Debugged Floodgate
beatles [Sun, 5 Oct 2008 15:05:13 +0000 (15:05 +0000)]
Debugging Floodgate
beatles [Sun, 5 Oct 2008 09:19:20 +0000 (09:19 +0000)]
Refactored shogi_server/pairing.rb
beatles [Sun, 5 Oct 2008 09:19:19 +0000 (09:19 +0000)]
Applied Kaneko's patch
beatles [Thu, 2 Oct 2008 15:05:26 +0000 (15:05 +0000)]
* No loger use Dependencies.rb in Rails.
* Debugged write thread termination.
beatles [Thu, 2 Oct 2008 04:04:11 +0000 (04:04 +0000)]
Refactored.
beatles [Wed, 1 Oct 2008 15:03:50 +0000 (15:03 +0000)]
Under debugging
beatles [Fri, 15 Aug 2008 11:09:23 +0000 (11:09 +0000)]
Added Usi implementation.
beatles [Sat, 9 Aug 2008 15:31:56 +0000 (15:31 +0000)]
My works so far
beatles [Sat, 9 Aug 2008 15:31:55 +0000 (15:31 +0000)]
Added a new accessor: Board#teban
beatles [Sat, 9 Aug 2008 15:31:54 +0000 (15:31 +0000)]
File.expand_path should be peformed before File.directory? check
beatles [Mon, 30 Jun 2008 15:18:46 +0000 (15:18 +0000)]
$logger may or may not be a file
beatles [Mon, 30 Jun 2008 15:09:47 +0000 (15:09 +0000)]
* [shogi-server]
- Added a new option --player-log-dir, which allows users to log
messages that are received or sent to the wire.
beatles [Sat, 28 Jun 2008 12:56:32 +0000 (12:56 +0000)]
- If a player, including a monitor, stuck at the time of sending
messages to the wire, which means that the giant lock was locked,
it might have prevented other players from processing until
timeout occurred. This issue has been fixed. (Closes #12555)
beatles [Sat, 28 Jun 2008 07:17:16 +0000 (07:17 +0000)]
Forgot to add the case number
beatles [Sat, 28 Jun 2008 07:15:42 +0000 (07:15 +0000)]
* [shogi-server]
- A rating comment line is now written before the first move in a
record file instead of after the last move, which allows other
applications watching a game to recognize players in the middle
of the game.
beatles [Sat, 28 Jun 2008 02:05:09 +0000 (02:05 +0000)]
Do not raise in the case of invalid arguments
beatles [Sat, 28 Jun 2008 01:56:29 +0000 (01:56 +0000)]
* [shogi-server]
- Pairing players might not have shuffled players because of
poor shuffling algorithm. This issue has been fixed.
(Closes: #12661)
beatles [Wed, 25 Jun 2008 15:27:11 +0000 (15:27 +0000)]
[players_graph.rb]
- Check invalid arguments. (Closes: #12856)
beatles [Mon, 23 Jun 2008 14:34:51 +0000 (14:34 +0000)]
regular expressoin is available for matching player name
beatles [Mon, 23 Jun 2008 14:19:47 +0000 (14:19 +0000)]
Added a new option: --fixed-rate and --fixed-rate-player whose rate always results in that rate.
beatles [Fri, 6 Jun 2008 16:24:25 +0000 (16:24 +0000)]
Applied r247 changes for the test cases (spliting hte file).
Not yet completed. I will keep on woring.
beatles [Fri, 6 Jun 2008 15:28:11 +0000 (15:28 +0000)]
[shogi-server]
- The source has been splited to multiple sub files.
- The program now depends on rubygems and activesupport.
- The program can reload the source files on the flight, by
sending a HUP signal to the server.
- The server log will be rotated daily.
beatles [Sun, 18 May 2008 15:05:29 +0000 (15:05 +0000)]
* [shogi-server]
- Last game results (win or lose) of x1 players were not
available on the next game. This issue has been fixed.
Thanks to Tomoyuki Kaneko for debugging.
- For draw games, "'rating" line in a .csa file was
wrong (meaningless). This issue has been fixed.
- Factored out GameResult classes
beatles [Sun, 18 May 2008 15:05:28 +0000 (15:05 +0000)]
Followed the directory tree change caused by the repository's move from CVS to Subversion
beatles [Sun, 18 May 2008 09:11:13 +0000 (09:11 +0000)]
Set svn properties $ svn propset svn:keywords 'Id Author Date Rev'
beatles [Fri, 16 May 2008 14:43:13 +0000 (14:43 +0000)]
Removed the test file
beatles [Fri, 16 May 2008 14:41:34 +0000 (14:41 +0000)]
The utility programs have been moved under 'shogi-server'
beatles [Fri, 16 May 2008 14:40:28 +0000 (14:40 +0000)]
new directory
beatles [Fri, 16 May 2008 13:06:45 +0000 (13:06 +0000)]
Test commit to see if a commit mail is sent.
beatles [Fri, 16 May 2008 12:51:06 +0000 (12:51 +0000)]
Test commit to see if a commit mail is sent.
beatles [Fri, 16 May 2008 12:22:32 +0000 (12:22 +0000)]
* [news]
- The repository has been converted from CVS to Subversion.
beatles [Fri, 16 May 2008 12:20:14 +0000 (12:20 +0000)]
Changed the directory name
beatles [Fri, 16 May 2008 12:19:56 +0000 (12:19 +0000)]
Changing the directory name
beatles [Fri, 16 May 2008 12:14:36 +0000 (12:14 +0000)]
The 'test' directory has been moved under 'shogi-server'
beatles [Wed, 14 May 2008 01:52:45 +0000 (01:52 +0000)]
- Give default values to BasicPlayer, which fixed undefined
method error in Pairing.
beatles [Wed, 14 May 2008 01:22:33 +0000 (01:22 +0000)]
* [shogi-server]
- Floodgate's thread could cause an error when players.yaml was
cleared by another program (mk_rate). This issue has been
fixed.
beatles [Sun, 11 May 2008 04:01:21 +0000 (04:01 +0000)]
Use a system method to encode URLs
tkaneko [Sat, 10 May 2008 14:05:07 +0000 (14:05 +0000)]
do not use delete_least_rate_player, since it seemed cause an error "undefined method <=> for nil:NilClass" in paring in floodgatemode around 2008-05-10 22:30
tkaneko [Sat, 10 May 2008 14:02:18 +0000 (14:02 +0000)]
show backtrace in case of exception, as suggested by yoshiki
tkaneko [Sat, 10 May 2008 14:01:18 +0000 (14:01 +0000)]
add trip in hyper-links to show-player.cgi, as well as the name of programs
beatles [Fri, 9 May 2008 18:20:51 +0000 (18:20 +0000)]
- The server crashed by an undefined method error.
This issue has been fixed.
beatles [Fri, 9 May 2008 17:59:42 +0000 (17:59 +0000)]
* [shogi-server]
- The server could not recognize uchifuzume as an illegal move.
This bug has been fixed.
beatles [Mon, 5 May 2008 12:37:09 +0000 (12:37 +0000)]
* [shogi-server]
- .csa files will be located in a sub directory such as
"2008/05/05/*.csa". Thease days, we have many games in a day.
This change will help users browse a file list.
beatles [Sat, 3 May 2008 07:25:58 +0000 (07:25 +0000)]
more friendly color and display of last modified time
beatles [Sat, 3 May 2008 07:11:55 +0000 (07:11 +0000)]
Show players who have accessed in the last 30 minutes with
different colors.
beatles [Tue, 22 Apr 2008 04:05:25 +0000 (04:05 +0000)]
When YSS was not rated on the wdoor mode, wrong rate24 scores
were displayed. This issue has been fixed. Now YSS absence
results in "N/A".
beatles [Mon, 21 Apr 2008 10:17:32 +0000 (10:17 +0000)]
The half-life period is now configurable.
ex $ ./mk_rate --half-life 14 --half-life-ignore 7 <records>
beatles [Sat, 12 Apr 2008 04:20:21 +0000 (04:20 +0000)]
Renamed variables (@id) since they caused Ruby's warning.
beatles [Fri, 11 Apr 2008 03:59:45 +0000 (03:59 +0000)]
Improved a way to handle diferred moves (2008-03-24's change),
based on Tomoyuki Kaneko's patch.
beatles [Tue, 1 Apr 2008 14:15:23 +0000 (14:15 +0000)]
* [shogi-server]
- An incorrect LOGIN crashed the server. This issue has been
fixed.
beatles [Mon, 24 Mar 2008 14:40:53 +0000 (14:40 +0000)]
* [shogi-server]
- Converting characters for comments in moves caused an error. This
issue has been fixed.
- If a player moves in the opponent's turn, it is illegal. But the
current CSA protocol does not clearly define a way to tell so to
the players. This shogi-server internally keeps such a move in a
buffer and replay it when the player of the move gets his/her
turn.
beatles [Sun, 16 Mar 2008 07:38:48 +0000 (07:38 +0000)]
Fixed wrong determination of sennichite.
beatles [Mon, 10 Mar 2008 15:00:29 +0000 (15:00 +0000)]
utils/players-graph.rb
tkaneko [Sun, 9 Mar 2008 11:49:54 +0000 (11:49 +0000)]
set yss's rating 2300
tkaneko [Sun, 9 Mar 2008 11:49:21 +0000 (11:49 +0000)]
use linear regression to solve system. this is a workaround for singular matrix.
tkaneko [Sun, 9 Mar 2008 11:20:56 +0000 (11:20 +0000)]
use Householder transformation to solve linear systems, as suggested by daigo
tkaneko [Sun, 9 Mar 2008 11:19:28 +0000 (11:19 +0000)]
enabled ExcludeSacrifice by default
beatles [Sat, 8 Mar 2008 01:52:41 +0000 (01:52 +0000)]
* [mk_html]
- Added an option --wdoor. In this mode, a rate expected at Shogi
Club 24 is calculated from YSS's rating (he is 2400 now).
beatles [Tue, 4 Mar 2008 15:09:56 +0000 (15:09 +0000)]
If the computed ratings do not stabilize, then mk_rate aborts.
$ ./mk_rate dir && ./mk_rate dir > players.yaml
can avoid rewriting the invalid ratings to the file.
beatles [Tue, 26 Feb 2008 15:32:27 +0000 (15:32 +0000)]
Refactoring
beatles [Tue, 26 Feb 2008 14:12:38 +0000 (14:12 +0000)]
Refactoring
beatles [Fri, 22 Feb 2008 15:37:41 +0000 (15:37 +0000)]
Comments are converted to EUC-JP and then written in a log.
beatles [Thu, 21 Feb 2008 14:14:52 +0000 (14:14 +0000)]
Released players-graph.rb
beatles [Mon, 18 Feb 2008 03:35:11 +0000 (03:35 +0000)]
For SwissPairing, the odd winners include a newbie who is not rated yet, a player to be removed is selected at random instead of the least-rated palyer.
beatles [Sun, 17 Feb 2008 11:19:00 +0000 (11:19 +0000)]
When running with the debug mode, Thread.abort_on_exception is true.
beatles [Sun, 17 Feb 2008 11:03:46 +0000 (11:03 +0000)]
When there are odd players, RandomPairing will delete a player at random.
beatles [Sun, 17 Feb 2008 10:50:40 +0000 (10:50 +0000)]
An illegal teban specified for Floodgate login could crash the server.