Skip to content

test: add regression test for interval-based N counting#177

Merged
mmolari merged 1 commit intofix/block_consensusfrom
test/pr-176-interval-regression
Mar 16, 2026
Merged

test: add regression test for interval-based N counting#177
mmolari merged 1 commit intofix/block_consensusfrom
test/pr-176-interval-regression

Conversation

@ivan-aksamentov
Copy link
Copy Markdown
Member

Extends #176 with a test case that would fail if N counting used whole-block consensus instead of aligned intervals.

Scenario:

  • Block 1: 10 total Ns, but aligned interval has 0 Ns
  • Block 2: 1 total N, and aligned interval has 1 N

With whole-block counting: Block 2 wins (1 < 10)
With interval counting: Block 1 wins (0 < 1)

Extends #176 with a test case that would fail if N counting used whole-block
consensus instead of aligned intervals.

Scenario:
- Block 1: 10 total Ns, but aligned interval has 0 Ns
- Block 2: 1 total N, and aligned interval has 1 N

With whole-block counting: Block 2 wins (1 < 10)
With interval counting:    Block 1 wins (0 < 1)
@mmolari mmolari merged commit 3df33e6 into fix/block_consensus Mar 16, 2026
19 checks passed
@mmolari mmolari deleted the test/pr-176-interval-regression branch March 16, 2026 09:37
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