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(mapping-saturation): add missing edge case detection for too few data points. #512

Merged
merged 5 commits into from
Mar 20, 2023

Conversation

matthiasschaub
Copy link
Collaborator

@matthiasschaub matthiasschaub commented Mar 20, 2023

Description

  • fix(mapping-saturation): add missing edge case detection for too few data points.
  • test(mapping-saturation): add and rewrite tests
    • add tests for checking edge cases
    • rewrite tests to use pytest instead of unittest
    • introduce new session wide fixtures in conftest

Corresponding issue

Closes #507

Checklist

  • I have updated my branch to main (e.g. through git rebase main)
  • My code follows the style guide and was checked with pre-commit before committing
  • I have commented my code
  • I have added sufficient unit and integration tests
  • I have updated the CHANGELOG.md

@matthiasschaub matthiasschaub changed the title Fix ms few data points fix(mapping-saturation): Add missing edge case detection for too few data points. Mar 20, 2023
@matthiasschaub matthiasschaub changed the title fix(mapping-saturation): Add missing edge case detection for too few data points. fix(mapping-saturation): add missing edge case detection for too few data points. Mar 20, 2023
@matthiasschaub matthiasschaub marked this pull request as ready for review March 20, 2023 14:49
Add missing edge case detection for too few data points.

Closes #507
CHANGELOG.md Outdated Show resolved Hide resolved
joker234
joker234 previously approved these changes Mar 20, 2023
- add tests for checking edge cases
- rewrite tests to use pytest instead of unittest
- introduce new session wide fixtures in conftest
Change `self.latest_value` to `self.values[-1]`
joker234
joker234 previously approved these changes Mar 20, 2023
@matthiasschaub matthiasschaub merged commit 08e8ee1 into main Mar 20, 2023
@matthiasschaub matthiasschaub deleted the fix-ms-few-data-points branch March 20, 2023 16:26
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.

Internal Server Error when requesting the Mapping Saturation Indicator with to few data points
2 participants