-
Notifications
You must be signed in to change notification settings - Fork 82
feat(clp-s): Make lossless float retention the default behaviour for clp-s. #1321
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
feat(clp-s): Make lossless float retention the default behaviour for clp-s. #1321
Conversation
WalkthroughRename clp-s CLI option from --retain-float-format to --no-retain-float-format, invert the internal boolean to Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
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. Comment |
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: 3
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (3)
components/core/src/clp_s/CommandLineArguments.cpp
(1 hunks)components/core/src/clp_s/CommandLineArguments.hpp
(2 hunks)components/job-orchestration/job_orchestration/executor/compress/compression_task.py
(0 hunks)
💤 Files with no reviewable changes (1)
- components/job-orchestration/job_orchestration/executor/compress/compression_task.py
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{cpp,hpp,java,js,jsx,tpp,ts,tsx}
⚙️ CodeRabbit configuration file
- Prefer
false == <expression>
rather than!<expression>
.
Files:
components/core/src/clp_s/CommandLineArguments.hpp
components/core/src/clp_s/CommandLineArguments.cpp
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (15)
- GitHub Check: centos-stream-9-dynamic-linked-bins
- GitHub Check: centos-stream-9-static-linked-bins
- GitHub Check: ubuntu-jammy-static-linked-bins
- GitHub Check: package-image
- GitHub Check: ubuntu-jammy-dynamic-linked-bins
- GitHub Check: ubuntu-jammy-lint
- GitHub Check: musllinux_1_2-x86_64-static-linked-bins
- GitHub Check: musllinux_1_2-x86_64-dynamic-linked-bins
- GitHub Check: manylinux_2_28-x86_64-dynamic-linked-bins
- GitHub Check: manylinux_2_28-x86_64-static-linked-bins
- GitHub Check: build-macos (macos-15, true)
- GitHub Check: build-macos (macos-15, false)
- GitHub Check: build-macos (macos-14, true)
- GitHub Check: lint-check (macos-15)
- GitHub Check: lint-check (ubuntu-24.04)
🔇 Additional comments (2)
components/core/src/clp_s/CommandLineArguments.hpp (1)
105-107
: Getter inversion LGTM.Public API preserved while default behaviour flips; style aligns with guidelines.
components/core/src/clp_s/CommandLineArguments.cpp (1)
248-251
: Docs/help follow‑through — no occurrences of--retain-float-format
found.rg only matched the new flag declaration (components/core/src/clp_s/CommandLineArguments.cpp:248 — "no-retain-float-format") and a design-doc filename reference (components/core/src/clp_s/FloatFormatEncoding.hpp:16 → docs/src/dev-guide/design-retain-float-format.md). No other references to
--retain-float-format
detected; update any external docs/orchestration scripts outside this repo if needed.
Description
This PR follows up on #1176 by making lossless float retention the default behaviour for clp-s. This should be a fairly easy win, since our benchmarks on that PR showed that the compression ratio and performance overhead were minimal.
We may also want to change #1298 at the same time (or this PR if #1298 gets merged first) since the
--retain-float-format
flag will no longer be required.Checklist
breaking change.
Validation performed
--no-retain-float-format
flag work as expected.Summary by CodeRabbit
Refactor
Chores