Skip to content

[Test] Add boundary coverage for equal-size bucket outlier sampling - #18590

Open
Caideyipi wants to merge 2 commits into
apache:masterfrom
Caideyipi:codex/udtf-outlier-sample-boundary
Open

[Test] Add boundary coverage for equal-size bucket outlier sampling#18590
Caideyipi wants to merge 2 commits into
apache:masterfrom
Caideyipi:codex/udtf-outlier-sample-boundary

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Description

Add unit coverage for EQUAL_SIZE_BUCKET_OUTLIER_SAMPLE with large INT64 values and arithmetic boundary cases. The tests cover all four outlier methods (avg, stendis, cos, and prenextdis), including the long-value dataset from PR #17893 and cases exercising overflowing endpoint products and Long.MIN_VALUE differences.

Tests

  • mvn -o -pl iotdb-core/node-commons -am '-Dtest=UDTFEqualSizeBucketOutlierSampleTest' '-Dsurefire.failIfNoSpecifiedTests=false' test (6 tests)
  • mvn -o spotless:apply -pl iotdb-core/node-commons
  • git diff --cached --check

Related: #17893

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