Skip to content

Run JET in QA again, in :basic mode - #90

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

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

Conversation

@ArnoStrouwen

Copy link
Copy Markdown
Member

SciMLTesting only runs its JET check when JET is loaded (using JET in test/qa/qa.jl triggers its JET extension). #76 dropped that line, so QA has run no JET since then, although JET is still in the QA environment and #88 raised its compat bound.

Before #76, QA ran JET in :typo mode. Load JET again and run it in :basic mode, which reports calls that have no matching method as well as undefined names, for every function in the package. There are no reports in either mode.

SciMLTesting only runs its JET check when JET is loaded (`using JET`
in test/qa/qa.jl triggers its JET extension). SciML#76 dropped that line, so
QA has run no JET since then, although JET is still in the QA
environment and SciML#88 raised its compat bound.

Before SciML#76, QA ran JET in :typo mode. Load JET again and run it in
:basic mode, which reports calls that have no matching method as well
as undefined names, for every function in the package. There are no
reports in either mode.
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

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

PR: #90

Reviewed head: c9be9f8
Raw SHA-256: c372cc06b4b2a9ff5db20e7417a719d66b85ee1f3ec3a23565dc8aa8012061ae
Source SHA-256: caae9e4cff89fbbd8945e5c49a411b1f855b6318dc833e4ed3d8522850890a5d
Source: standard-review-v1 (harness-log)
Reviewer session: devin-list:gaudy-whip
Slot: 1
Confidence: unknown
Own risk fixed before author rating/discussion: yes

Risk assessment

  • Risk: low (L2)
  • Verdict: MERGE
  • Reviewed head: c9be9f8

Review report

VERDICT: MERGE
Round: 1
Head: c9be9f8
Slot: 1
CI: green
Session: devin-list:gaudy-whip
Reviewer: Devin 3000.12.57; model: fusion-gpt-6-1-sol-high-sidekick-swe-2-medium

Risk

low (L2: strengthens QA by enabling JET in :basic mode; no runtime code, public API, dependencies, or existing assertions change).

Blocking findings

None.

  • Blocking priorities: none

Non-blocking findings

None. The changes at test/qa/qa.jl:1 and test/qa/qa.jl:11 demonstrably enable a check that catches a definite MethodError; this is not merely a passing, ineffective assertion.

What I ran

  • Inspected git diff origin/main...HEAD, the affected QA environment and runner, test-group configuration, and SciMLTesting's JET registration/configuration. No repository-root AGENTS.md or CLAUDE.md exists. Read the supplied review instructions and risk criteria; did not read PR discussion or earlier reviews.
  • Exported TMPDIR=<local path> and preserved the provided layered JULIA_DEPOT_PATH. Ran package operations only in a git archive HEAD copy under scratch/head, leaving the checkout unchanged.
  • julia --version: julia version 1.12.4. No tracked Julia Manifest or interpreter pin exists; dependencies resolved under the declared project compat to SciMLTesting 2.13.3 and JET 0.12.3.
  • In scratch/head, GROUP=QA julia --project=. -e 'using Pkg; Pkg.test()': exit 0, QA | 21 Pass / 21 Total, 53.9 seconds. Evidence: scratch/qa-test.log.
  • Adversarial scratch-only mutation: inserted _review_methoderror_probe(::Int) = sin("review-bad-argument") inside the package module. Saved base QA using git show origin/main:test/qa/qa.jl; ran it in a fresh process with julia --project=test/qa ../base_qa.jl: exit 0, 20/20 passed. Evidence: scratch/mutation-base-qa.log.
  • Against the identical mutation, julia --project=test/qa test/qa/qa.jl: exit 1, 20 passed and 1 failed. JET specifically reported no matching method found sin(::String) in the injected function. This expected negative control confirms the head's QA detects the defect that base QA misses. Evidence: scratch/mutation-head-qa.log.
  • Against the same mutation, JET.report_package(FunctionWrappersWrappers; target_modules=(FunctionWrappersWrappers,), mode=:typo) followed by @assert isempty(JET.get_reports(rep)): exit 0, No errors detected. Thus the :basic setting adds meaningful detection beyond :typo. Evidence: scratch/mutation-typo.log. Restored the scratch source and confirmed it matches the checkout with cmp.
  • uv run --locked python --version: exit 0, Python 3.13.13, with warning that --locked has no effect outside a project. This Julia repository has no Python project or uv.lock; that is uv's fallback interpreter, not a locked project interpreter.
  • git diff --check origin/main...HEAD: clean. Final git status --porcelain: empty. devin list --format json identifies this running session as gaudy-whip.

What I did not verify

  • Other Julia/JET combinations, including Julia 1.10 and JET 0.9, or minimum-compatible SciMLTesting.
  • Core, nopre, Enzyme, Mooncake, downstream, formatting, spelling, and documentation suites; the diff changes only QA wiring, and the affected QA suite ran locally.
  • Live CI independently; the header records the supplied green CI classification.
  • PR body, comments, reviews, author risk assessment, or author-side verification history, as required for this blind review. The newest commit has no Agent-Harness or Agent-Model trailers, so both attribution fields are unknown.

AUTHOR_GRADE: {"task":"test","score":5,"difficulty":2,"rounds":1,"author_harness":"unknown","author_model":"unknown","note":"Two focused QA-only additions pass the affected suite. An injected definite MethodError passes base QA and :typo analysis but fails head QA through JET :basic, establishing a real increase in detection without weakening assertions."}

Head link: c9be9f8


🤖 Posted by an AI agent — harness: Devin 3000.12.57 · model: fusion-gpt-6-1-sol-high-sidekick-swe-2-medium
Conversation: local session devin-list:gaudy-whip (no session URL)

@ChrisRackauckas
ChrisRackauckas merged commit f2e6884 into SciML:main Nov 17, 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.

3 participants