Empirical Game-Theoretic Analysis
[](https://travis-ci.org/egtaonline/quiesce) [](https://coveralls.io/github/egtaonline/quiesce)
A command line tool for running egta on arbitrary simulators.
Setup
` pip install --user -U egta `
Usage
You need a set of supplementary files to actually run this. These files describe the game that’s going to be run, and the process of getting payoff data for each profile when requested. This repository contains a sample simulator called cdasim that can be used for this purpose. Below are some example uses
Perform the quiesce routine on a game that already has game data. One can also add noise to the payoffs for testing of equilibria procedures but this will just run it with no noise.
` egta --game-json cdasim/data_game.json quiesce game --load-game `
Perform the quiesce routine on a game that’s defined by a command line simulator. This will get profile data by sampling from the cdasim python simulator.
` egta --game-json cdasim/small_game.json quiesce sim -- python3 cdasim/sim.py 1 --single `
By default the quiesce routine only uses one payoff sample per profile. Setting –count to a larger number will help reduce the noise.
Perform the quiesce routine on a game that’s defined by an EGTA Online zip file. This will get profile by calling the batch script from a zip file the same way as EGTA Online. To accomplish this, this repository has a zip scheduler that takes a zip file and schedules like EGTA Online does.
` egta --game-json cdasim/small_game.json quiesce zip cdasim/cdasim.zip `
Perform the quiesce routine on a game with information on EGTA Online. The parameters specified here are for the same simulation that was uploaded there.
` egta --game-id 1466 quiesce --dpr buyers:2,sellers:2 egta --sim-memory 2048 --sim-time 60 `
Note: To use this method, your EGTA Online credentials must be stored in a place where the python api can find them. Note: This game has already been solved, so this call will only fetch the initial game and then solve it without scheduling more profiles.
Development
Makefile has all of the relevant commands for settings up a development environment. Typing make will print out everything it’s setup to do.
make setup will do a best effort to setup an appropriate development environment. The script requires a python interpreter that’s at least version 3.5. To specify a different interpreter than the default lookup on your path use make setup PYTHON=<alternate-python>, e.g. on many ubuntu systems you might need to run make setup PYTHON=python3.
Metadata
Release files for egta 0.0.24
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| egta-0.0.24.tar.gz | 36.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| egta-0.0.24-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 77.6 kB
Release files / egta-0.0.24.tar.gz
| Download URL | egta-0.0.24.tar.gz |
|---|---|
| Size | 36.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
719524c312aa17999b6cef8d8f64ba729c5fdb2d1af637775610c8b8709e488c
|
|
BLAKE2b-256 checksum How to use checksums |
6a7c237a64598bf57297c157b9dd77bba2ed0db697889f43f3c7c898614d450c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / egta-0.0.24-py3-none-any.whl
| Download URL | egta-0.0.24-py3-none-any.whl |
|---|---|
| Size | 41.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
246ae9d7f0ff4df4926337d7840eb6d6bca71205901b9419fc80bc655def1be3
|
|
BLAKE2b-256 checksum How to use checksums |
23f35bb1335e8ff535a0e106290459308980e6795dc7efbe426e29d4c75c123c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for egta 0.0.24
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.