https://github.com/alan-turing-institute/p2lab-pokemon
A Python library for running genetic algorithms to optimize Pokemon teams!
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
5 of 8 committers (62.5%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.2%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
A Python library for running genetic algorithms to optimize Pokemon teams!
Basic Info
Statistics
- Stars: 9
- Watchers: 5
- Forks: 2
- Open Issues: 19
- Releases: 0
Topics
Metadata Files
README.md
An interface for optimising Pokémon teams using genetic algorithms!
Installation
- Clone required repos:
bash
git clone git@github.com:alan-turing-institute/p2lab-pokemon.git
cd p2lab-pokemon
git submodule update --init --recursive
git clone git@github.com:smogon/pokemon-showdown.git
- Install p2lab and poke-env:
bash
cd poke-env
pip install -e .
cd ..
pip install -e .
- Have node installed and install showdown
- See: https://nodejs.dev/en/learn/how-to-install-nodejs/
bash
cd pokemon-showdown
npm install # -g flag sometimes solved problems on our machines
cd ..
Running
To run locally start the pokemon showdown server:
bash
node pokemon-showdown start --no-security
In another terminal, from this project's root directory run:
bash
p2lab <args>
Additional arguments for p2lab
```bash usage: p2lab [-h] [--generations GENERATIONS] [--team-size TEAM_SIZE] [--teams TEAMS] [--seed SEED] [--unique UNIQUE]
options: -h, --help show this help message and exit --generations GENERATIONS Number of generations to iterate over --team-size TEAM_SIZE Number of pokemon per team (max 6) --teams TEAMS Number of teams i.e., individuals per generation --seed SEED Random seed to use --unique UNIQUE Determines if a team can have duplicate pokemon species ```
Docker:
Alternatively, using docker: docker build -t p2:latest .
docker run -it p2:latest docker exec -it your_container_id /bin/bash
Run docker build with --no-cache to rebuild with newer versions of the repos.
Components used
Pokemon showdown engine:
- Has instructions on setting up our own server (needed to run battles!)
- Also features command-line utilities for generating/validating new teams
Poke-env
- Wicked fast at simulating battles via pokemon showdown engine
- https://poke-env.readthedocs.io/en/stable/getting_started.html
Owner
- Name: The Alan Turing Institute
- Login: alan-turing-institute
- Kind: organization
- Email: info@turing.ac.uk
- Website: https://turing.ac.uk
- Repositories: 477
- Profile: https://github.com/alan-turing-institute
The UK's national institute for data science and artificial intelligence.
GitHub Events
Total
- Watch event: 1
- Push event: 63
- Fork event: 1
Last Year
- Watch event: 1
- Push event: 63
- Fork event: 1
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Nathan Simpson | n****n@t****k | 85 |
| AoifeHughes | a****s@t****k | 52 |
| philswatton | p****n@g****m | 10 |
| Boyko Vodenicharski | b****i@t****k | 9 |
| Nathan Simpson | p****e@p****m | 7 |
| Lydia France | l****e@t****k | 5 |
| eddableheath | e****h@t****k | 5 |
| dependabot[bot] | 4****] | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 26
- Total pull requests: 40
- Average time to close issues: 4 days
- Average time to close pull requests: about 22 hours
- Total issue authors: 4
- Total pull request authors: 8
- Average comments per issue: 1.81
- Average comments per pull request: 1.53
- Merged pull requests: 28
- Bot issues: 0
- Bot pull requests: 4
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- AoifeHughes (15)
- phinate (6)
- philswatton (2)
- LydiaFrance (2)
Pull Request Authors
- AoifeHughes (13)
- philswatton (5)
- boykovdn (5)
- phinate (4)
- eddableheath (2)
- LydiaFrance (2)
- dependabot[bot] (2)
- pre-commit-ci[bot] (1)
