Skip to content

Commit b9bc304

Browse files
committed
Add contribution guidelines
Signed-off-by: Vadim Markovtsev <[email protected]>
1 parent 21fa269 commit b9bc304

File tree

3 files changed

+129
-6
lines changed

3 files changed

+129
-6
lines changed

CODE_OF_CONDUCT.md

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of experience,
9+
education, socio-economic status, nationality, personal appearance, race,
10+
religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [email protected]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org

CONTRIBUTING.md

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Contributing Guidelines
2+
3+
awesome-machine-learning-on-source-code project is [CC-BY-SA 4.0 licensed](https://creativecommons.org/licenses/by-sa/4.0/) and accepts contributions via GitHub pull requests and twits to [@srcd_](https://twitter.com/srcd_).
4+
This document outlines some of the conventions on submission workflow, commit message formatting, contact points, and other resources to make it easier to get your contribution accepted.
5+
6+
7+
## Support Channels
8+
9+
The official support channels, for both users and contributors, are:
10+
11+
- GitHub [issues](https://github.com/src-d/awesome-machine-learning-on-source-code/issues)*
12+
- Slack: #machine-learning room in the [source{d} Slack](https://join.slack.com/t/sourced-community/shared_invite/enQtMjc4Njk5MzEyNzM2LTFjNzY4NjEwZGEwMzRiNTM4MzRlMzQ4MmIzZjkwZmZlM2NjODUxZmJjNDI1OTcxNDAyMmZlNmFjODZlNTg0YWM)
13+
14+
*Before opening a new issue or submitting a new pull request, it's helpful to
15+
search the project - it's likely that another user has already reported the
16+
issue you're facing, or it's a known issue that we're already aware of.
17+
18+
19+
## How to Contribute
20+
21+
Pull Requests (PRs) are the main way to contribute.
22+
In order for a PR to be accepted it needs to pass a list of requirements:
23+
24+
- Follow the link template*.
25+
- Be correctly classified as a paper, a blog post, a talk, a software or a dataset.
26+
- Not be a duplicate.
27+
- All the PRs have to pass the personal evaluation of at least one of the [maintainers](MAINTAINERS.md).
28+
29+
*Link template:
30+
31+
```
32+
* [Title](URL) - Description.
33+
```
34+
35+
Description should not start with "A" or "The". For papers, it should include the authors.
36+
37+
### Format of the commit message
38+
39+
The commit summary must start with "Add" and end with a dot.
40+
```
41+
42+
### Deprecation
43+
44+
A listed repository should be deprecated if:
45+
46+
* Repository's owner explicitly says that "this library is not maintained".
47+
* Not committed for long time (2~3 years).
48+
49+
To mark a repository as deprecated, put `[DEPRECATED]` before the title and move it at the bottom of the list.
50+

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,17 @@ A curated list of awesome machine learning frameworks and algorithms that work o
106106
* [Naturalize](https://github.com/mast-group/naturalize) - Language agnostic framework for learning coding conventions from a codebase and then expoiting this information for suggesting better identifier names and formatting changes in the code.
107107
* [Extreme Source Code Summarization](https://github.com/mast-group/convolutional-attention ) - Convolutional attention neural network that learns to summarize source code into a short method name-like summary by just looking at the source code tokens.
108108
* [Summarizing Source Code using a Neural Attention Model](https://github.com/sriniiyer/codenn) - CODE-NN, uses LSTM networks with attention to produce sentences that describe C# code snippets and SQL queries from StackOverflow. Torch over C#/SQL
109-
* [Probabilistic API Miner](https://github.com/mast-group/api-mining) - PAM is a near parameter-free probabilistic algorithm for mining the most interesting API patterns from a list of API call sequences.
110-
* [Interesting Sequence Miner](https://github.com/mast-group/sequence-mining) - ISM is a novel algorithm that mines the most interesting sequences under a probabilistic model. It is able to efficiently infer interesting sequences directly from the database.
111-
* [TASSAL](https://github.com/mast-group/tassal) - TASSAL is a tool for the automatic summarization of source code using autofolding. Autofolding automatically creates a summary of a source code file by folding non-essential code and comment blocks.
109+
* [Probabilistic API Miner](https://github.com/mast-group/api-mining) - Near parameter-free probabilistic algorithm for mining the most interesting API patterns from a list of API call sequences.
110+
* [Interesting Sequence Miner](https://github.com/mast-group/sequence-mining) - Novel algorithm that mines the most interesting sequences under a probabilistic model. It is able to efficiently infer interesting sequences directly from the database.
111+
* [TASSAL](https://github.com/mast-group/tassal) - Tool for the automatic summarization of source code using autofolding. Autofolding automatically creates a summary of a source code file by folding non-essential code and comment blocks.
112112
* [JNice2Predict](http://www.nice2predict.org/) - Efficient and scalable open-source framework for structured prediction, enabling one to build new statistical engines more quickly.
113113

114114
<a name="software-utilities"></a>
115115
#### Utilities
116-
* [go-git](https://github.com/src-d/go-git) - A highly extensible Git implementation in pure Go which is friendly to data mining.
116+
* [go-git](https://github.com/src-d/go-git) - Highly extensible Git implementation in pure Go which is friendly to data mining.
117117
* [hercules](https://github.com/src-d/hercules) - Git repository mining framework with batteries on top of go-git.
118-
* [bblfsh](https://github.com/bblfsh) - A self-hosted server for source code parsing.
119-
* [engine](https://github.com/src-d/engine) - A scalable and distributed data retrieval pipeline for source code.
118+
* [bblfsh](https://github.com/bblfsh) - Self-hosted server for source code parsing.
119+
* [engine](https://github.com/src-d/engine) - Scalable and distributed data retrieval pipeline for source code.
120120
* [minhashcuda](https://github.com/src-d/minhashcuda) - Weighted MinHash implementation on CUDA to efficiently find duplicates.
121121
* [kmcuda](https://github.com/src-d/kmcuda) - k-means on CUDA to cluster and to search for nearest neighbors in dense space.
122122
* [wmd-relax](https://github.com/src-d/wmd-relax) - Python package which finds nearest neighbors at Word Mover's Distance.

0 commit comments

Comments
 (0)