alessio.arcara@studio.unibo.it
Asymmetric Advantages
|
Coordination Ring
|
Counter Circuit
|
|||
Cramped Room
|
Forced Coordination
|
||||
Click to expand
git clone git@github.com:alessioarcara/aaas-project.git
cd aaas-projectYou can set up the environment using uv or standard pip.
uv venv
source .venv/bin/activate # On Windows use `.venv\Scripts\activate`
uv syncThis project adheres to PEP 621 standards using pyproject.toml.
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e .This project uses configuration files to manage experiments (see configs/).
To train an agent pair, use the following script. Multiple configuration files can be stacked; the rightmost file overrides the previous ones.
uv run python scripts/train.py --configs configs/base.yaml configs/experiment_1.yamlArguments:
--configs: One or more paths to YAML config files (space-separated).
The notebooks/testbench.ipynb serves as an interactive tool for project analysis:
- Agent Pair Selection: Select any agent pair from available checkpoints or from your own training runs using the checkpoint dropdown.
- Quantitative Metrics: Automatically benchmark agents across layouts.
- Qualitative Assessment: Visualize agent pair behavior in a selected layout using the layout dropdown.
Hyperparameter optimization is performed using Optuna.
uv run tune.py --config configs/base.yaml --study-name your_study_name --trials 100- --config: Base configuration file.
- --study-name: Name of the Optuna study.
- --trials: Number of optimization trials.
To modify which hyperparameters are optimized, edit the objective function inside the tuning script.




