Skip to content

Code of Conduct #6070

Closed
Closed

Description

@alison985

Hi,

I'm just wondering what your code of conduct is for this project?

Thanks,
Alison

Activity

  1. GaelVaroquaux commented on Dec 20, 2015

    @GaelVaroquaux
    Member

    Hi Alison,

    As @mitsuhiko replied to a similar question on pallets/flask#1660 : we do not have an official code of conduct. We have found over the years that a code of conduct was not necessary, and that respect and friendliness arises without.

    We strive to be a friendly community. Openness is a core value, as well as respect. Our exchanges are based on the technical virtue of contributions, in an effort to make the best software possible.

  2. amueller commented on Jul 26, 2016

    @amueller
    Member

    It was pointed out to me that an official COC might lower the barrier to entry to the project. In particular minorities (such as, unfortunately, women) might feel more welcome if there is an explicit statement about inclusiveness. I think we are doing well in being open, but a person might not even start a discussion if they feel discouraged by a nearly-all male, french-indian project ;)

  3. changed the title [-]COC?[/-] [+]Code of Conduct[/+] on Jul 26, 2016
  4. amueller commented on Jul 26, 2016

    @amueller
    Member

    @alison985 can I ask what your motivation was?

  5. nelson-liu commented on Jul 26, 2016

    @nelson-liu
    Contributor

    what actually is in a code of conduct though? wikipedia defines it as 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.. I'm not quite sure how this itself is a statement of inclusiveness?

    I'm all for such a statement, but I don't think a code of conduct is what fits the bill?

  6. amueller commented on Jul 26, 2016

    @amueller
    Member

    @nelson-liu I think the code of conduct would be the right place for something like that. Check out the red cross one: https://en.wikipedia.org/wiki/Code_of_Conduct_for_the_International_Red_Cross_and_Red_Crescent_Movement_and_NGOs_in_Disaster_Relief

    However, we could also just add a statement to the Readme.md in the repo and to the website in the dev docs.

  7. GaelVaroquaux commented on Jul 26, 2016

    @GaelVaroquaux
    Member
  8. amueller commented on Jul 26, 2016

    @amueller
    Member

    Yeah, I'd rather have a short and visible (not intrusive) statement of openness and inclusiveness then some long-winded COO.
    I talked with some female coders and I had the impression that at least some of them would appreciate adding a statement like that, and it might encourage contributions from a more diverse crowd.
    I'm happy to work with you on wording or review anything.

    Either I or you can also just create a PR. If we say "We aspire to treat everybody equal, and value their contributions" I don't think we need to have very formal approval. We don't need to say "The core values of scikit-learn are: X, Y, Z" which I feel would need more concrete approval. Either way, I think we're on the same page.

  9. GaelVaroquaux commented on Jul 26, 2016

    @GaelVaroquaux
    Member
  10. amueller commented on Jul 26, 2016

    @amueller
    Member

    My statement wasn't meant as a draft and I agree we should include the ideas you mentioned.

    And I'm happy to go through a vetting process.

    I think something in the readme.md at the bottom would be good after #7018 is merged.
    Depending on the length, either the statement or a link to it on the website.

    I'm not sure where on the website. We could shuffle around stuff on the frontpage and have another box above the one that is at the bottom. Or we could reformat the community box? (The contact stuff is probably better covered by #7032)

  11. NelleV commented on Jul 26, 2016

    @NelleV
    Member

    I would reformat the community box. I don't think we need a whole box for the statement of openess and the frontpage is getting crowded.

    @amueller : I am surprised that you link the SCHR Code of Conduct as an example of CoC. It is quite atypical in the way it is written, what it contains and how it is used and applied. It is one of the rare examples of code of conducts that make sense to me and that I strongly support: it lists values and principles that are crucial for the work the Red Cross does, both internationally and in local branches. It is not arrogant, nor states absolute obvious elements like many codes of conducts.
    Note: like Gael, I have mixed feeling about CoC and how they are used and applied in the Python community.

  12. amueller commented on Jul 26, 2016

    @amueller
    Member

    I'm not very familiar with how CoC are usually written but I did a quick google and that was one that lined up well with my expectations. It's too bad if that is not the norm.
    Can you give examples of codes of conducts and their use in the python community? I'm not very familiar with it.
    My main motivation was "I think we're pretty nice, and if we tell people we're nice, maybe they are less intimidated". I was told that opening an issue or PR can be intimidating and I'd try to lower the social barrier to entry there.

  13. d0ugal commented on Jul 27, 2016

    @d0ugal
  14. amueller commented on Jul 27, 2016

    @amueller
    Member

    @NelleV Would you mind explaining to me why you don't like the PSF one? (or is there a rant somewhere by you or someone else that I can read)? It seem you have thought much more about this than I have. Also, do you have any opinions about adding some statement given that you are part of a gender minority? I have no idea what your experience is.

    Here are some things I think I don't particularly like about the psf one:
    I find the phrasing "A member of the python community is ..." somewhat odd. So if I behave badly, does that mean I'm expelled from the community? Or does it just falsify the statement?

    It also seems quite abstract. I generally agree with

    When we disagree, we are courteous in raising our issues.

    But it's somewhat unspecific. What does it mean to raise an issue courteously? (You could say something like stay to the facts and don't attack the person etc).

    I think the pypa is better in this respect, in that it is more concrete. What I don't like about that one is that it is all written in negatives ("thou shall not troll") and consequences ("we'll ban you").
    That doesn't send a great message imho.

  15. GaelVaroquaux commented on Jul 27, 2016

    @GaelVaroquaux
    Member
  16. NelleV commented on Jul 27, 2016

    @NelleV
    Member

    @amueller I think my opinion on CoC have degraded other time, not only because of their content, but also the way they are being pushed anywhere and everywhere without consideration of the context. Ironically, many of the people who absolutely want codes of conduct tend not to be open, considerate nor respectful when discussing about those… The PSF one has in fact evolved a lot during the years, and became much more positive and open.

    My first thought when reading a code of conduct close to the PSF one was "what the heck is wrong with these people… To have a statement like this, something must have gone really wrong at some point and I want to have nothing to do with those guys". It is actually a reaction I have seen by other women from outside this community as well.

    Second, these are too long, and as @GaelVaroquaux mentioned, sounds like a parent teaching a kid. I personally think my parents have done a great job raising me, and I don't need a someone to tell me what open, considerate and respectful is. I'd be much happier with a statement saying "We, as a community, strive to be open, considerate and respectful to all". It's short, and to the point.

    Third, it looks like a contract despite the fact it has no legal value (in many countries at least). It gives a false sense of "safety" to people. For example, the pypa one has a statement about sexual harassment. My university has a lot of statement about sexual harassment all over campus, but it doesn't prevent it being widely spread on campus (three scandals in 9 months around here… That'd got to be a record…).

    Last but not least, these are just words, and words without thoughts and actions are nothing. If scikit-learn adopts a code of conduct it should be thoroughly discussed by the contributors so that everyone agrees on the content, and how to deal with potential breaches. If the goal is to have a code of conduct just to make a few people happy, but then no one is there to deal with infringement, it does more harm than good.

    My opinion as a minority in the community… I have never had any problems, thought I know these exists. I think it actually has been more of an advantage than anything else: people remembered me as I was one of the few women at conferences (I am referring to a time where there was 1% female attendees at python conferences)…
    I am also aware that I have worked with amazing people, amazing projects and an amazing community. I have always felt welcomed at events, and felt my contributions to projects welcome. I don't think that any of my contributions have been judged differently because I am a woman both here in the scikit-learn community and or in matplotlib (I am not sure many people realize that I am, or care for that matter).
    For me, a community or a project having a code of conduct is not going to change whether I am going to contribute to that project or not. I've had great experiences with projects without codes of conducts and poor experiences with projects with codes of conducts.

  17. amueller commented on Jul 27, 2016

    @amueller
    Member

    @NelleV Thanks for your thoughts.

    Maybe @willingc is interested in this discussion.

  18. willingc commented on Jul 27, 2016

    @willingc
    Contributor

    Hi @amueller and others,

    Personally, I believe that a Code of Conduct demonstrates that the minimal level of commitment that a project that needs to welcome new high-quality contributors. As a document is limited by being a bunch of bits or ink and paper, the individual community members' actions set the tone for whether or not a project is welcoming.

    Others make good points in the preceding messages. Yet to me, the value of a code of conduct (i.e. PSF and NumFocus are reasonable examples) is twofold: 1) welcome new contributors; 2) communicate the fundamental community norms. Lack of a code of conduct can send the unanticipated message to new contributors that the active community sees no issue with the way the community is operating.

    If you wish to expand your contributors to your successful project, I would follow best practice and adopt a high quality existing CoC.

  19. amueller commented on Jul 27, 2016

    @amueller
    Member

    @willingc I actually see no issue with the way the scikit-learn community is operating. Which is I think what @GaelVaroquaux brought up before. At least from our standpoint, things are going well. There is a lack of diversity, but I don't think it's caused by the behavior of members of the community.

  20. GaelVaroquaux commented on Jul 27, 2016

    @GaelVaroquaux
    Member
  21. willingc commented on Jul 28, 2016

    @willingc
    Contributor

    @amueller @GaelVaroquaux I agree that the community is very skilled and those that I have met and worked with have been friendly and collaborative 👍 Overall, that is the most important thing.

    I think often folks see a code of conduct as preventing people from doing something wrong or that there is already a problem. That's not how I see it at all. I see a code of conduct (or really whatever the scikit-learn community wishes to call it) as an opportunity to share with those that don't know you well that you ARE a welcoming community that cares about contributors and creating a great machine learning project.

    Keep being welcoming and thoughtful. I enjoyed the chat and collaboration with @amueller at SciPy ☀️

    P.S. I also think that it's really cool that @NelleV is a core developer on the project. Family FTW.

  22. jnothman commented on Jul 28, 2016

    @jnothman
    Member

    While I've not read all of the commentary here, and acknowledging @willingc's claim that a CoC is strongest in its positive messages, I feel that #7097 lacks relative to the contributor-covenant.org standard in not assuring its reader that the code is in some way enforceable/enforced. I actually think that's a valuable reassurance that turns CoC from lip-service to a sense of responsibility.

  23. GaelVaroquaux commented on Jul 28, 2016

    @GaelVaroquaux
    Member

    I don't like very much the contributor-covenant.org CoC. It feels like a political statement with an agenda. On the website of the contributor-covenant it is actually even more clear that there is an agenda (it discusses how meritocracy often results in greater inequality). I know that some people would be uncomfortable with some minor parts of it. I agree with the political views that the contributor-covenant.org CoC states, and even with the guiding lines of the agenda. But I also feel that we should keep political views outside of the project. To give a (maybe stupid) example, I wouldn't wear the same politically-oriented t-shirts at a gay pride or at work. The project should be as neutral as possible.

    In this respect, I really like the PSF's CoC, which I believe is worded around core values.

    In addition, I don't like sending negative messages. I find that this CoC is focused on "don't", rather than "does". Given that we have, AFAIK, no problems in the community, I'd focus on being positive.

    With regards to enforcing the CoC, an open-source project happens on a virtual space. Unlike at a conference, we cannot take strong actions about safety (though I am aware that in the past insecurity on the web has turned into physical insecurity).

    That said, what most people don't know, is that I have more than once, in the past, sent private emails to comment on behaviors that I felt were inadequate. Very seldom, of course, and the people who are agressive tend to naturally leave the community. If, at any time, a situation develops where we have to sent a "don't do this message", I will gladly send this message publicly, in my name, or in that of the project. In the mean, I'd be quite happy if we could keep positive messages.

    I'd like to finish this comment by stating very clearly our position with regards to problems mentioned on contributor-covenant.org: we are not a community where inappropriate human or social behavior of "rock star coders" is accepted because they are super coders. Certain communities can be lenient to people with "merit". These are not our values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions