Code Monkey home page Code Monkey logo

tourney's Introduction

andrewbackes

Personal Website

tourney's People

Contributors

andrewbackes avatar d-sparks avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tourney's Issues

After 8 book moves, the first move to the engine is "movestogo 40"

[09/23/2015 09:31:37.200][Dirty-Bit issue8b4][<-]uci
[09/23/2015 09:31:37.597][Dirty-Bit issue8b4][->]Command? (q to quit, h for help): id name DirtyBit v0.39.7 (issue 8b dev)
[09/23/2015 09:31:37.597][Dirty-Bit issue8b4][->]id author Andrew Backes
[09/23/2015 09:31:37.597][Dirty-Bit issue8b4][->]uciok
[09/23/2015 09:31:37.597][Dirty-Bit issue8b4][<-]isready
[09/23/2015 09:31:37.597][Dirty-Bit issue8b4][->]readyok
[09/23/2015 09:31:37.611][Dirty-Bit issue8][<-]uci
[09/23/2015 09:31:37.957][Dirty-Bit issue8][->]Command? (q to quit, h for help): id name DirtyBit v0.39.5 issue8
[09/23/2015 09:31:37.957][Dirty-Bit issue8][->]id author Andrew Backes
[09/23/2015 09:31:37.957][Dirty-Bit issue8][->]uciok
[09/23/2015 09:31:37.957][Dirty-Bit issue8][<-]isready
[09/23/2015 09:31:37.957][Dirty-Bit issue8][->]readyok
[09/23/2015 09:31:37.957][Dirty-Bit issue8b4][<-]ucinewgame
[09/23/2015 09:31:37.957][Dirty-Bit issue8][<-]ucinewgame
[09/23/2015 09:31:37.957][Dirty-Bit issue8b4][<-]position startpos moves e2e4 c7c5 g1f3 d7d6 d2d4 c5d4 f3d4 g8f6 b1c3 a7a6 c1g5 e7e6 f2f4 d8c7 g5f6 g7f6
[09/23/2015 09:31:37.957][Dirty-Bit issue8b4][<-]go wtime 10000 btime 10000 movestogo 40

[GUI] Game dashboard improvements.

Features to add:
-See the game clocks.
-Add what players are playing as which colors.
-Should be able to know who wins.
-From the dashboard, you should be able to select what game you want to look at without having to go back to the game list. "next game" and "previous game" buttons.
-Wide view for graphs

  • Show pieces off the board.
  • piece value scores (maybe as a curve along the evaluation bar graph).
    -Time remaining for each ply.
    -Full ply data should be ajax'ed in when you click on a ply.

Engines transferred to workers sometimes crash because they require extra files.

Example:

[08/02/2015 16:41:43.256][Resp019][<-]xboard
protover 2
[08/02/2015 16:41:43.258][Resp019][->]#Initializing board
[08/02/2015 16:41:43.258][Resp019][->]#Initializing tables ...
[08/02/2015 16:41:43.260][Resp019][->]#Tables ready.
[08/02/2015 16:41:43.260][Resp019][->]Loading data from resp.ini ...
[08/02/2015 16:41:43.260][Resp019][->]ERROR IN resp.ini
[08/02/2015 16:41:43.260][Resp019][->]COULDN'T READ Directories.Fen_Directory - USING DEFAULT
[08/02/2015 16:41:43.260][Resp019][->]Directories.Fen_Directory =
[08/02/2015 16:41:43.260][Resp019][->]COULDN'T READ Directories.Pgn_Directory - USING DEFAULT
[08/02/2015 16:41:43.260][Resp019][->]Directories.Pgn_Directory =
[08/02/2015 16:41:43.260][Resp019][->]COULDN'T READ Directories.Book_Directory - USING DEFAULT
[08/02/2015 16:41:43.260][Resp019][->]Directories.Book_Directory =
[08/02/2015 16:41:43.260][Resp019][->]COULDN'T READ Directories.Epd_Directory - USING DEFAULT
[08/02/2015 16:41:43.260][Resp019][->]Directories.Epd_Directory =
[08/02/2015 16:41:43.260][Resp019][->]COULDN'T READ Book.Use_Book - USING DEFAULT
[08/02/2015 16:41:43.260][Resp019][->]Book.Use_Book = 0
[08/02/2015 16:41:43.260][Resp019][->]COULDN'T READ Book.Standard_Book_Name - USING DEFAULT
[08/02/2015 16:41:43.260][Resp019][->]Book.Standard_Book_Name = std_open.bin
[08/02/2015 16:41:43.260][Resp019][->]COULDN'T READ General.Logging - USING DEFAULT
[08/02/2015 16:41:43.260][Resp019][->]General.Logging = 1
[08/02/2015 16:41:43.260][Resp019][->]COULDN'T READ General.Resign - USING DEFAULT
[08/02/2015 16:41:43.260][Resp019][->]General.Resign = 1
[08/02/2015 16:41:43.260][Resp019][->]COULDN'T READ Hash.Size - USING DEFAULT
[08/02/2015 16:41:43.260][Resp019][->]Hash.Size = 20000000
[08/02/2015 16:41:43.260][Resp019][->]COULDN'T READ PawnHash.Size - USING DEFAULT
[08/02/2015 16:41:43.260][Resp019][->]PawnHash.Size = 4000000
[08/02/2015 16:41:43.267][Resp019][->]Allocating 16384 kBytes for hash ... OK
[08/02/2015 16:41:43.270][Resp019][->]Allocating 3072 kBytes for pawn hash ... OK
[08/02/2015 16:41:43.270][Resp019][->]#Board ready
[08/02/2015 16:41:43.270][Resp019][->]#Initializing controller ...
[08/02/2015 16:41:43.271][Resp019][->]Loading kedb.kpk ...
[08/02/2015 16:41:43.271][Resp019][->]!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[08/02/2015 16:41:43.271][Resp019][->]ERROR in kedb.cpp
[08/02/2015 16:41:43.271][Resp019][->]Couldn't open kedb.kpk
[08/02/2015 16:41:43.271][Resp019][->]Resp can't play with full strength now ...
[08/02/2015 16:41:43.271][Resp019][->]!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[08/02/2015 16:41:43.273][Resp019][ERROR]Initializing Engine: Error recieving from engine: EOF
...
[08/02/2015 16:41:43.313][Resp019][ERROR]Requesting move: Error recieving from engine: read |0: bad file descriptor

Infinite loop: Not enough openings in book.

In console

...
Round 649 started.
Playing from opening book... Failed: Not enough openings in book.
Round 649 started.
Playing from opening book... Failed: Not enough openings in book.
Round 649 started.
Playing from opening book... Failed: Not enough openings in book.
Round 649 started.
Playing from opening book... Failed: Not enough openings in book.
Round 649 started.
Playing from opening book... Failed: Not enough openings in book.
Round 649 started.
Playing from opening book... Failed: Not enough openings in book.
Round 649 started.
Playing from opening book... Failed: Not enough openings in book.
Round 649 started.
Playing from opening book... Failed: Not enough openings in book.
Round 649 started.
Playing from opening book... Failed: Not enough openings in book.
Round 649 started.
Playing from opening book... Failed: Not enough openings in book.
Round 649 started.
Playing from opening book... Failed: Not enough openings in book.
...

Note:
Dirty-Bit 0.39.5t5 Benchmark> bookinfo
Depth 1: 45 positions.
Depth 2: 185 positions.
Depth 3: 378 positions.
Depth 4: 634 positions.
Depth 5: 959 positions.
Depth 6: 1307 positions.
Depth 7: 1798 positions.
Depth 8: 2157 positions.
Depth 9: 2518 positions.
Depth 10: 2867 positions.
Depth 11: 3169 positions.
Depth 12: 3401 positions.
Depth 13: 3558 positions.
Depth 14: 3687 positions.�

Incorrect game counts

10 game tourney (Host log):

...
Round 6 started.
Playing from opening book... Success.
Round 6 being played by 127.0.0.1:57717
Worker is downloading engine: '/Users/Andrew/Projects/tourney/build/dirty-bit-ISSUE-8b/bin/dirty-bit'.
Worker is downloading engine: '/Users/Andrew/Projects/tourney/build/dirty-bit-ISSUE-8b/bin/dirty-bit'.
Worker is downloading engine: '/Users/Andrew/Projects/tourney/build/dirty-bit-ISSUE-8b/bin/dirty-bit'.
Round 6 completed.
127.0.0.1:57717 added to the worker que.
Syncronizing round 6
Saving 'data/build.txt'... Success.
Backing up data... Success.
Updating 'data/build.pgn'... Success.
Round 7 started.
Playing from opening book... Success.
Round 7 being played by 127.0.0.1:57717
Error remotely playing game: unexpected EOF
127.0.0.1:57717 Disconnected.
q

================================================================================
    Summary:
================================================================================

  Dirty-Bit Master      88-88-0 88/176      50%
  Dirty-Bit Dev     88-88-0 88/176      50%

================================================================================
    Matchups:
================================================================================

  Dirty-Bit Master vs.
    Dirty-Bit Dev       88-88-0 88/176      50%
  Dirty-Bit Dev vs.
    Dirty-Bit Master        88-88-0 88/176      50%

Disconnecting all workers.

Client Log:

...
Recieved Round 6
Localizing game engines...
stat worker/dirty-bit: no such file or directory
Downloading dirty-bit from the server...
dirty-bit downloaded. 271040 bytes.
stat worker/dirty-bit: no such file or directory
Downloading dirty-bit from the server...
dirty-bit downloaded. 271040 bytes.
stat worker/dirty-bit: no such file or directory
Downloading dirty-bit from the server...
dirty-bit downloaded. 271040 bytes.
Engine file's integrety could not be validated.Game results sent back to the server.

[GUI] Game List/History improvements

Features to add:

  • Sort by winner/looser.
  • Label games in progress.
  • See ending score and evaluations.
  • Hide/Show columns.

More Stats:

  • Number of moves
  • average depth
  • time left
    ... etc ...

[GUI] Work performance page.

To see:

  • games per some time period played. With a graph to see when there are a lot of workers or not.
  • when a worker is hanging
  • what workers are doing what
  • various worker health stats.
  • book stats (like positions per depth)

Workers stop.

2 cases.

First, I think an engine stopped responding and just hung the whole worker.

Second, worker sent game data back and never started another game.

Should set game time stamps while I'm at it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.