Skip to content

AkimaInterpolation: opt-in tol keyword for the small-weight cutoff; fix 2-point slopes - #631

Open
asinghvi17 wants to merge 31 commits into
SciML:masterfrom
asinghvi17:akima-tol-two-point
Open

asinghvi17 wants to merge 31 commits into
SciML:masterfrom
asinghvi17:akima-tol-two-point

Conversation

@asinghvi17

@asinghvi17 asinghvi17 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

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

Adds a tol keyword for the Akima/makima small-weight cutoff, as a follow-up to #615 (#614). The default tol = 1e-9 keeps the current cutoff and blend. With tol = 0 the cutoff is off: makima uses the weighted mean whenever a weight is nonzero and falls back to the secant mean otherwise. Default results are close to master but no longer bitwise identical.

It also fixes 2-point tables, which now give the straight line through both points.

This branch builds on #630 and should merge after it.

🤖 Generated with Claude Code

https://claude.ai/code/session_014mFQHufqGmwfiZHWwWB4qh


🤖 Posted by an AI agent — harness: Claude 2.1.332 · model: claude-opus-5-5
Conversation: factory head hd_4d32af60 on m_4242afb3ce622d22c2c40d9e9baf1f9a (no session URL)

asinghvi17 and others added 5 commits November 12, 2026 00:51
…iter)

Adds `MonotonicMakimaInterpolation(u, t; kwargs...)`, a shape-preserving
variant of makima. Like `PCHIPInterpolation`, it computes knot slopes and
returns a `CubicHermiteSpline`, so extrapolation, derivatives, integrals and
`cache_parameters` work as for any Hermite spline.

The slopes are:
1. the makima slopes of `AkimaInterpolation(u, t; modified = true)`, reusing
   the existing kernel (split out of `_akima_init!` as `_akima_slopes!`);
2. a sign pass that zeroes a slope whose sign differs from an adjacent
   secant, or whose adjacent secant is zero (flat segments stay flat);
3. a square Fritsch-Carlson limiter: per segment, left to right, if
   max(alpha, beta) > 3 both end slopes are scaled by 3 / max(alpha, beta).

Where steps 2 and 3 do not act, the result is identical to makima.

Also fixes `AkimaInterpolation` with two points, which read an uninitialized
ghost secant; it now gives the straight line through the two points.

The per-dimension wrappers of `du_PCHIP` are generalized into
`_du_per_dimension` and shared by both slope kernels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Harness: claude
Model: claude-opus-5-5
Factory-Task: 22fff5cb-ab23-4f6c-a31f-195f557afeb0
Agent-Harness: Claude 2.1.319
Agent-Model: claude-opus-5-5
Agent-Session: factory task 22fff5cb-ab23-4f6c-a31f-195f557afeb0 on m_e7dafdb55d0afc98861a124723a9e3fd (no session URL)
…, β)

When max(α, β) > 3 on a segment, compute r = 3 / max(α, β) once and
multiply both end slopes by it. This is the conventional form of the
square rule. Previously the slopes were set to 3s * (α / max(α, β)) and
3s * (β / max(α, β)), which made the larger one exactly 3s; now it is 3s
up to rounding (a few ulps). Since r <= 1, a limited slope still never
grows. The docstring describes the rounding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Harness: claude
Model: claude-opus-5-5
Factory-Task: 8d831c30-b5f6-4950-9cba-449eed9c4c5f
Agent-Harness: Claude 2.1.319
Agent-Model: claude-opus-5-5
Agent-Session: factory task 8d831c30-b5f6-4950-9cba-449eed9c4c5f on m_e7dafdb55d0afc98861a124723a9e3fd (no session URL)
Reduce the MonotonicMakimaInterpolation tests to a compact set: monotone
output on a few random tables, equality with makima where the limiter is
inactive, flat segments, limiter scaling (checks du == r * makima slope),
2-point tables, and an extrapolation/caching smoke test, plus derivative
checks against finite differences for Vector and Matrix data. Drop the
200-case sweep, the redundant edge cases, the integral testset and the
second docs example.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Harness: claude
Model: claude-opus-5-5
Factory-Task: 8d831c30-b5f6-4950-9cba-449eed9c4c5f
Agent-Harness: Claude 2.1.319
Agent-Model: claude-opus-5-5
Agent-Session: factory task 8d831c30-b5f6-4950-9cba-449eed9c4c5f on m_e7dafdb55d0afc98861a124723a9e3fd (no session URL)
Used in the citation "SIAM J. Numer. Anal." in the
MonotonicMakimaInterpolation docstring.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Harness: claude
Model: claude-opus-5-5
Factory-Task: 8d831c30-b5f6-4950-9cba-449eed9c4c5f
Agent-Harness: Claude 2.1.319
Agent-Model: claude-opus-5-5
Agent-Session: factory task 8d831c30-b5f6-4950-9cba-449eed9c4c5f on m_e7dafdb55d0afc98861a124723a9e3fd (no session URL)
Add a `tol` keyword (default 1e-9) for the relative small-weight cutoff
kept in SciML#615 (SciML#614). The default keeps the cutoff, blend and max(w1, w2)
rescaling, so default outputs are bitwise unchanged. `tol = 0` opts in
to the exact rule: the rescaled weighted mean wherever w1 + w2 != 0;
where both weights are zero, slope 0 for makima and the existing
fallback for classic Akima (which keeps collinear data straight).
Branch decisions use primal values, so zero `Dual` weights do not take
the 0/0 path.

With two points the end slopes were extrapolated from an unset ghost
slope, giving wrong knot slopes in both modes. Two points now give the
straight line through them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Harness: claude
Model: claude-opus-5-5
Factory-Task: 039c10ce-296b-4919-a30b-99ae880a2250
Agent-Harness: Claude 2.1.319
Agent-Model: claude-opus-5-5
Agent-Session: factory task 039c10ce-296b-4919-a30b-99ae880a2250 on m_e7dafdb55d0afc98861a124723a9e3fd (no session URL)
@asinghvi17

Copy link
Copy Markdown
Contributor Author

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

A note on default behaviour: with the default tol = 1e-9, outputs are bitwise identical to master for every table with 3 or more points. The cutoff, the blend and the max(w1, w2) rescaling are untouched, and tol only changes anything when it is passed explicitly. The one default-path change is 2-point tables, which previously read an unset ghost slope and now return the straight line through both points.


🤖 Posted by an AI agent — harness: Claude 2.1.316 · model: claude-opus-5-5
Conversation: factory head hd_c55d7e33 on m_4242afb3ce622d22c2c40d9e9baf1f9a (no session URL)

@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 01a1cf3c-725b-7ab1-9c74-c682ee3f8d52, reviewed head d2849e5

  • Verdict: CHANGES
  • Risk assessment: medium-low (ML1: Akima constructor result correction; the analytic two-point regression fails on base and passes at head. The optional cutoff also matches L8.)
  • 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.

CI: green
Session: 01a1cf3c-725b-7ab1-9c74-c682ee3f8d52

Risk

medium-low (ML1: Akima constructor result correction; the analytic two-point regression fails on base and passes at head. The optional cutoff also matches L8.)

Blocking findings

  • [P2] Normalize weights before adding them. src/interpolation_caches.jl:438: confirmed by running, for both modified = false and true:

    u = [0., 0.5, 1., 0.5, 0., 0.5, 1.] .* 1e308
    t = collect(1.:7.)
    A = AkimaInterpolation(u, t; modified, tol = 0)
    A.b[4]  # observed -0.0; analytic value -5e307
    A(3.5)  # observed 7.5e307; analytic value 8.125e307

    At knot 4, both adjacent secants equal -5e307, and both weights equal 1e308. Their weighted mean must therefore be -5e307. Every input, weight, expected slope, and expected interpolation value is representable. However, w12 = w1 + w2 overflows to Inf; dividing this already-overflowed sum by s makes the weighted mean zero. All resulting head coefficients remain finite, so a finiteness assertion misses the wrong result. The midpoint reference follows directly from the Hermite basis: (1e308 + 5e307)/2 + (0 - (-5e307))/8.

    Suggested fix: form the denominator as w1 / s + w2 / s, and add this analytic regression for both variants. test/interpolation_tests.jl:1147 repeats the overflowing denominator in the reference helper, so its equality check shares this failure. The separate regression produced four failing assertions. Base also has a large-weight limitation; this finding specifically establishes incorrect results in the newly exposed exact mode.

Non-blocking findings

None.

What I ran

Reviewer: codex-cli 0.164.0, model gpt-6.1-sol. Review remained blind to PR discussion and author/reviewer ratings.

Used Julia 1.13.2 with the checkout's Project.toml dependency/compatibility constraints resolved into ../scratch/env, preserving the supplied JULIA_DEPOT_PATH. Resolved versions include ForwardDiff 1.4.7, SciMLTesting 2.13.3, and Symbolics 7.48.0. Commands used the required TMPDIR, memory-capped scopes, and at most four Julia threads.

  • GROUP=Core julia --startup-file=no --check-bounds=yes --project=../scratch/env test/runtests.jl: exit 0; 18,103 passed, 5 pre-existing broken/skipped, no failures. Interpolation tests: 17,725 passed, 5 broken/skipped.
  • julia --startup-file=no --check-bounds=yes --project=../scratch/env ../scratch/run_probes.jl: exit 0; 4,048 targeted assertions passed. Covered exact rational slope/Hermite references, custom positive cutoffs, two-point array shapes/caching/integration, ForwardDiff gradients/Hessians, symbolic compilation/evaluation, and 2,880 bitwise coefficient comparisons against the base kernel.
  • That runner also executed the complete official test/Methods/derivative_tests.jl (75,385 passed) and test/Methods/integral_tests.jl (18,498 passed).
  • julia --startup-file=no --project=../scratch/env ../scratch/overflow_regression.jl: exit 1; 4 failed, reproducing the blocker above.
  • julia --startup-file=no --project=../scratch/env ../scratch/before_regression.jl: exit 1; 2 failed against the unchanged kernel extracted from base 4dc8fc1da24e758f260169874f4b345876946de5. For [1., 3.] at [0., 3.], base slopes were approximately [1., 1/3] and [0.8666666666666667, 0.25]; head returns [2/3, 2/3] in both variants.
  • One 10,000-point default scalar-kernel microbenchmark: sampled minimum base 31.319 μs, head 15.820 μs; head/base 0.505.
  • Initial scratch-harness failures compared against an idealized query position and attempted unsupported Float64(::Num) conversion. Corrected the oracle to use the actual floating-point query and symbolic evaluation to use build_function; retained the numerical tolerances.
  • git diff --check origin/master...HEAD: passed. Final git status --porcelain: empty; checkout unchanged.
  • uv run --locked python --version: Python 3.15.0, with warning that --locked has no effect outside a project.

What I did not verify

No repository Julia manifest, Python project, or uv.lock exists, so no project-locked interpreter/dependency environment was available. Julia testing used the resolved scratch manifest. Did not run QA, documentation builds, the complete Extensions group, other Julia versions, or 32-bit tests. CI green is supplied task metadata; CI and GitHub discussion were not queried.

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

🤖 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)

asinghvi17 and others added 2 commits November 17, 2026 13:35
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: 031f1039-f80a-483c-925b-8c42fd463210
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task 031f1039-f80a-483c-925b-8c42fd463210 on m_e7dafdb55d0afc98861a124723a9e3fd (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: 031f1039-f80a-483c-925b-8c42fd463210
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task 031f1039-f80a-483c-925b-8c42fd463210 on m_e7dafdb55d0afc98861a124723a9e3fd (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: 2ac96216-b848-4d94-88f8-f574017c8dbc
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task 2ac96216-b848-4d94-88f8-f574017c8dbc on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
@asinghvi17
asinghvi17 marked this pull request as ready for review November 18, 2026 16:07
@ChrisRackauckas

Copy link
Copy Markdown
Member

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

PR: #631

Reviewed head: d901454
Raw SHA-256: 9415cd4f7127fbdbaddfa472652b034a72c0d97bd6a2c395853ae9056b74e446
Source SHA-256: 924605eaca64eb065d1e806fa835675a10267a8fd685e14a3e35716b23586030
Source: standard-review-v1 (harness-log)
Reviewer session: 01a1efc8-56e2-7681-b7d7-7dc7e274bbeb
Slot: 1
Confidence: unknown
Own risk fixed before author rating/discussion: yes
Redaction: ran (substitutions=0)

Risk assessment

  • Risk: medium-low (ML2)
  • Verdict: CHANGES
  • Reviewed head: d901454

Review report

VERDICT: CHANGES
Round: 2
Head: d901454
Slot: 1
CI: green
Session: 01a1efc8-56e2-7681-b7d7-7dc7e274bbeb
Reviewer: codex-cli 0.169.0; model: gpt-6.2-sol

Risk

medium-low (ML2: changes knot-slope arithmetic in the explicitly selected Akima algorithm. Analytic checks fail before and pass after for the corrected cases.)

Blocking findings

  • [P2] Exact makima can overflow while forming a finite weight. src/interpolation_caches.jl:424. Confirmed on the reviewed head and the previous kernel. The fix for adding two finite weights passes, and this nearby case still returns (NaN, NaN) for the slope and midpoint.

    using DataInterpolations
    A = AkimaInterpolation(
        [0.0, 4.0e307, 4.0e307, 4.0e307], collect(0.0:3.0); modified = true, tol = 0
    )
    (A.b[1], A(0.5))

    With h = 4e307, the four padded secants at the first knot are 3h, 2h, h, 0. The true weights are 1.5h and 3.5h, both finite in Float64. The second weight forms 2h + 3h before halving, so it becomes Inf and normalization produces Inf / Inf. The analytic slope is 1.3h (5.2e307). The next slope is zero, so the Hermite midpoint is h/2 + 1.3h/8 (2.65e307). Form the exact-mode makima weights using a common scale on the four secants to preserve their ratio, and add this analytic endpoint regression.

  • Blocking priorities: P2

Non-blocking findings

None.

What I ran

Julia 1.13.2 with a scratch manifest resolved from the checkout's Project.toml and test target, preserving JULIA_DEPOT_PATH. ForwardDiff 1.5.0, SciMLTesting 2.13.3 and Symbolics 7.49.0 were resolved.

  • GROUP=Core julia --startup-file=no --check-bounds=yes --project=../scratch/env test/runtests.jl exited 0 with 18,107 passes and five existing broken tests. The interpolation file contributed 17,729 passes, including the new overflow regression.
  • GROUP=Methods julia --startup-file=no --check-bounds=yes --project=../scratch/env test/runtests.jl exited 0 with 94,258 passes, including 75,385 derivative and 18,498 integral assertions.
  • With julia --startup-file=no --check-bounds=yes --project=../scratch/env, ran ../scratch/overflow_delta_probe.jl previous and ../scratch/overflow_delta_probe.jl head. The previous kernel failed all eight analytic slope and midpoint assertions. The reviewed head passed all eight for classic and modified Akima in Float32 and Float64. On Float64, both variants went from slope -0.0 and midpoint 7.5e307 to -5.0e307 and 8.125e307.
  • With the same Julia flags, ran ../scratch/overflow_delta_probe.jl makima-boundary on the head and repeated with --previous-kernel. Both runs had 12 passes and four failures. The unit-scale and BigFloat controls matched the analytic values. Float64 at h = 4e307 and Float32 at h = 8e37 both returned NaN for the slope and midpoint. An initial scratch-runner syntax error was corrected before collecting the probe results.
  • With the same Julia flags, ran ../scratch/two_point_probe.jl base and ../scratch/two_point_probe.jl head. The unchanged base kernel failed both analytic line checks. The reviewed constructors passed both with slopes [2/3, 2/3] and zero higher coefficients. The before comparisons loaded the unchanged kernels extracted with git show.
  • julia --startup-file=no --check-bounds=yes --project=@runic -m Runic --check src/interpolation_caches.jl test/interpolation_tests.jl, typos src/interpolation_caches.jl test/interpolation_tests.jl and git diff --check origin/master...HEAD exited 0. The supplied delta matched the commit diff, and git status --porcelain was empty.
  • uv run --locked python --version printed Python 3.15.0 and warned that --locked has no effect outside a project.

What I did not verify

The checkout has no Julia manifest, Python project or uv.lock, so a project-locked environment was unavailable. Local coverage excludes QA, docs, extension and GPU suites, other Julia versions and 32-bit execution. The CI status comes from the supplied review metadata.

AUTHOR_GRADE: {"task":"bugfix","score":4,"difficulty":3,"rounds":2,"author_harness":"Codex 0.164.0","author_model":"gpt-6.1-sol","note":"The denominator change fixes the analytic total-weight overflow case for both Akima variants and both float types. Exact makima still overflows while forming a representable weight from large secants."}

Head link: d901454


🤖 Posted by an AI agent — harness: codex-cli 0.169.0 · model: gpt-6.2-sol
Conversation: local session 01a1efc8-56e2-7681-b7d7-7dc7e274bbeb (no session URL)

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

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

PR: #631

Reviewed head: d901454
Raw SHA-256: 918a52f624dfd0f5fe0bead75ce9fec761a5100b8cddac28a3ef509bc3ad6358
Source SHA-256: 04129277c32312ebf405ef35de4b7d3dac9f6eaec6d10ff72b81fb83683cf7f6
Source: standard-review-v1 (harness-log)
Reviewer session: 01a21a63-ab53-7310-a13a-4828c246d1cd
Slot: 2
Confidence: unknown
Own risk fixed before author rating/discussion: yes
Redaction: ran (substitutions=0)

Risk assessment

  • Risk: medium (M1)
  • Verdict: CHANGES
  • Reviewed head: d901454

Review report

VERDICT: CHANGES
Round: 1
Head: d901454
Slot: 2
CI: green
Session: 01a21a63-ab53-7310-a13a-4828c246d1cd
Reviewer: codex-cli 0.170.0; model: gpt-6.2-sol

Risk

medium (M1: the new public Akima tolerance ships with changes to existing two-point construction and differentiation with respect to sample values)

Blocking findings

  • Blocking priorities: P2, P2, P2

  • [P2] Finite positive cutoffs can produce NaN in the blend band (src/interpolation_caches.jl:452). For tol = 1, use unit-spaced knots starting at zero and samples T.([0; cumsum([0, 0, -4, 4, -4, 0, 4, -4, 4, -3, 0, 0])]) .* s, with s = Float16(4096) or s = ldexp(1.0, 1020). The weights at the fifth knot sum to 12s and the cutoff is 15s. Both fit in the sample type, but doubling 12s overflows before division. On both types the public derivative at 4 and the value at 4.5 returned NaN. The prescribed blend uses weight 3/5, yielding a knot slope of -8s/5 and a Hermite midpoint of -23s/10.

    Implementation fix In _akima_init!, divide the knot weight by the cutoff before doubling when evaluating the active blend. Preserve the guarded denominator and symbolic ifelse path. Add the two scaled cases to the Akima tolerance tests in test/interpolation_tests.jl and assert the normalized derivative and midpoint against the fractions above with a tolerance based on the respective type's precision. The shared kernel covers the scalar, array and vector-of-vectors constructors.

  • [P2] Narrowing the tolerance before multiplying can disable a nonzero cutoff (src/interpolation_caches.jl:418). For u = Float32[0, 0, 0, 0, 2e-18, 5e-18, 8e-18, 1e35, 1e35, 1e35], t = Float32.(0:9) and tol = 1e-50, the public derivative at 3f0 was 0.0f0. The local weight is about 1e-18, below half the mathematical cutoff of about 1e-15, so the documented fallback gives about 1.5f-18. The cutoff itself fits in Float32. Converting tol to Float32 first rounds it to zero.

    Implementation fix In _akima_init!, form tol * wmax with the tolerance's precision before narrowing. Keep the cutoff comparison and blend in the promoted type where needed, and retain the coefficient storage type. Add the Float32 case above to test/interpolation_tests.jl and assert that a positive tolerance selects half the outer right secant, while tol = 0 selects slope zero. This applies to all constructors that call the shared kernel.

  • [P2] Exact makima drops the derivative of an affine perturbation at a plateau (src/interpolation_caches.jl:445). With t = 1.0:6.0, let f(a) = DataInterpolations.derivative(AkimaInterpolation(a .* t, t; modified = true, tol = 0), 3.0). The input is affine for every a, so f(a) = a, including at zero. The probe returned f(0.25) = 0.25 but ForwardDiff.derivative(f, 0.0) = 0.0 instead of 1.0. The zero-weight branch discards the secant partials, and the existing finiteness assertion accepts the incorrect derivative.

    Implementation fix In the exact branch of _akima_init!, use the already computed bdefault at zero primal weight for makima. Its mean of adjacent secants has zero primal value on a flat stencil and preserves the affine perturbation. General perturbations at this stencil can be nondifferentiable. The adjacent mean is a suitable fallback convention because the positive-tolerance branch already uses it. Clarify that convention in the constructor docstring and add the affine-parameter regression above to test/interpolation_tests.jl with an expected ForwardDiff derivative of 1.0.

Non-blocking findings

  • test/interpolation_tests.jl:1193 runs the two-point regression on Float64, for which the base can read unspecified bits. Implementation fix Add a default-constructor BigFloat case with samples BigFloat[1, 3] and knots BigFloat[0, 3]. Assert midpoint 2, derivative BigFloat(2)/3 and extension value -1 at -3. The probe deterministically raised UndefRefError on the base and passed on the reviewed code. This only needs a test edit.
  • test/interpolation_tests.jl:1173 checks finiteness for exact-mode input AD. Implementation fix Add a value assertion for the default constructor as well. With t = collect(1.0:6.0), differentiate a -> AkimaInterpolation(t .+ a .* t .^ 2, t)(2.25) at zero and assert 5.0625, the value of the quadratic perturbation at the query. The base returned NaN and the reviewed code returned 5.0625. This only needs a test edit.

What I ran

  • julia --version reported Julia 1.12.4. The project has no tracked Julia manifest. I used its declared dependencies with matching resolved root manifests for the head and base probes and preserved the job's depot layers. uv run --locked python --version reported Python 3.13.13 and warned that --locked has no effect outside a project. The checkout has no Python project or lockfile.
  • GROUP=Core julia --startup-file=no --project=. -e 'using Pkg; Pkg.test()' exited 0. Core/interpolation_tests.jl reported 17,729 passes and 5 existing broken tests. The other Core files passed all 378 assertions.
  • GROUP=Methods julia --startup-file=no --project=. -e 'using Pkg; Pkg.test()' exited 0, with 94,251 passes including 75,385 derivative assertions.
  • julia --startup-file=no --project=../scratch/head ../scratch/akima_probes.jl head reported 6 passes and 6 failures. The BigFloat two-point checks passed 4/4. The corresponding base invocation errored with UndefRefError. Running akima_default_ad.jl with the head and base projects gave 1/1 and 0/1 respectively.
  • julia --startup-file=no --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); include("docs/make.jl")' exited 0 in a local clone after the archive build lacked remote metadata. Documenter ran the doctest and HTML steps, and the generated manual contained the new cutoff text.
  • julia --startup-file=no -m Runic --check src/interpolation_caches.jl test/interpolation_tests.jl, git diff -U0 origin/master...HEAD | typos --config .typos.toml - and git diff --check origin/master...HEAD exited 0. The rename-aware diff showed only modifications to src/interpolation_caches.jl and test/interpolation_tests.jl. Neither path governs protected operations.

What I did not verify

  • The CI status is supplied metadata. Local execution covered Julia 1.12.4 and the Core and Methods groups. Other Julia versions, the optional extension and QA groups, and the multithreaded stress test were outside these runs.
  • The running Codex CLI reported the UUID in the Session field. A Devin session name is unavailable for this run.

AUTHOR_GRADE: {"task":"feature","score":3,"difficulty":3,"rounds":1,"author_harness":"Codex 0.164.0","author_model":"gpt-6.1-sol","note":"The two-point and default AD fixes passed independent base/head probes, and Core and Methods passed. Three analytic probes exposed incorrect results in the new tolerance modes."}

Head link: d901454


🤖 Posted by an AI agent — harness: codex-cli 0.170.0 · model: gpt-6.2-sol
Conversation: local session 01a21a63-ab53-7310-a13a-4828c246d1cd (no session URL)

asinghvi17 and others added 15 commits November 30, 2026 10:17
…2e41-47a8-8635-15c5133b4b97

Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: c4e20194-2e41-47a8-8635-15c5133b4b97
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task c4e20194-2e41-47a8-8635-15c5133b4b97 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: 54ce7f1a-e0fd-4f17-8b5d-7e71282cac53
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task 54ce7f1a-e0fd-4f17-8b5d-7e71282cac53 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: c4e20194-2e41-47a8-8635-15c5133b4b97
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task c4e20194-2e41-47a8-8635-15c5133b4b97 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: c4e20194-2e41-47a8-8635-15c5133b4b97
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task c4e20194-2e41-47a8-8635-15c5133b4b97 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: c4e20194-2e41-47a8-8635-15c5133b4b97
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task c4e20194-2e41-47a8-8635-15c5133b4b97 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: c4e20194-2e41-47a8-8635-15c5133b4b97
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task c4e20194-2e41-47a8-8635-15c5133b4b97 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: c4e20194-2e41-47a8-8635-15c5133b4b97
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task c4e20194-2e41-47a8-8635-15c5133b4b97 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: c4e20194-2e41-47a8-8635-15c5133b4b97
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task c4e20194-2e41-47a8-8635-15c5133b4b97 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: c4e20194-2e41-47a8-8635-15c5133b4b97
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task c4e20194-2e41-47a8-8635-15c5133b4b97 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: c4e20194-2e41-47a8-8635-15c5133b4b97
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task c4e20194-2e41-47a8-8635-15c5133b4b97 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: c4e20194-2e41-47a8-8635-15c5133b4b97
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task c4e20194-2e41-47a8-8635-15c5133b4b97 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: cc4e335e-bc7a-4440-9a18-f13d56d6903b
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task cc4e335e-bc7a-4440-9a18-f13d56d6903b on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
…bc7a-4440-9a18-f13d56d6903b

Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: cc4e335e-bc7a-4440-9a18-f13d56d6903b
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task cc4e335e-bc7a-4440-9a18-f13d56d6903b on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: cc4e335e-bc7a-4440-9a18-f13d56d6903b
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task cc4e335e-bc7a-4440-9a18-f13d56d6903b on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: cc4e335e-bc7a-4440-9a18-f13d56d6903b
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task cc4e335e-bc7a-4440-9a18-f13d56d6903b on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
asinghvi17 and others added 8 commits November 30, 2026 18:59
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: cc4e335e-bc7a-4440-9a18-f13d56d6903b
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task cc4e335e-bc7a-4440-9a18-f13d56d6903b on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: cc4e335e-bc7a-4440-9a18-f13d56d6903b
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task cc4e335e-bc7a-4440-9a18-f13d56d6903b on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
…tions

Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: 8f79f865-240e-43ce-9978-992529c69b9b
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task 8f79f865-240e-43ce-9978-992529c69b9b on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: 8f79f865-240e-43ce-9978-992529c69b9b
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task 8f79f865-240e-43ce-9978-992529c69b9b on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: 790d3fbb-abe2-4a50-9b19-5f16735690d4
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task 790d3fbb-abe2-4a50-9b19-5f16735690d4 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: 6f1b2a92-4cac-4a34-b961-04efbb1da616
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task 6f1b2a92-4cac-4a34-b961-04efbb1da616 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: 6f1b2a92-4cac-4a34-b961-04efbb1da616
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task 6f1b2a92-4cac-4a34-b961-04efbb1da616 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)
Co-Authored-By: Anshul Singhvi <anshul.singhvi@juliahub.com>
Co-Authored-By: Codex <noreply@openai.com>
Harness: codex
Model: gpt-6.1-sol
Factory-Task: 6f1b2a92-4cac-4a34-b961-04efbb1da616
Agent-Harness: Codex 0.164.0
Agent-Model: gpt-6.1-sol
Agent-Session: factory task 6f1b2a92-4cac-4a34-b961-04efbb1da616 on m_3e9b2709b53bf4c4dade6cc909217625 (no session URL)

This branch has not been deployed

No deployments
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