test(parallel): bound public control and workspace inputs - #767
Conversation
|
Warning Review limit reached
Next review available in: 12 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (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 |
180e42f to
ffead4b
Compare
Buyer-visible reliability / input-integrity gap
Public
parallel_analysis()currently coercesn_iterations,centile, andseedthroughint(...)and has no package-owned pre-dispatch ceiling for the Rust random-benchmark simulation workspace. Booleans, floats, strings, and caller-defined integer conversion hooks can therefore cross an integer control boundary, while a very large iteration count can request an impracticaln_iterations * n_itemsf64allocation before a stable resource error.Intentional fail-first slice
This Draft currently contains tests only. The RED requires:
__int__hooks not to execute;seedto be validated against the Rustu64transport range; andA valid RED must reach these public-boundary assertions after normal package setup; setup/import/fixture/changelog failure is not acceptance evidence.
Planned minimum GREEN
After exact-head RED is observed, add the narrowest Python + Rust resource/input validation:
int/ NumPy integer; excluding bool) with stable non-reflective errors;n_iterations * n_items * sizeof(f64)allocation, enforced in Python before PyO3 and independently inmlsirm-corebefore allocation;u64seed range validation;Advances the resource/input-integrity work under #627 without widening into a new factor-retention algorithm or changing numerical ownership.