Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 2.24 KB

CONTRIBUTING.md

File metadata and controls

48 lines (31 loc) · 2.24 KB

Contributing guidelines

Pull Request Checklist

Before sending your pull request, make sure you followed this list.

How to become a contributor and submit your own code

Contributor License Agreements

This repository was published for public or research good. If you are going to contribute to this project, please make sure to own the intellectual property, especially while you work for a corporate.

General guidelines

If you are interesting to IOUTracker, send us your request! You can refer to the how to from Github, if you are just getting started.

  • Running the unit tests is necessary, no matter in contributing new features or fixing bugs.
  • Keep API compatibility or consistency in mind, especially those related to functionalities.
  • While merging your pull requests, the burden is transferred to our team. Please follow the coding style. We will also trade-off the cost of the maintenance and the benefit of the contributed features.

Coding Style

In IOUTracker, Python is the default implemented programming language. You can use pylint to check your Python changes using our coding style.

pip install pylint
pylint --rcfile=.pylintrc yourfile.py

Running unit tests

In IOUTracker, there are two main unit tests you can run. One is for the main algorithm, and the other is for evaluating metrics. Before you

# unittests on the main algorithm, IOUTracker
python -m ioutracker.src.IOUTrackerTests

# unittests on the metrics, MOTMetrics
python -m ioutracker.metrics.MOTMetricsTests