Code of Conduct
Relevant source files
The following files were used as context for generating this wiki page:
Introduction
The Code of Conduct for AlphaPy establishes a Contributor Covenant to foster an open, welcoming, and harassment-free environment for all participants. It applies to all contributors and maintainers, regardless of their background, level of experience, or personal attributes. The scope of this policy covers both project-specific spaces and public interactions where an individual represents the AlphaPy community.
Beyond interpersonal behavior, the project structure reinforces professional standards through licensed software distribution (Apache License, Version 2.0) and structured group management. Maintainers are empowered to uphold these standards by moderating contributions, including code, commits, and wiki edits, ensuring the project remains a safe space for speculators and data scientists alike.
Sources: CODE_OF_CONDUCT.md:1-12, CODE_OF_CONDUCT.md:37-44, README.rst:11-20, setup.py:14
Standards of Behavior
The project defines clear expectations for positive and negative behaviors to maintain community health.
Positive Environment
Contributors are encouraged to engage in behaviors that strengthen the community:
- Utilizing inclusive and welcoming language.
- Respecting diverse viewpoints and unique experiences.
- Accepting constructive criticism with grace.
- Prioritizing the community's best interests.
- Demonstrating empathy toward fellow members.
Unacceptable Behavior
The following actions are strictly prohibited:
- Sexualized language, imagery, or unwelcome sexual advances.
- Trolling and personal or political attacks.
- Public or private harassment.
- Unauthorized publication of private information (e.g., physical or electronic addresses).
- Any conduct inappropriate for a professional setting.
Sources: CODE_OF_CONDUCT.md:14-31
Responsibilities and Enforcement
Project maintainers act as the primary enforcers of the Code of Conduct, ensuring that the environment remains professional and safe.
Maintainer Rights
Maintainers have the authority and responsibility to:
- Clarify standards of acceptable behavior.
- Take fair corrective actions against unacceptable behavior.
- Edit, remove, or reject contributions (commits, code, wiki edits) not aligned with the code.
- Ban contributors temporarily or permanently for harmful behavior.
Reporting and Investigation
Incidents of abuse or harassment can be reported to the project team. The team is obligated to maintain reporter confidentiality during investigations.
| Component | Detail |
|---|---|
| Contact Email | scottfree.analytics@scottfreellc.com |
| Investigation Process | Review and investigation of all complaints |
| Potential Outcomes | Deemed necessary/appropriate response, including temporary or permanent bans |
| Leadership Accountability | Maintainers failing to enforce the code in good faith may face repercussions |
Sources: CODE_OF_CONDUCT.md:33-40, CODE_OF_CONDUCT.md:46-56, setup.py:12
Workflow and Interaction Model
The project's social and professional structure can be represented through the interaction between contributors, maintainers, and the moderation process.
This diagram illustrates the flow of contributions and the enforcement mechanism triggered by the Code of Conduct.
Sources: CODE_OF_CONDUCT.md:33-56
Technical Governance and Licensing
The Code of Conduct is complemented by technical governance structures found in the project's implementation, such as group permissions and licensing.
- Licensing: The project is licensed under the Apache License, Version 2.0, which dictates the legal framework for contribution and usage.
- Group Dynamics: The
Groupclass in the software architecture allows for managing members within namespaces, mirroring the social organization of the project. - Support Channels: Official support is channeled through GitHub issues, providing a transparent and moderated platform for interaction.
This class diagram shows how the system organizes "members" into groups, providing a technical parallel to community management.
Sources: alphapy/group.py:46-64, alphapy/space.py:61-75, README.rst:83-87, setup.py:14
Summary
The Contributor Covenant Code of Conduct is a foundational document for AlphaPy, ensuring that development is conducted in a professional, inclusive, and safe environment. By defining clear behavioral standards and empowering maintainers with enforcement tools, the project maintains a high standard of community health. This social framework, combined with the Apache 2.0 license and structured GitHub-based support, provides a robust environment for speculators and data scientists to collaborate.
Sources: CODE_OF_CONDUCT.md:58-61, README.rst:11-15