Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 3.13 KB

CONTRIBUTING.md

File metadata and controls

56 lines (38 loc) · 3.13 KB

Contributing to ULTRA

Note: ULTRA is developed under Python 3.6.

Welcome! ULTRA is a community project that aims to support research on unbiased learning to rank and online learning to rank. Your experience and what you can contribute are important to the project's success.

Discussion

If you run into unexpected behavior in ULTRA, have trouble on applying it to your code, or find a bug or a feature you would like to get, please do not hesitate to contact us!

The main forum for discussion is the project's GitHub issue tracker. This is the right place to start a discussion of any of the above or most any other topic concerning the project.

First Time Contributors

ULTRA appreciates your contribution! If you are interested in contributing to ULTRA, there are several ways to get started:

Submitting Changes

We use the standard GitHub pull-request flow, which may be familiar to you if you've contributed to other projects on GitHub -- see blow.

Anyone interested in ULTRA may review your code. One of the core developers will check and merge your pull request when they think it's ready. If you go a few days without a reply, please feel free to ping the thread by adding a new comment.

A list of ULTRA core developers can be found in Readme.

Contributing Flow

  1. Fork the latest version of ULTRA into your repo.
  2. Create an issue under ULTR-Community/ULTRA/, write description about the bug/enhancement.
  3. Clone your forked ULTRA into your machine, add your changes.
  4. Create json files in tests/test_settings/ (e.g.,tests/test_settings/test.json) to test models that have been changed. Please create separate json files to test each changed model.
  5. Run make test to ensure all tests passed on your computer.
  6. Run make format to use autopep8 to format your code.
  7. Push to your forked repo, then send the pull request to the official repo. In pull request, you need to create a link to the issue you created using #[issue_id], and describe what has been changed.
  8. We'll assign reviewers to review your code.

Your PR will be merged if:

  • Funcitonally benefit for the project.
  • With proper docstrings, see codebase as examples.
  • All reviewers approved your changes.

Thanks and let's improve ULTRA together!