Skip to content

feat(statistics): add exact paired sign test#338

Merged
drewstone merged 3 commits into
mainfrom
feat/exact-paired-sign-test
Jul 11, 2026
Merged

feat(statistics): add exact paired sign test#338
drewstone merged 3 commits into
mainfrom
feat/exact-paired-sign-test

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Summary

  • add an exact one-sided paired sign test for numeric task differences
  • require an explicit greater/less direction, exclude ties, and expose every denominator
  • reuse stable log-space binomial tails for McNemar without changing its result contract
  • release as additive 0.114.0

Why

R358 hard-coded the all-positive value for three tasks after its comparison fell to two.
This makes the statistic reusable and prevents another consumer from repeating that error.

Verification

  • pnpm typecheck
  • pnpm test — 2,810 passed, 2 skipped
  • pnpm build
  • pnpm lint — exit 0 with four pre-existing warnings
  • packed-package import and execution
  • clean merge tree against current origin/main

Compatibility

Additive root export; no fleet-wide bump required.

tangletools
tangletools previously approved these changes Jul 11, 2026

@tangletools tangletools left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Auto-approved drewstone PR — 009d1a1e

This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: drewstone_author · 2026-07-11T08:36:41Z

@tangletools tangletools left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Auto-approved drewstone PR — a0cf25fa

This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: drewstone_author · 2026-07-11T08:39:30Z

@drewstone drewstone merged commit 69e6578 into main Jul 11, 2026
1 check passed
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