Skip to main content
Mentevo logo

📚 Explore the docs »


👋 Mentevo is a compact library designed for studying the dynamic of balancing cognitive stability and flexibility in task-switching environments within groups of agents, initially providing the implementation code for the research paper of Brondetta et al, 2024.

This repository also introduces various parametrization, visualization methods as well as metrics to compute performances of each agents. However, Mentevo emphasizes experimentation and is not an official reproduction of any other paper aside from Brondetta et al.

Getting Started

To start with Mentevo, we propose multiple notebook that will help you familiarize with the library:

  • Starter Open
  • Simulation examples Open
  • Performance metric in details Open
  • Study of optimal gain value depending on the task switching rate Open

Otherwise, you can simply start hacking with mentevo, it's as simple as:

from mentevo import (Experiment, compute_performance, plot_curves)

# create an experiment object
experiment = Experiment(nb_agents=4)
simulation_results = experiment.solve()

# plots the simulation results
plot_curves(experiment, simulation_results)

# compute the performance
scores = compute_performance(experiment, simulation_results)
print('individual performance', scores[0])
print('group performance', scores[1])

When optimizing, it's crucial to fine-tune the hyperparameters. Parameters like the alpha, beta, d or tau significantly impact the output. We recommend ajusting the values according to the original paper to ensure comparable results.

Citation

@inproceedings{brondetta2024benefits,
  title={On the Benefits of Heterogeneity in Cognitive Stability and Flexibility for Collaborative Task Switching},
  author={Brondetta, Alessandra and Bizyaeva, Anastasia and Lucas, Maxime and Petri, Giovanni and Musslick, Sebastian},
  booktitle={Proceedings of the Annual Meeting of the Cognitive Science Society},
  volume={46},
  year={2024}
}

Authors

Contact

If you have any feedback, questions or suggestions, feel free to contact:

📧 albrondetta@uni-osnabrueck.de

Metadata

Release files for Mentevo 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Mentevo 0.2.0
File Size Uploaded Provenance Actions
mentevo-0.2.0.tar.gz 15.2 kB Without provenance Details for mentevo-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Mentevo 0.2.0
File Interpreter ABI Platform Actions
mentevo-0.2.0-py3-none-any.whl Python 3 none any Details for mentevo-0.2.0-py3-none-any.whl

Total release size: 34.0 kB

Release files / mentevo-0.2.0.tar.gz

Download URL mentevo-0.2.0.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f7106830af7c316ea3d4bfdb07fb551efbd09c1c0129a8f50eaf91badef468fa
BLAKE2b-256 checksum
How to use checksums
204587dfeb7b2ca8f5840a47e8aa7007e81acc1478861d5c508e85cd8be871de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / mentevo-0.2.0-py3-none-any.whl

Download URL mentevo-0.2.0-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8de0ab2ba0380be3f13f95438da5025fb800bf108b18d455439e3e2d504778e3
BLAKE2b-256 checksum
How to use checksums
132c99f3ce815d1392e197f3201a5c4d5b312aef214474cdfe495d92522e4ef5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for Mentevo 0.2.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page