Skip to content

Run JET in QA in :basic mode - #108

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ArnoStrouwen:jet-basic-qa
Nov 13, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ArnoStrouwen:jet-basic-qa

Conversation

@ArnoStrouwen

Copy link
Copy Markdown
Member

#89 replaced the hand-written QA file with run_qa. That dropped the JET.@test_call and JET.@test_opt checks on pois_rand, leaving only run_qa's default JET check in :typo mode, which reports undefined names but not calls that have no matching method.

Run run_qa's JET check with mode = :basic, which reports such calls for every function in the package. The runtime dispatch that @test_opt checked for is already caught by the Core AllocCheck tests, which report dynamic dispatch as well as allocations.

SciML#89 replaced the hand-written QA file with run_qa. That dropped the
JET.@test_call and JET.@test_opt checks on pois_rand, leaving only
run_qa's default JET check in :typo mode, which reports undefined names
but not calls that have no matching method.

Run run_qa's JET check with `mode = :basic`, which reports such calls
for every function in the package. The runtime dispatch that @test_opt
checked for is already caught by the Core AllocCheck tests, which report
dynamic dispatch as well as allocations.
@ChrisRackauckas

Copy link
Copy Markdown
Member

🤖 Automated comment from an AI agent running as @ChrisRackauckas — not written or reviewed by Chris.

Independent review (Codex CLI v0.164.0 / gpt-6.1-sol), reviewer session 01a1c9e3-a7c3-7482-82a5-336114376540, reviewed head 88c7f22

  • Verdict: MERGE
  • Risk assessment: low (L2: strengthens an existing QA assertion; no production code, dependency, public API, or numerical changes)
  • Round / slot: 1 / 1

This is a blind code-only review by a session other than the PR author's, copied below from the reviewer's report with only the grading metadata removed. The posting agent did not re-run the reviewer's commands. A MERGE verdict is advice; merging is left to the maintainers.

Risk

low (L2: strengthens an existing QA assertion; no production code, dependency, public API, or numerical changes)

Blocking findings

None.

  • Verdict: MERGE
  • Round: 1
  • Blocking priorities: none
  • Deferred P2 issues: none

Non-blocking findings

None.

What I ran

All Julia commands preserved the supplied JULIA_DEPOT_PATH and used the requested TMPDIR. Package operations ran in scratch copies created with git archive HEAD, leaving the checkout untouched. Tests used the repository's Project.toml and QA environment; the repository supplies no Manifest.toml or pinned Julia interpreter.

  • git rev-parse HEAD, git diff origin/master...HEAD, git diff --check origin/master...HEAD, and git status --short: expected head, one added line in test/qa/qa.jl:5, no whitespace errors, clean checkout. Neither root AGENTS.md nor CLAUDE.md exists; the supplied review instructions were applied.
  • In scratch/head, GROUP=QA julia --startup-file=no --project=. -e 'using Pkg; println("Julia ", VERSION); println("Depot ", DEPOT_PATH); Pkg.test()': Julia 1.13.2, JET 0.12.3, SciMLTesting 2.13.3; 21/21 passed, exit 0.
  • In scratch/lts-head, GROUP=QA julia +lts --startup-file=no --project=. -e 'using Pkg; println("Julia ", VERSION); Pkg.test()': Julia 1.10.12, JET 0.9.18, SciMLTesting 2.13.3; 19/19 passed, exit 0.
  • Fault injection in scratch/fault-head: added the unexported method __review_probe(x::Float64) = sin("review-injected invalid argument"). In scratch/probe-env, ran julia --startup-file=no --project=. -e 'using Pkg; Pkg.develop(path = "../fault-head"); include("../integration-probe.jl")'. The script executed the actual QA body without the added keyword, then with it. Default mode: 21/21 passed. Basic mode: 20 passed, 1 failed, explicitly reporting no matching method found sin(::String) at the injected method. Exit 1 confirmed rejection of the injected fault. This establishes that the added keyword strengthens the executed test rather than being ignored.
  • In scratch, uv run --locked python --version: Python 3.15.0; uv warned that --locked has no effect outside a project. No system-Python substitute was used.

What I did not verify

Core sampling/allocation tests, GPU execution, documentation builds, other operating systems, and intermediate compatible JET versions were not run. This Julia repository has no Python project or uv.lock, so the Python version command does not establish a project-locked Python environment. PR discussion, author ratings, CI results, and other reviews were not inspected.


🤖 Posted by an AI agent — harness: Claude Code 2.1.322 · model: claude-sonnet-5-5
Conversation: local session 3878b54e-28f2-4a01-a176-a8f5468d1997 (no session URL)

@ChrisRackauckas
ChrisRackauckas merged commit 53d5b03 into SciML:master Nov 13, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants