-
Notifications
You must be signed in to change notification settings - Fork 1
5. How to contribuite
Firstly, it's important to note that the main
branch is the deployed branch, whereas the staging
branch is where development takes place. Consequently, only pull requests addressing critical bugs will be accepted against main
.
We suggest to follow the following steps:
-
(Optional) Open an issue to discuss and outline the sequence you intend to implement, and/or review the project roadmap.
-
Think about the best way to represent your sequence.
-
In the
sequentium.sequence.sequences
module, implement the sequence in the script corresponding to the category to which your sequence belongs. -
Implement tests for your sequence in the
sequentium.tests.tests_sequence
module. The test structure should resemble the following:
class TestSEQUENCENAME(SequenceTestSuite):
sequence = SEQUENCENAME()
sequence_name = 'sequence name'
ground_truth = [
...
]
ground_truth_length = len(ground_truth)
where SEQUENCENAME
is the name of your sequence.
-
Once the tests and the listing with Ruff are passing, open a pull request against the
staging
branch. -
Congratulations :-)