xref: /aosp_15_r20/external/tensorflow/CODE_OF_CONDUCT.md (revision b6fb3261f9314811a0f4371741dbb8839866f948)
1*b6fb3261SAndroid Build Coastguard Worker# TensorFlow Code of Conduct
2*b6fb3261SAndroid Build Coastguard Worker
3*b6fb3261SAndroid Build Coastguard WorkerIn the interest of fostering an open and welcoming environment, we as
4*b6fb3261SAndroid Build Coastguard Workercontributors and maintainers pledge to make participation in our project and our
5*b6fb3261SAndroid Build Coastguard Workercommunity a harassment-free experience for everyone, regardless of age, body
6*b6fb3261SAndroid Build Coastguard Workersize, disability, ethnicity, gender identity and expression, level of
7*b6fb3261SAndroid Build Coastguard Workerexperience, nationality, personal appearance, race, religion, or sexual identity
8*b6fb3261SAndroid Build Coastguard Workerand orientation.
9*b6fb3261SAndroid Build Coastguard Worker
10*b6fb3261SAndroid Build Coastguard Worker## Our Standards
11*b6fb3261SAndroid Build Coastguard Worker
12*b6fb3261SAndroid Build Coastguard WorkerExamples of behavior that contributes to creating a positive environment include:
13*b6fb3261SAndroid Build Coastguard Worker
14*b6fb3261SAndroid Build Coastguard Worker*   Using welcoming and inclusive language.
15*b6fb3261SAndroid Build Coastguard Worker*   Being respectful of differing viewpoints and experiences.
16*b6fb3261SAndroid Build Coastguard Worker*   Gracefully accepting constructive criticism.
17*b6fb3261SAndroid Build Coastguard Worker*   Focusing on what is best for the community.
18*b6fb3261SAndroid Build Coastguard Worker*   Showing empathy towards other community members.
19*b6fb3261SAndroid Build Coastguard Worker
20*b6fb3261SAndroid Build Coastguard WorkerExamples of unacceptable behavior by participants include:
21*b6fb3261SAndroid Build Coastguard Worker
22*b6fb3261SAndroid Build Coastguard Worker*   The use of sexualized language or imagery and unwelcome sexual attention or
23*b6fb3261SAndroid Build Coastguard Worker    advances.
24*b6fb3261SAndroid Build Coastguard Worker*   Trolling, insulting/derogatory comments, and personal or political attacks.
25*b6fb3261SAndroid Build Coastguard Worker*   Public or private harassment.
26*b6fb3261SAndroid Build Coastguard Worker*   Publishing others' private information, such as a physical or electronic
27*b6fb3261SAndroid Build Coastguard Worker    address, without explicit permission.
28*b6fb3261SAndroid Build Coastguard Worker*   Conduct which could reasonably be considered inappropriate for the forum in
29*b6fb3261SAndroid Build Coastguard Worker    which it occurs.
30*b6fb3261SAndroid Build Coastguard Worker
31*b6fb3261SAndroid Build Coastguard WorkerAll TensorFlow forums and spaces are meant for professional interactions, and any behavior which could reasonably be considered inappropriate in a professional setting is unacceptable.
32*b6fb3261SAndroid Build Coastguard Worker
33*b6fb3261SAndroid Build Coastguard Worker
34*b6fb3261SAndroid Build Coastguard Worker## Our Responsibilities
35*b6fb3261SAndroid Build Coastguard Worker
36*b6fb3261SAndroid Build Coastguard WorkerProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
37*b6fb3261SAndroid Build Coastguard Worker
38*b6fb3261SAndroid Build Coastguard WorkerProject 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, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
39*b6fb3261SAndroid Build Coastguard Worker
40*b6fb3261SAndroid Build Coastguard Worker
41*b6fb3261SAndroid Build Coastguard Worker## Scope
42*b6fb3261SAndroid Build Coastguard Worker
43*b6fb3261SAndroid Build Coastguard WorkerThis Code of Conduct applies to all content on tensorflow.org, TensorFlow’s GitHub organization, or any other official TensorFlow web presence allowing for community interactions, as well as at all official TensorFlow events, whether offline or online.
44*b6fb3261SAndroid Build Coastguard Worker
45*b6fb3261SAndroid Build Coastguard WorkerThe Code of Conduct also applies within project spaces and in public spaces whenever an individual is representing TensorFlow or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed or de facto representative at an online or offline event.
46*b6fb3261SAndroid Build Coastguard Worker
47*b6fb3261SAndroid Build Coastguard Worker
48*b6fb3261SAndroid Build Coastguard Worker## Conflict Resolution
49*b6fb3261SAndroid Build Coastguard Worker
50*b6fb3261SAndroid Build Coastguard WorkerConflicts in an open source project can take many forms, from someone having a bad day and using harsh and hurtful language in the issue queue, to more serious instances such as sexist/racist statements or threats of violence, and everything in between.
51*b6fb3261SAndroid Build Coastguard Worker
52*b6fb3261SAndroid Build Coastguard WorkerIf the behavior is threatening or harassing, or for other reasons requires immediate escalation, please see below.
53*b6fb3261SAndroid Build Coastguard Worker
54*b6fb3261SAndroid Build Coastguard WorkerHowever, for the vast majority of issues, we aim to empower individuals to first resolve conflicts themselves, asking for help when needed, and only after that fails to escalate further. This approach gives people more control over the outcome of their dispute.
55*b6fb3261SAndroid Build Coastguard Worker
56*b6fb3261SAndroid Build Coastguard WorkerIf you are experiencing or witnessing conflict, we ask you to use the following escalation strategy to address the conflict:
57*b6fb3261SAndroid Build Coastguard Worker
58*b6fb3261SAndroid Build Coastguard Worker1.  Address the perceived conflict directly with those involved, preferably in a
59*b6fb3261SAndroid Build Coastguard Worker    real-time medium.
60*b6fb3261SAndroid Build Coastguard Worker2.  If this fails, get a third party (e.g. a mutual friend, and/or someone with
61*b6fb3261SAndroid Build Coastguard Worker    background on the issue, but not involved in the conflict) to intercede.
62*b6fb3261SAndroid Build Coastguard Worker3.  If you are still unable to resolve the conflict, and you believe it rises to
63*b6fb3261SAndroid Build Coastguard Worker    harassment or another code of conduct violation, report it.
64*b6fb3261SAndroid Build Coastguard Worker
65*b6fb3261SAndroid Build Coastguard Worker## Reporting Violations
66*b6fb3261SAndroid Build Coastguard Worker
67*b6fb3261SAndroid Build Coastguard WorkerViolations of the Code of Conduct can be reported to TensorFlow’s Project Stewards, Thea Lamkin ([email protected]) and Joana Carrasqueira ([email protected]). The Project Steward will determine whether the Code of Conduct was violated, and will issue an appropriate sanction, possibly including a written warning or expulsion from the project, project sponsored spaces, or project forums. We ask that you make a good-faith effort to resolve your conflict via the conflict resolution policy before submitting a report.
68*b6fb3261SAndroid Build Coastguard Worker
69*b6fb3261SAndroid Build Coastguard WorkerViolations of the Code of Conduct can occur in any setting, even those unrelated to the project. We will only consider complaints about conduct that has occurred within one year of the report.
70*b6fb3261SAndroid Build Coastguard Worker
71*b6fb3261SAndroid Build Coastguard Worker
72*b6fb3261SAndroid Build Coastguard Worker## Enforcement
73*b6fb3261SAndroid Build Coastguard Worker
74*b6fb3261SAndroid Build Coastguard WorkerIf the Project Stewards receive a report alleging a violation of the Code of Conduct, the Project Stewards will notify the accused of the report, and provide them an opportunity to discuss the report before a sanction is issued. The Project Stewards will do their utmost to keep the reporter anonymous. If the act is ongoing (such as someone engaging in harassment), or involves a threat to anyone's safety (e.g. threats of violence), the Project Stewards may issue sanctions without notice.
75*b6fb3261SAndroid Build Coastguard Worker
76*b6fb3261SAndroid Build Coastguard Worker
77*b6fb3261SAndroid Build Coastguard Worker## Attribution
78*b6fb3261SAndroid Build Coastguard Worker
79*b6fb3261SAndroid Build Coastguard WorkerThis Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at https://contributor-covenant.org/version/1/4, and includes some aspects of the Geek Feminism Code of Conduct and the Drupal Code of Conduct.
80