Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 3.26 KB

CONTRIBUTING.md

File metadata and controls

62 lines (47 loc) · 3.26 KB

How to contribute?

Did you find a bug?

  • Ensure the bug was not already reported by searching on GitHub under Project Issues.
  • Please avoid opening issues asking to be "assigned" to a particular algorithm. This merely creates unnecessary noise for maintainers. Instead, please submit your implementation in a pull request, and it will be evaluated by project maintainers.
  • If you are unable to find an open issue referring to the same problem, depending on the type of issue follow the appropriate steps:

Do you want to contribute to the documentation?

Do you want to add a new feature?

  • Open a new one issue. Be sure to include a title and a clear description and a test case demonstrating the new feature that you want to add to the project.
Contributing to Algorithms (Make sure to check all the points below before opening a PR)
  • Make sure you follow proper coding standards and naming conventions. and Binary Search Test as a reference.
  • Add the algorithm implementation as an object and not as a class
  • Add proper comments about the algorithm implementation and the functions present in the algorithm
  • Add a test spec in the test folder under the same domain as that of your algorithm. PRs without a test spec would not be accepted!
  • Add at least 1 positive and 1 negative test in the test spec
  • Raise a PR for the algorithm object file and the test spec
  • How to write a test case in Scala

Contributing to Tests

  • You can contribute tests for a specific algorithm
  • Add as many tests as you can and try to cover all the borderline test cases
  • Open a PR with for your testSpec
  • Make sure you are not adding redundant test cases
  • If you see that the algorithm fails for a particular test case, then open an issue with proper explanation.
  • How to write a test case in Scala

Do you want to fix a bug?

  • Open a new issue.Be sure to include a title and a clear description and a test case demonstrating the expected behaviour that is not occurring.

Do you have questions about the source code?

👍🎉 That's all you need to know about the process now it's your turn to help us improve the repository, thank you again! 👍🎉