This repository is used to train AI agents to predict good strategies in a social learning game based on a NK landscape.
Project description
human-ai-social-learning
Description
Installation
This project uses Poetry for package management. If you haven't installed Poetry yet, please follow the instructions on the official Poetry website.
To install the project:
-
Clone the repository:
git clone https://github.com/your-username/human-ai-social-learning.git cd human-ai-social-learning
-
Install dependencies with Poetry:
poetry install -
Activate the virtual environment:
poetry shell -
(Optional) Set up Jupyter kernel for notebooks:
poetry run python -m ipykernel install --user --name nk-cce-kernel
Now your development environment is set up and ready to use.
Contributing
We welcome contributions! Please note:
- Please create a descriptive branch for each contribution (naming convention feature_type/feature_name)
- Follow the project style (PEP 8 for Python).
- Add tests and run all before commit. (At least one test per function or method.)
- Write meaningful commit messages.
- Keep in line with pre-commit linting.
- Submit a Pull Request, to include your code into main.
Pre-commit Hooks
We use pre-commit hooks. Installation:
poetry add pre-commit
pre-commit install
pre-commit run --all-files
Running Tests
Tests need to be run in the virtual environment. You can use Poetry or Visual Studio Code settings to do so automatically.
To run all tests using Poetry run:
poetry run pytest
We included Visual Studio Code settings in the repository. You can try to use them to run the tests within Visual Studio Code.
.vscode/
├── settings.json
├── launch.json
Documentation
For an overview of the repository structure, module organization, and dependencies, see the Repository Structure Guide.
Additional documentation is available in the doc/ directory:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_nk_cce-0.1.3.tar.gz.
File metadata
- Download URL: ai_nk_cce-0.1.3.tar.gz
- Upload date:
- Size: 46.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.10.0 Darwin/25.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a61622ba91fb6899d7c2c302f2369bcbfc2f9ffb7352843ece4f9e5458a7966c
|
|
| MD5 |
cde0fd642a4776e53350586bbe367986
|
|
| BLAKE2b-256 |
5bd83d17113859d29eafe65396dd37f4354b7b2d1990f8f2de0bfb6469ceac5d
|
File details
Details for the file ai_nk_cce-0.1.3-py3-none-any.whl.
File metadata
- Download URL: ai_nk_cce-0.1.3-py3-none-any.whl
- Upload date:
- Size: 60.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.10.0 Darwin/25.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9eca5a956dda9a3e923341930c79f64af211a91e3afa17ae7b1d2ada57cfbb2
|
|
| MD5 |
2d29d52460e3b09eafa387bd0b583d1d
|
|
| BLAKE2b-256 |
df96860c929a634019561daa1304bb1ebcdfc99a73ed071355f3ffdce7d9be45
|