Repository navigation
Fix JET 0.11 QA reports - #631
Draft
ChrisRackauckas-Claude wants to merge 1 commit into
Draft
ChrisRackauckas-Claude wants to merge 1 commit into
ChrisRackauckas-Claude wants to merge 1 commit into
Conversation
Constrain inferred integer arguments in candidate-count and GEKPLS likelihood paths, add regression coverage, and allow JET 0.11 in the QA environment. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Codex <noreply@openai.com> Agent-Harness: Codex CLI 0.170.0 Agent-Model: gpt-6-luna Agent-Job: 565-codex Agent-Session: local session 01a21483-57af-7d41-b781-30281a3f2a2f (no session URL)
This branch has not been deployed
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.
report_packageunder JET 0.11 exposed untyped candidate-count keywords in DYCORS and SOP ND and an untyped integer argument in the GEKPLS likelihood helper. These annotations preserve the integer contract while making the inferred types concrete; regression tests check that non-integer candidate counts fail at the API boundary. JET 0.11 is now included in the QA environment compatibility range.Verification
GROUP=QA JULIA_NUM_THREADS=4 JULIA_NUM_PRECOMPILE_TASKS=4 julia --project -e 'using Pkg; Pkg.test()'—QA/qa.jl | 26 passed;Testing Surrogates tests passed.test/optimization.jl— 803 assertions passed, includingcandidate sample counts are integers | 2 passed.MethodErrorfromzeros(..., 1.5, ...)instead of rejecting the non-integer keyword at the method boundary. Passing after: both checks raiseTypeErroras expected.report_packagedecreased from 7 reports to 2. The two remaining reports are JET false positives: one infers(Number, AbstractVector)bounds and one infers(Number, Tuple)bounds through the variadic sampling wrapper.SectionSampleacceptslb::T, ub::Twith a single sharedT, so both mixed-type pairs are unrepresentable at that method and cannot reach those inferred branches.typoson changed files, andgit diff --checkpassed.What I did not verify
GROUP=Core JULIA_NUM_THREADS=4 JULIA_NUM_PRECOMPILE_TASKS=4 julia --project -e 'using Pkg; Pkg.test()'did not finish within 3600 seconds; no Core test summary was produced.Reviewer focus
Please check the integer keyword contract for DYCORS and SOP ND, and whether the two remaining SectionSample reports are correctly characterized by the shared-bound-type signature. The count-type checks intentionally assert early
TypeErrors for floating-point counts that previously failed later during allocation.Closes #565
Risk assessment
num_new_samplesbefore entering their integer-only paths; the GEKPLS annotation is internal. No new public names or dependencies are added.GROUP=QApassed 26 checks; the JET 0.11.5 report dropped from seven reports to two explained false positives. CI QA, docs, format, spelling, downgrade tests, and benchmarks passed. Core failed in unchanged AD compatibility coverage: Julia 1 and LTS each report seven Zygote tangent-arithmetic errors; x86 fails while Flux precompiles with a GPUCompilerunbox_int64LLVM return-type error. I did not compare these failures against the base branch.🤖 Posted by an AI agent — harness: Codex CLI 0.170.0 · model: gpt-6-luna
Conversation: local session 01a21483-57af-7d41-b781-30281a3f2a2f (no session URL)