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

Fix/tests #10

Merged
merged 29 commits into from
Jan 16, 2024
Merged

Fix/tests #10

merged 29 commits into from
Jan 16, 2024

Conversation

b-butler
Copy link
Member

Description

See git log.

Motivation

To get working CI tests.

Do Changes Introduce Breaking Changes

Have you (if appropriate)

  • Updated changelog
  • Updated Documentation
  • Add tests
  • Added name to contributors

Removes a lingering generator argumentfrom the constructor and
errant documentation stating that the constructor expects a
generator argument.
Make maps and reducers which require a sequence input
such as percentiles in dupin.data.reduce.Percentiles require
a sequence of length at least one or raise a ValueError.
This is probably the expected behavior, and in the unusual case
where empty frames exist intermittently provides consistent
behavior.
Set index log values to np.nan when the index doesn't exist
if either the signal is too short or there are to many NANs.
Also raises warnings in these cases to inform the user.
Make it work in more cases. Also updates documentation.
We don't pin the requirements in requirements.txt but
do pin the requirements in ci-oldest-requirements.txt.
We also add the correct requirements for it.
Makes test despite using numpy.random functions directly
(implicitly through ruptures) deterministic.
Also fixes various syntax error along with
various formatting things.
@b-butler b-butler requested a review from a team January 12, 2024 21:38
This was introduced only in Python 3.10.
Copy link

codecov bot commented Jan 12, 2024

Welcome to Codecov 🎉

Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.

Thanks for integrating Codecov - We've got you covered ☂️

Keep updating until CI tests pass.
Need to check for ValueError and TypeError in pytest.raises.
Tests (due to the specific signal generated) fail on Python 3.9, but not on other Pythons.
Ensure test can finish on Python 3.9 before deadline.
We expect our tests to hit these cases through hypothesis testing.
@b-butler b-butler merged commit 3a0afa7 into main Jan 16, 2024
8 checks passed
@b-butler b-butler deleted the fix/tests branch January 16, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant