Skip to content

test: align Brusselator reference grid - #597

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix/master-downgrade-brusselator
Jul 13, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix/master-downgrade-brusselator

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Ignore this PR until it has been reviewed by @ChrisRackauckas.

Summary

The Brusselator reference problem used

range(0, stop = 1, length = N)

which has spacing 1/(N-1), while the periodic MOL discretization uses dx = 1/N. The mismatched grid also changed the reference diffusion coefficient, initial values, and forcing coordinates, so the nonlinear trajectories diverged at later save points.

This uses the same dx and number of points for both systems:

range(0, step = dx, length = N)

No tolerance, solver, skip, or broken-test setting changes.

CI context

Current master downgrade run 29218306213 and MOL #594's downgrade job both reproduce:

Brusselator | 1116 pass | 38 fail | 1154 total

Source bisect found:

  • Last green runner state: 4feb46f5
  • First failing runner state: 6de450dd (made the latent test defect visible)
  • Original mismatched grid: 0e869988

Local verification

  • Exact downgrade manifest, Julia 1.10.11: 1154/1154
  • Latest-compatible environment with PDEBase 0.1.29 and NonlinearSolveBase 2.34.1: 1154/1154
  • Runic full-repository check: clean
  • git diff --check: clean

Process

  1. Reproduced the current master downgrade failure locally.
  2. Bisected the runner transition that exposed it.
  3. Compared MOL's periodic grid with the manual reference grid.
  4. Applied the one-line grid correction and reran both downgrade and current environments.

Use the same 1/N periodic spacing in the manual reference problem as in the MOL discretization.

Co-Authored-By: Chris Rackauckas <[email protected]>
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review July 13, 2026 04:15
@ChrisRackauckas
ChrisRackauckas merged commit 7d25cf8 into SciML:master Jul 13, 2026
4 of 7 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