Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT REVIEW] Refactor + Add assertions + Tests for offset related functions in subsets.py. #1698

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

pratyai
Copy link
Collaborator

@pratyai pratyai commented Oct 21, 2024

Currently it just fails with invalid index error for certain cases. Also, the methods are not documented, which is bad because their behaviour is not very consistent, so we should at least have it commented on.

`subsets.py`.

Currently it just fails with invalid index error for certain cases.
Also, the methods are not documented, which is bad because their
behaviour is not very consistent.
@pratyai pratyai marked this pull request as ready for review October 21, 2024 10:04
@pratyai pratyai added the no-ci Do not run any CI or actions for this PR label Oct 21, 2024
@pratyai pratyai marked this pull request as draft October 21, 2024 13:22
@pratyai pratyai removed the no-ci Do not run any CI or actions for this PR label Oct 21, 2024
@pratyai pratyai marked this pull request as ready for review October 21, 2024 15:33
order of a set is not specified, we should be able to handle that too
(e.g., by returning from `offset_by()` a map from indices to new values,
instead of just a sequence).
@pratyai pratyai marked this pull request as draft October 23, 2024 22:52
@pratyai pratyai removed the request for review from acalotoiu October 23, 2024 22:53
@pratyai pratyai added the no-ci Do not run any CI or actions for this PR label Oct 24, 2024
@pratyai pratyai changed the title Refactor + Add assertions + Tests for offset related functions in subsets.py. [DO NOT REVIEW] Refactor + Add assertions + Tests for offset related functions in subsets.py. Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-ci Do not run any CI or actions for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant