Skip to content
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@

**Gambit** is the package for doing computation in (non-cooperative) game theory.

- See our [documentation](https://gambitproject.readthedocs.io/)
- Check our [project website](https://www.gambit-project.org/)
- **Documentation:** for the package is hosted at [gambitproject.readthedocs.io](https://gambitproject.readthedocs.io/).
- **The Gambit project:** Find out more about the project at [gambit-project.org](https://www.gambit-project.org/)
- **Contributors:** Please read the [code of conduct and contribution guidelines](https://gambitproject.readthedocs.io/en/latest/developer.contributing.html) before posting on GitHub.

Gambit provides:

Expand Down
52 changes: 52 additions & 0 deletions doc/developer.contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,25 @@ Contributing to Gambit
This section provides guidelines for contributing to Gambit, including how to report bugs, suggest features, and contribute code.
It includes information relevant to both core developers and external contributors.

.. _code-of-conduct:

Code of Conduct
---------------

All participants in the Gambit community are expected to show respect and courtesy to others.
We are committed to fostering a welcoming and harassment-free environment for everyone, regardless of background or identity.
Please be kind and considerate in your interactions. We are all here to build a better tool for game theory research and education.
Disagreements may happen, but they should be handled with respect and a focus on constructive resolution.

To raise any concerns, please contact `Ted Turocy <mailto:ted.turocy@gmail.com>` or `Rahul Savani <mailto:rahul.savani@gmail.com>`.

.. _github-issues:

GitHub issues
-------------

Newcomer to the project? Please read the :ref:`code of conduct <code-of-conduct>` and :ref:`new contributors section <new-contributors>` sections before posting on GitHub.

In the first instance, bug reports, feature requests and improvements to the Gambit documentation should be
posted to the Gambit issue tracker, located at
`<http://github.com/gambitproject/gambit/issues>`_.
Expand Down Expand Up @@ -39,6 +53,44 @@ latest development version. New development should in general always
be based off this branch. Branches labeled ``maintX_Y``, where ``X`` is the major version number and ``Y`` is the minor version number, point to the latest commit on a stable
version.

.. _new-contributors:

A Note for New Contributors
^^^^^^^^^^^^^^^^^^^^^^^^^^^

We warmly welcome new contributors to the Gambit project! Your help is valuable to us.

Before you start working on a contribution, we encourage you to familiarize yourself with the project.
Gambit is a mature and complex codebase. Even issues marked as "good first issue" may require some understanding of the context and how different parts of the project interact.

We have always valued thoughtful contributions. A common issue for open-source projects is receiving pull requests that are not well-aligned with the project's needs or coding standards. To avoid unproductive effort on your part and on ours, we strongly encourage you to engage with us before you spend a lot of time on implementation.

A great way to start is by:

1. Looking through the code to understand the relevant parts for your intended change.
2. Contacting the maintainers via commenting with a question on an open issue, or opening a Discussion on GitHub.
3. After your discussion with the maintainers, open a draft pull request early in your process. This allows for discussion and feedback before you've invested too much time.

We are happy to answer questions and provide guidance. Engaging with the maintainers early ensures that your contribution is likely to be accepted and integrated smoothly.

.. _ai-policy:

Policy on AI-Assisted Contributions
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

We recognize that generative AI tools can be a useful aid in software development. We also expect authentic and thoughtful engagement from our contributors.

- **You are responsible for your contributions.** If you use generative AI to help you write code or documentation, you must fully understand the output. You should be able to explain the changes and why they are the correct approach for the project.
- **Add value.** Simply taking a prompt, feeding it to an AI, and posting the result as a contribution is not helpful. We expect you to use your own expertise to verify, test, and refine any AI-generated content. Out of respect for everyone's time, we reserve the right to rigorously reject low-value contributions, whether AI-generated or not.
- **No AI-generated comments.** Please do not post output from Large Language Models (LLMs) or similar tools as comments on GitHub issues or pull requests. Such comments are often generic and do not add to the discussion.
- **Humans over bots.** We discourage the use of automated tools, such as bots or agents, to post AI-generated content to issues or pull requests, without the advance approval of the core development team.


How to submit a contribution
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

To contribute code, please follow these steps:

1. To get started contributing code in the `Gambit GitHub repo <https://github.com/gambitproject/gambit>`__, do one of the following:

- Core developers: request contributor access from one of the `team <https://www.gambit-project.org/team/>`__
Expand Down
7 changes: 4 additions & 3 deletions doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
##########################
Gambit: User documentation
##########################
^^^^^^^^^^^^^^^^^^^^^^^^^^

**Gambit** is a library of game theory software and tools for the
construction and analysis of finite extensive and strategic games.
We recommended most new users install the PyGambit Python package and read the associated documentation, which includes tutorials and a complete API reference.

- **Users:** We recommend most newcomers install the PyGambit Python package and read the associated documentation, which includes tutorials and a complete API reference.
- **Contributors:** Please read the :ref:`code of conduct and contribution guidelines <contributing>` before posting on GitHub.

.. grid::

Expand Down