Skip to content

fix(ENGKNOW-3485): Fix varnorm shifting N vars to far.#120

Open
gmagnu wants to merge 5 commits into
mainfrom
ENGKNOW-3485-gor-varnorm-to-handle-larger-shifts
Open

fix(ENGKNOW-3485): Fix varnorm shifting N vars to far.#120
gmagnu wants to merge 5 commits into
mainfrom
ENGKNOW-3485-gor-varnorm-to-handle-larger-shifts

Conversation

@gmagnu

@gmagnu gmagnu commented May 31, 2026

Copy link
Copy Markdown
Contributor
  • Fixed varnorm shifting N var to far (removed old incorrect fix for N and did it correctly)
  • Added tests

@github-actions

github-actions Bot commented May 31, 2026

Copy link
Copy Markdown

Junit Tests - Summary

4 698 tests  +54   4 521 ✅ +54   17m 54s ⏱️ +10s
  473 suites ± 0     177 💤 ± 0 
  473 files   ± 0       0 ❌ ± 0 

Results for commit 703ffac. ± Comparison against base commit cb978ca.

♻️ This comment has been updated with latest results.

gmagnu and others added 4 commits June 8, 2026 13:41
The two "N in refSeq stops outer loop" tests claimed the outer
repeat-extension loop stops via an "explicit != 'N' guard". No such
guard exists. The outer loop compares two refSeq bases exactly L apart
(L = indel length = repeat period), so at the repeat->N boundary the
leading base is 'N' while its partner is still a non-N repeat base ->
the loop stops by mismatch, not a guard. Period-L spacing makes the
outer loop inherently N-safe; only the inner loops needed the guard.

Comment-only change. All 52 UTestVarnormAnalysis tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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