-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add offset shift vector check #2818
base: main
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughThe pull request modifies the Changes
Possibly related PRs
Suggested labels
Suggested reviewers
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
[CHATOPS:HELP] ChatOps commands.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
tests/e2e/operation/stream.go (1)
1151-1155
: LGTM! Consider enhancing the error message.The implementation correctly handles the offset shift vector check by comparing against the original vector and its shifted variations. However, the error message could be more informative.
Consider improving the error message to indicate which variation was expected to match:
- t.Errorf( - "got: %#v, expected: %#v", - resp.GetVector(), - ds.Train[idx], - ) + t.Errorf( + "got: %#v, expected one of:\noriginal: %#v\nshift1: %#v\nshift2: %#v", + resp.GetVector(), + v, + append(v[1:], v[:1]...), + append(v[2:], v[:2]...), + )
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
tests/e2e/operation/stream.go
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (41)
- GitHub Check: dump-contexts-to-log
- GitHub Check: dump-contexts-to-log
- GitHub Check: dump-contexts-to-log
- GitHub Check: dump-contexts-to-log
- GitHub Check: dump-contexts-to-log
- GitHub Check: detect-ci-container / detect
- GitHub Check: dump-contexts-to-log
- GitHub Check: dump-contexts-to-log
- GitHub Check: detect-ci-container / detect
- GitHub Check: dump-contexts-to-log
- GitHub Check: dump-contexts-to-log
- GitHub Check: detect-ci-container / detect
- GitHub Check: detect-ci-container / detect
- GitHub Check: dump-contexts-to-log
- GitHub Check: detect-ci-container / detect
- GitHub Check: detect-ci-container / detect
- GitHub Check: detect-ci-container / detect
- GitHub Check: dump-contexts-to-log
- GitHub Check: detect-ci-container / detect
- GitHub Check: dump-contexts-to-log
- GitHub Check: dump-contexts-to-log
- GitHub Check: detect-ci-container / detect
- GitHub Check: detect-ci-container / detect
- GitHub Check: detect-ci-container / detect
- GitHub Check: detect-ci-container / detect
- GitHub Check: detect-ci-container / detect
- GitHub Check: dump-contexts-to-log
- GitHub Check: detect-ci-container / detect
- GitHub Check: detect-ci-container / detect
- GitHub Check: detect-ci-container / detect
- GitHub Check: detect-ci-container / detect
- GitHub Check: detect-ci-container / detect
- GitHub Check: detect-ci-container / detect
- GitHub Check: dump-contexts-to-log
- GitHub Check: detect-ci-container / detect
- GitHub Check: detect-ci-container / detect
- GitHub Check: dump-contexts-to-log
- GitHub Check: E2E test (Stream CRUD) for operator
- GitHub Check: E2E test (Stream CRUD)
- GitHub Check: detect-ci-container / detect
- GitHub Check: dump-contexts-to-log
Profile Report
|
Profile Report
|
Deploying vald with Cloudflare Pages
|
Description
SSIA
Related Issue
Versions
Checklist
Special notes for your reviewer
Summary by CodeRabbit