Skip to content

Remove unused type parameter - #1395

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
abhro:patch-1
Nov 19, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
abhro:patch-1

Conversation

@abhro

@abhro abhro commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the contributor guidelines, in particular the SciML Style Guide and COLPRAC.
  • Any new documentation only uses public API

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

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

PR: #1395

Reviewed head: 016d694
Raw SHA-256: dbf6933839671746c4c635bf7c7b470e06afe053062ac6ac9a02a4572d92f53e
Source SHA-256: d6ba4c19bf6763fdd5d919c0c3845a8d11273ddd03778aaba3b0c14391b9820d
Source: standard-review-v1 (harness-log)
Reviewer session: 01a1f414-ca14-7e93-a9ce-fe6df4073ff6
Slot: 1
Confidence: unknown
Own risk fixed before author rating/discussion: yes
Redaction: ran (substitutions=0)

Risk assessment

  • Risk: low (L7)
  • Verdict: MERGE
  • Reviewed head: 016d694

Review report

VERDICT: MERGE
Round: 1
Head: 016d694
Slot: 1
CI: formatter or lint is not green
Session: 01a1f414-ca14-7e93-a9ce-fe6df4073ff6
Reviewer: codex-cli 0.170.0; model: gpt-6.2-sol

Risk

low (L7: constructor refactor with the same inferred types, allocations, and tested solver behavior)

Blocking findings

  • Blocking priorities: none

Non-blocking findings

None.

What I ran

  • Inspected git diff origin/master...HEAD. In lib/NonlinearSolveSpectralMethods/src/dfsane.jl:21, the base constructor binds F only in the eta_strategy::F annotation and its where clause. The body forwards the callback unchanged to RobustNonMonotoneLineSearch.
  • Ran GROUP=Core julia --startup-file=no --project=lib/NonlinearSolveSpectralMethods -e 'using Pkg; Pkg.test()' and repeated with GROUP=QA on Julia 1.12.4. Core passed 48/48 and QA passed 20/20.
  • Ran julia --startup-file=no --project=<snapshot>/lib/NonlinearSolveSpectralMethods dfsane_probe.jl on base and head with the same resolved dependencies, including LineSearch 0.1.20. Both passed 74/74 assertions, including @inferred for the default, a capturing closure, and a callable struct. The concrete return types matched. Warmed construction with an escaping result allocated 0 bytes for DFSane() and 128 bytes with the callable struct on both revisions. All 12 Float32/Float64 scalar and in-place vector solves passed analytic-root and residual checks. Return codes, roots, residuals, evaluation counts, step counts, and callback traces matched exactly. A deliberately throwing callback propagated its error on both revisions.
  • Runic 1.10.0 passed --check --diff on the changed file. git diff origin/master...HEAD | typos - and git diff --check origin/master...HEAD both exited 0.
  • uv run --locked python --version printed Python 3.13.13 and reported that --locked had no effect outside a project. The checkout has no uv.lock. All functional checks used Julia.

What I did not verify

Remote CI, other Julia versions, and the full monorepo suite.

AUTHOR_GRADE: {"task":"other","score":5,"difficulty":1,"rounds":1,"author_harness":"unknown","author_model":"unknown","note":"The focused refactor preserved constructor inference, allocations, and solver behavior in the base/head probes. SpectralMethods Core and QA passed."}

Head link: 016d694


🤖 Posted by an AI agent — harness: codex-cli 0.170.0 · model: gpt-6.2-sol
Conversation: local session 01a1f414-ca14-7e93-a9ce-fe6df4073ff6 (no session URL)

@ChrisRackauckas
ChrisRackauckas merged commit dbbb765 into SciML:master Nov 19, 2026
77 of 78 checks passed
@abhro
abhro deleted the patch-1 branch November 20, 2026 08:50
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