Skip to content

Add HRV RQA regression tests - #1206

Open
Aman-Tripathi27 wants to merge 1 commit into
neuropsychology:masterfrom
Aman-Tripathi27:test-hrv-rqa
Open

Add HRV RQA regression tests#1206
Aman-Tripathi27 wants to merge 1 commit into
neuropsychology:masterfrom
Aman-Tripathi27:test-hrv-rqa

Conversation

@Aman-Tripathi27

Copy link
Copy Markdown

Summary

  • add deterministic coverage for valid HRV RQA input and output schema
  • verify custom dimension, delay, and tolerance parameters affect the recurrence rate
  • verify short input returns the expected validation error

Testing

  • MPLCONFIGDIR=/private/tmp/neurokit-matplotlib python3 -m pytest -o addopts="" tests/tests_hrv.py -k hrv_rqa -q

Result: 3 passed.

@welcome

welcome Bot commented Sep 2, 2026

Copy link
Copy Markdown

Thanks for opening this pull request! We'll make sure it's perfect before merging 🤗 force
Make sure to read the contributing guide. Also, if you think that your contribution is worthy of it, you can consider adding yourself to the Contributors list (feel free to ask us if you have any doubts).

@codecov-commenter

codecov-commenter commented Sep 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.26%. Comparing base (ff419d9) to head (41b3f73).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1206      +/-   ##
==========================================
+ Coverage   57.78%   58.26%   +0.48%     
==========================================
  Files         310      310              
  Lines       15680    15680              
==========================================
+ Hits         9060     9136      +76     
+ Misses       6620     6544      -76     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants