Skip to content

Commit a689dd8

Browse files
committed
Add CODE_OF_CONDUCT.md
1 parent d8879b5 commit a689dd8

File tree

1 file changed

+100
-0
lines changed

1 file changed

+100
-0
lines changed

CODE_OF_CONDUCT.md

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
# Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8+
9+
## Our Standards
10+
11+
### Examples of behavior that contributes to a positive environment:
12+
13+
* Demonstrating empathy and kindness toward other people
14+
* Being respectful of differing opinions, viewpoints, and experiences
15+
* Giving and gracefully accepting constructive feedback
16+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17+
* Focusing on what is best not just for us as individuals, but for the overall community
18+
* Using welcoming and inclusive language
19+
* Being respectful of differing viewpoints and technical approaches
20+
* Gracefully accepting constructive criticism
21+
* Showing empathy towards other community members
22+
23+
### Examples of unacceptable behavior:
24+
25+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
26+
* Trolling, insulting or derogatory comments, and personal or political attacks
27+
* Public or private harassment
28+
* Publishing others' private information, such as a physical or email address, without their explicit permission
29+
* Other conduct which could reasonably be considered inappropriate in a professional setting
30+
31+
## Technical Standards
32+
33+
Given the technical nature of this project (Python to C++ transpilation):
34+
35+
* **Code Quality**: All contributions should follow best practices for both Python and C++
36+
* **Testing**: Test your code thoroughly before submitting
37+
* **Documentation**: Complex algorithms and optimizations should be well-documented
38+
* **Benchmarking**: Performance claims should be backed by benchmarks
39+
* **Safety**: Generated C++ code should be memory-safe and avoid common pitfalls
40+
* **Compatibility**: Consider cross-platform compatibility where possible
41+
42+
## Enforcement Responsibilities
43+
44+
Project maintainers are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
45+
46+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
47+
48+
## Scope
49+
50+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
51+
52+
## Enforcement
53+
54+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the project maintainers responsible for enforcement. All complaints will be reviewed and investigated promptly and fairly.
55+
56+
All project maintainers are obligated to respect the privacy and security of the reporter of any incident.
57+
58+
## Enforcement Guidelines
59+
60+
Project maintainers will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
61+
62+
### 1. Correction
63+
64+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
65+
66+
**Consequence**: A private, written warning from project maintainers, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
67+
68+
### 2. Warning
69+
70+
**Community Impact**: A violation through a single incident or series of actions.
71+
72+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
73+
74+
### 3. Temporary Ban
75+
76+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
77+
78+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
79+
80+
### 4. Permanent Ban
81+
82+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
83+
84+
**Consequence**: A permanent ban from any sort of public interaction within the community.
85+
86+
## Attribution
87+
88+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
89+
90+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
91+
92+
For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
93+
94+
## Contact
95+
96+
For questions or concerns about this Code of Conduct, please open an issue or contact the project maintainers.
97+
98+
---
99+
100+
**By participating in this project, you agree to abide by this Code of Conduct.**

0 commit comments

Comments
 (0)