New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

go-engine-tester

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

go-engine-tester

Go (围棋, 囲碁, 바둑) engine tester

  • 0.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-77.78%
Maintainers
2
Weekly downloads
 
Created
Source

Introduction

This program runs a batch of games between 2 GTP-compatible Go (围棋, 囲碁, 바둑) engines to compare their strength. It can also compare the strength under different options of the same engine.

Install

npm install go-engine-tester -g

Usage

Add a file config.json, then run:

go-engine-tester config.json

config.json example:

{
    "first": {
        "name": "config1",
        "command": "./leelaz",
        "args": ["-w", "network-173.gz", "--gtp", "--noponder", "-p", "100"]
    },
    "second": {
        "name": "config2",
        "command": "./leelaz",
        "args": ["-w", "network-157.gz", "--gtp", "--noponder", "-p", "100"]
    },
    "times": 30
}

This will play 30 games between the first engine and the second engine, and finally print the result.

There's an optional spawnOptions attribute, so that it could pass environment variables to the engine processes:

{
    "first": {
        "name": "config1",
        "command": "./leelaz",
        "args": ["-w", "network-173.gz", "--gtp", "--noponder", "-p", "100"],
        "spawnOptions": {
            "env": {
                "DYLD_LIBRARY_PATH": "/Users/your-name/boost_1_67_0/lib"
            }
        }
    },
    "second": {
        "name": "config2",
        "command": "./leelaz",
        "args": ["-w", "network-157.gz", "--gtp", "--noponder", "-p", "100"],
        "spawnOptions": {
            "env": {
                "DYLD_LIBRARY_PATH": "/Users/your-name/boost_1_67_0/lib"
            }
        }
    },
    "times": 30
}

Keywords

FAQs

Package last updated on 20 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc