Skip to content

Fix headings and verse 0 being used in quality estimation#3991

Merged
Nateowami merged 1 commit into
masterfrom
fix/quality_estimation
Jul 13, 2026
Merged

Fix headings and verse 0 being used in quality estimation#3991
Nateowami merged 1 commit into
masterfrom
fix/quality_estimation

Conversation

@pmachapman

@pmachapman pmachapman commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes a bug in quality estimation calculation where verses that only contained headings, and verse 0 was being included in the quality estimation calculation.

I have marked as testing not required, as the unit test covers the scope of the change, and it really can only be tested on production by an EITL.

I have verified the output of this as corresponding to the output from silnlp for the same confidence values.


This change is Reviewable

@pmachapman pmachapman added critical path PRs that are on our critical path and need attention to keep things moving. Priority 2nd. testing not required labels Jul 9, 2026
@pmachapman
pmachapman temporarily deployed to screenshot_diff July 9, 2026 02:32 — with GitHub Actions Inactive
@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.03%. Comparing base (f37ef19) to head (7cce811).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3991      +/-   ##
==========================================
- Coverage   81.03%   81.03%   -0.01%     
==========================================
  Files         645      645              
  Lines       41523    41522       -1     
  Branches     6739     6763      +24     
==========================================
- Hits        33650    33649       -1     
+ Misses       6774     6761      -13     
- Partials     1099     1112      +13     

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

@pmachapman
pmachapman force-pushed the fix/quality_estimation branch from bd0d8b8 to af32f76 Compare July 13, 2026 19:22
@pmachapman
pmachapman temporarily deployed to screenshot_diff July 13, 2026 19:29 — with GitHub Actions Inactive
@pmachapman
pmachapman force-pushed the fix/quality_estimation branch from af32f76 to afa0537 Compare July 13, 2026 19:30
@pmachapman
pmachapman temporarily deployed to screenshot_diff July 13, 2026 19:36 — with GitHub Actions Inactive
@pmachapman
pmachapman force-pushed the fix/quality_estimation branch from afa0537 to 7d7b4e9 Compare July 13, 2026 19:56
@pmachapman
pmachapman force-pushed the fix/quality_estimation branch from 7d7b4e9 to 7cce811 Compare July 13, 2026 19:59

@Nateowami Nateowami left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@Nateowami reviewed 2 files and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on pmachapman).

@pmachapman
pmachapman temporarily deployed to screenshot_diff July 13, 2026 20:06 — with GitHub Actions Inactive
@Nateowami
Nateowami merged commit 6e818b7 into master Jul 13, 2026
28 checks passed
@Nateowami
Nateowami deleted the fix/quality_estimation branch July 13, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

critical path PRs that are on our critical path and need attention to keep things moving. Priority 2nd. testing not required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants