Skip to content

feat(aggregation): Add CardinalityAggregation#57

Merged
MatusBoa merged 2 commits into
mainfrom
feat-cardinality-aggregation
Apr 16, 2026
Merged

feat(aggregation): Add CardinalityAggregation#57
MatusBoa merged 2 commits into
mainfrom
feat-cardinality-aggregation

Conversation

@MatusBoa
Copy link
Copy Markdown
Contributor

No description provided.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 16, 2026

Warning

Rate limit exceeded

@MatusBoa has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 0 minutes and 31 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 0 minutes and 31 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 43d0c9a0-5d3f-40b1-a5d7-be90fa9aacf2

📥 Commits

Reviewing files that changed from the base of the PR and between 8b88077 and 5fa4cb3.

📒 Files selected for processing (7)
  • AGENTS.md
  • README.md
  • src/Aggregation/AGENTS.md
  • src/Aggregation/CardinalityAggregation.php
  • src/Exception/Aggregation/InvalidPrecisionThresholdException.php
  • tests/Integration/Aggregation/CardinalityAggregationTest.php
  • tests/Unit/Aggregation/CardinalityAggregationTest.php
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat-cardinality-aggregation

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Apr 16, 2026

Coverage Report for CI Build 24508720295

Coverage remained the same at 100.0%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: 15 of 15 lines across 1 file are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 459
Covered Lines: 459
Line Coverage: 100.0%
Coverage Strength: 10.84 hits per line

💛 - Coveralls

Implement cardinality metrics aggregation with optional precision_threshold
parameter. Validates threshold must be positive. Includes InvalidPrecisionThresholdException
and full unit test coverage (8 tests).
Add integration tests verifying distinct count on keyword and keyword fields
with precision_threshold. Add CardinalityAggregation section to README.
@MatusBoa MatusBoa force-pushed the feat-cardinality-aggregation branch from 87b3202 to 5fa4cb3 Compare April 16, 2026 11:53
@MatusBoa MatusBoa merged commit 017721d into main Apr 16, 2026
10 checks passed
@MatusBoa MatusBoa deleted the feat-cardinality-aggregation branch April 16, 2026 11:55
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