Skip to content

Commit a77e637

Browse files
committed
Added code of conduct
1 parent 70259aa commit a77e637

File tree

2 files changed

+91
-4
lines changed

2 files changed

+91
-4
lines changed

.github/CODE_OF_CONDUCT.md

+87
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# Code of Conduct
2+
3+
> A code of conduct is a set of rules outlining the social norms and rules and responsibilities of, or proper practices for, an individual, party or organization
4+
5+
## Summary
6+
7+
The CodeforcesApiPy is dedicated to providing a harassment-free working environment for all, regardless of gender, sexual orientation, disability, physical appearance, body size, race, or religion. We do not tolerate harassment of any form. All communication should be appropriate for a professional audience including people of many different backgrounds.
8+
9+
These are the values to which people in the CodeforcesApiPy community should aspire:
10+
11+
- Be friendly and welcoming
12+
- Be patient
13+
- Remember that people have varying communication styles and that not everyone is using their native language. (Meaning and tone can be lost in translation.)
14+
- Be thoughtful
15+
- Productive communication requires effort. Think about how your words will be interpreted.
16+
- Remember that sometimes it is best to refrain entirely from commenting.
17+
- Be respectful
18+
- In particular, respect differences of opinion.
19+
- Be charitable
20+
- Interpret the arguments of others in good faith, do not seek to disagree.
21+
- When we do disagree, try to understand why.
22+
- Avoid destructive behavior:
23+
- Derailing: stay on topic; if you want to talk about something else, start a new conversation.
24+
- Unconstructive criticism: don't merely decry the current state of affairs; offer—or at least solicit—suggestions as to how things may be improved.
25+
- Snarking (pithy, unproductive, sniping comments)
26+
- Discussing potentially offensive or sensitive issues; this all too often leads to unnecessary conflict.
27+
- Microaggressions: brief and commonplace verbal, behavioral and environmental indignities that communicate hostile, derogatory or negative slights and insults to a person or group.
28+
29+
People are complicated. You should expect to be misunderstood and to misunderstand others; when this inevitably occurs, resist the urge to be defensive or assign blame. Try not to take offense where no offense was intended. Give people the benefit of the doubt. Even if the intent was to provoke, do not rise to it. It is the responsibility of all parties to de-escalate conflict when it arises.
30+
31+
## Reporting an incident
32+
33+
Incidents that violate the Code of Conduct are extremely damaging to the CodeforcesApiPy, and they will not be tolerated. The silver lining is that, in many cases, these incidents present a chance for the offenders, and the teams at large, to grow, learn, and become better.
34+
35+
> The following should be handled by a line manager who has been informed of the incident
36+
37+
Try to get as much of the incident in written form. The important information to gather include the following:
38+
39+
- Name and team of the participant doing the harassing
40+
- The location in which the incident occurred
41+
- The behavior that was in violation
42+
- The approximate time of the behavior
43+
- The circumstances surrounding the incident
44+
- Other people involved in the incident
45+
46+
Depending on the severity/details of the incident, please follow these guidelines:
47+
48+
- If there is any general threat to staff or any other doubts, summon security or police
49+
- Offer the victim a private place to sit
50+
- Ask "is there a friend or trusted person who you would like to be with you?" (if so, arrange for someone to fetch this person)
51+
- Ask them "how can I help?"
52+
- Provide them with your list of emergency contacts if they need help later
53+
- If everyone is presently physically safe, involve the police or security only at a victim's request
54+
55+
There are also some guidelines as to what not to do as an initial response:
56+
57+
- Do not overtly invite them to withdraw the complaint or mention that withdrawal is OK. This suggests that you want them to do so, and is therefore coercive. "If you're OK with pursuing the complaint" suggests that you are by default pursuing it and is not coercive.
58+
- Do not ask for their advice on how to deal with the complaint. This is a staff responsibility.
59+
- Do not offer them input into penalties. This is the staff's responsibility.
60+
61+
The line manager who is handling the reported offence should find out the following:
62+
63+
- What happened?
64+
- Are we doing anything about it?
65+
- Who is doing those things?
66+
- When are they doing them?
67+
68+
After the above has been identified and discussed, have an appropriate line manager communicate with the alleged harasser. Make sure to inform them of what has been reported about them.
69+
70+
Allow the alleged harasser to give their side of the story. After this point, if the report stands, let the alleged harasser know what actions will be taken against them.
71+
72+
Some things for the staff to consider when dealing with Code of Conduct offenders:
73+
74+
- Warning the harasser to cease their behavior and that any further reports will result in sanctions
75+
- Requiring that the harasser avoid any interaction with, and physical proximity to, their victim until a resolution or course of action has been decided upon
76+
- Requiring that the harasser not volunteer for future events your organizations runs (either indefinitely or for a certain time period)
77+
- Depending on the severity/details of the incident, requiring that the harasser immediately be sent home
78+
- Depending on the severity/details of the incident, removing a harasser from membership of relevant CodeforcesApiPy organizations.
79+
- Depending on the severity/details of the incident, publishing an account of the harassment and calling for the resignation of the harasser from their responsibilities (usually pursued by people without formal authority: may be called for if the harasser is a team leader, or refuses to stand aside from the conflict of interest)
80+
81+
Give accused staff members a place to appeal to if there is one, but in the meantime the report stands. Keep in mind that it is not a good idea to encourage an apology from the harasser.
82+
83+
It is very important how we deal with the incident publicly. Our policy is to make sure that everyone aware of the initial incident is also made aware that it is not according to policy and that official action has been taken - while still respecting the privacy of individual staff members. When speaking to individuals (those who are aware of the incident, but were not involved with the incident) about the incident it is a good idea to keep the details out.
84+
85+
Depending on the incident, the head of responsible department, or designate, may decide to make one or more public announcements. If necessary, this will be done with a short announcement either during the plenary and/or through other channels. No one other than the head of responsible department or someone delegated authority from them should make any announcements. No personal information about either party will be disclosed as part of this process.
86+
87+
If some members of staff were angered by the incident, it is best to apologize to them that the incident occurred to begin with. If there are residual hard feelings, suggest to them to write an email to the responsible head of department. It will be dealt with accordingly.

CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Contributing
22

33
When contributing to this repository, please first discuss the change you wish to make via issue,
4-
email, or any other method with the owners of this repository before making a change.
4+
email, or any other method with the owners of this repository before making a change.
55

66
Please note we have a code of conduct, please follow it in all your interactions with the project.
77

88
## Pull Request Process
99

10-
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
10+
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
1111
build.
12-
2. Update the README.md with details of changes to the interface, this includes new environment
12+
2. Update the README.md with details of changes to the interface, this includes new environment
1313
variables, exposed ports, useful file locations and container parameters.
1414
3. Increase the version numbers in any examples files and the README.md to the new version that this
1515
Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
16-
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you
16+
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you
1717
do not have permission to do that, you may request the second reviewer to merge it for you.
1818

1919
## Code of Conduct

0 commit comments

Comments
 (0)