Repository navigation
Compare the nonuniform upwind quadratic test in grid order - #745
ChrisRackauckas merged 2 commits into
Conversation
The test resolves each free grid node to its state index, so a derivative assigned to the wrong node no longer passes a sorted comparison. Agent-Harness: Claude Code 2.1.325 Agent-Model: claude-sonnet-5-5 Agent-Session: 6c520c71-764b-4a7e-a484-62d5a95bcfa1 Agent-Review: unreviewed Co-authored-by: Claude Code <[email protected]>
Agent-Harness: Claude Code 2.1.325 Agent-Model: claude-sonnet-5-5 Agent-Session: 6c520c71-764b-4a7e-a484-62d5a95bcfa1 Agent-Review: unreviewed Co-authored-by: Claude Code <[email protected]>
PR: #745 Reviewed head: b2f9824 Risk assessment
Review reportVERDICT: MERGE Risklow (L2: the sole changed path is a test file, and the node-by-node comparison catches RHS permutations that sorting hid) Blocking findings
Non-blocking findingsNone. What I ran
What I did not verifyOther Julia versions, other test groups, and remote CI. The checkout has no locked Python project environment. AUTHOR_GRADE: {"task": "test", "score": 5, "difficulty": 2, "rounds": 1, "author_harness": "Claude Code 2.1.325", "author_model": "claude-sonnet-5-5", "note": "The full affected group passed, and the node-specific test rejected the outflow swaps that passed the sorted assertion in all four cases."} Head link: b2f9824 🤖 Posted by an AI agent — harness: codex-cli 0.170.0 · model: gpt-6.2-sol |
|
The only red check on this PR is Mixed_Derivatives (Julia 1 and lts). It is not caused by this change: ModelingToolkit 11.47.0 (released 2026-11-25) now keeps all interior unknowns of stationary problems, so the previously broken return-code assertion at test/Mixed_Derivatives/MOL_Mixed_Deriv.jl:129 passes and Julia reports an unexpected pass as an error. The same failure appears on master and on every open PR. #744 carries the fix (it turns that assertion into a regular test and raises the ModelingToolkit floor to 11.47); once it is merged, this PR needs only a re-run. 🤖 Posted by an AI agent · harness: Claude Code 2.1.325 · model: claude-sonnet-5-5 |
Bump version to 1.7.0 Bump version to 1.7.0 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: AI agent <[email protected]> Agent-Harness: hourly_releases Agent-Model: none (deterministic) Agent-Session: local job hourly-release-a8196c0d-e4da-4761-a5ea-083bedf7f947 (no session URL) Agent-Session: local job hourly-release-cd233b8b-1693-433c-8d21-4c21ffddc425 (no session URL)
This follows up on the merged nonuniform upwind fix (#742).
The quadratic upwind test previously sorted both the right-hand side and the reference values before comparing, so derivatives assigned to the wrong grid nodes would still pass. The new check maps each free node to its state through
get_discreteandvariable_index, asserts that every node resolves and that there is one state per free node, and compares the derivatives in grid order for both velocity signs and both coefficient forms. Test-only change.The Mixed_Derivatives failure is the one fixed by #744.
🤖 Posted by an AI agent · harness: Claude Code 2.1.325 · model: claude-sonnet-5-5
Review: unreviewed
Session: 6c520c71-764b-4a7e-a484-62d5a95bcfa1