Skip to content

isaacl/irwin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

104 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

irwin

irwin is the AI that learns cheating patterns, marks cheaters, and assists moderators in assessing potential cheaters.

Dependencies

Compatible with Python 3.x

Python Libraries

pip3 install pymongo python-chess numpy requests

Database

Configuring

Currently configuring the application is quite manual. The bot needs analysed players in the database to train the neural networks, and it needs trained neural networks to assess players.

To work around this, training and assessing players with the neural network needs to be manually disabled. Then run main.py until there are enough analysed players in the database for training to commence.

The bot will retrain itself roughly every 24 hours to stay up to date with changing trends.

Launching

python3 main.py --quiet <Secret API Token> <Learner (1 or 0) = 1> <#Threads = 4> <Hash (Bytes) = 2048>

About

Irwin (named after Steve Irwin, the Crocodile Hunter) started as the name of the server that the original cheatnet ran on (now deprecated). This is the successor to cheatnet.

Similar to cheatnet, it works on a similar concept of analysing the available PVs of a game to determine the odds of cheating occurring.

This bot makes improvements over cheatnet by taking a dramatically more modular approach to software design. modules/core contains most of the generic datatypes, BSON serialisation handlers and database interface layers. It is also significantly faster due to a simplified approach to using stockfish analysis.

modules/irwin contains the brains of irwin, this is where the tensorflow learning and application takes place.

Irwin has been designed so that modules/irwin can be replaced with other approaches to player assessment.

Env.py contains all of the tools to interact with lichess, irwin, and the database handlers.

main.py covers accessing the lichess API (modules/Api.py) via Env to get player data; pulling records from mongodb, analysing games using stockfish, assessing those games using tensorflow and then posting the final assessments.

Terminology

  • Analysed: Analysed by stockfish
  • Assessed: Assessed by the neural network.
  • Analysis: A class that can be analysed.

About

irwin - the protector of lichess from all chess players villainous

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%