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

Replace magic number 4 with NUM_STATES. Add comments. #108

Merged
merged 3 commits into from
Apr 15, 2024
Merged

Replace magic number 4 with NUM_STATES. Add comments. #108

merged 3 commits into from
Apr 15, 2024

Conversation

awong-dev
Copy link
Collaborator

Makes the hmm code more understandable for folks (like me) who don't actually know viterbi well.

Also avoids leaking magic number from the implementation into the public API.

Copy link

codecov bot commented Apr 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.62%. Comparing base (46e4273) to head (2eaacd5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #108   +/-   ##
=======================================
  Coverage   84.62%   84.62%           
=======================================
  Files           8        8           
  Lines        2036     2036           
=======================================
  Hits         1723     1723           
  Misses        313      313           

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

Copy link

codspeed-hq bot commented Apr 14, 2024

CodSpeed Performance Report

Merging #108 will not alter performance

Comparing hmm (2eaacd5) with main (46e4273)

Summary

✅ 10 untouched benchmarks

src/hmm.rs Outdated Show resolved Hide resolved
src/hmm.rs Outdated Show resolved Hide resolved
src/hmm.rs Outdated Show resolved Hide resolved
@messense messense merged commit 5f541da into main Apr 15, 2024
10 checks passed
@messense messense deleted the hmm branch April 15, 2024 04:42
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.

2 participants