superseded: option-validation edge contract inherited by #126 - #97
superseded: option-validation edge contract inherited by #126#97seonghobae wants to merge 5 commits into
Conversation
Adds validation for conf.level in icci, and nested and adj in vuongtest to prevent raw execution errors from leaking internal details.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Warning Review limit reachedNext included review available in 39 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
Changes내보낸 함수 입력 검증
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: 🟡 Moderate · up to vuongtest() still accepts unsupported adjustment values such as "AIC" or "aic " and may return a statistic without the adjustment the caller requested. The related tests are expected to fail, so the PR is not merge-ready until the allowed values are enforced. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (4 skipped: 4 unsupported.) ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
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 |
Update validation to check if adj is one of "none", "aic", or "bic" as expected by tests.
…before model processing` Restores the test accidentally deleted when I pushed an earlier commit.
| if (!is.logical(nested) || length(nested) != 1 || is.na(nested)) { | ||
| stop("nested must be a single logical value", call. = FALSE) | ||
| } |
There was a problem hiding this comment.
Superseded by #126
Fresh exact-head audit at
31949e9fcd033036eaf2d12d9ecb626a146bba5bfound the same exportednested/adj/conf.levelvalidation semantics as canonical #126 plus one useful focused regression: unsupported adjustment strings including""and"aic "are rejected before model processing and the package-owned error has a null condition call.That unique regression has now been inherited by Draft #126@
4af198147f33a83cb62d1e66f6d95eaf2b06d838. Its persistent exported-boundary suite covers those two values in addition to NA/NULL/wrong-type/vector/boundary cases and assertsconditionCall(err) == NULLfor all package-owned option-validation failures. #126 therefore carries a strict superset of this branch's valid source/test contract.The generated
.jules/sentinel.mdrule and MEDIUM/info-leak exploit wording are not admissible unique evidence and are intentionally omitted from the canonical lane. No other valid statistical, fixture, or release delta remains only here.This closure follows complete successor inheritance; it transfers neither predecessor GREEN nor merge authority.