Repository navigation
Simplify parallel polynomial scheduling with floating-point timing - #21
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #21 +/- ##
==========================================
- Coverage 92.25% 92.21% -0.04%
==========================================
Files 18 18
Lines 1601 1593 -8
==========================================
- Hits 1477 1469 -8
Misses 124 124 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace the scheduler’s integer-clock arithmetic and associated representation/period overflow checks with calculations in floating-point seconds.
Preserve the existing progress estimate, worker-selection rule, and 15/30-second batch budgets. Keep completion and count validation, reject invalid timing estimates, and cap the calculated batch before converting to
size_t. Estimates below one polynomial continue to use the existing serial fallback.Exact clock-tick truncation is no longer preserved, so scheduling decisions can differ near timing boundaries. Update the native diagnostics to check the seconds-based policy and safety guarantees rather than historical integer rounding.
Validation:
R CMD check --no-manualcompleted withStatus: OK.Native diagnostics remain development-only. No sanitizers were run, and no CI workflows or dependencies changed.