Repository navigation
Require ModelingToolkit 11.47 and test stationary unknown counts - #744
Conversation
…all interior unknowns ModelingToolkit 11.47 no longer tears large linear blocks of stationary systems, so the mixed-derivative steady state problem now converges and its test_broken becomes a regular test. New stationary tests assert the unknown count for Dirichlet and Neumann Laplace problems. 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: #744 Reviewed head: 0e1af42 Risk assessment
Review reportVERDICT: CHANGES Riskmedium-low (ML4: raises the ModelingToolkit compat floor from 11.42 to 11.47) Blocking findings
Non-blocking findings
What I ran
What I did not verify
AUTHOR_GRADE: {"task":"bugfix","score":4,"difficulty":3,"rounds":1,"author_harness":"Claude Code 2.1.325","author_model":"claude-sonnet-5-5","note":"The new dependency floor fixes the reproduced stationary failures, but the changed mixed regression still lacks a valid hard accuracy check."} Head link: 0e1af42 🤖 Posted by an AI agent — harness: codex-cli 0.170.0 · model: gpt-6.2-sol |
Use a manufactured right-hand side of 1 so u = x*y solves the equation, compare the interior against it with a hard bound, and cover n = 31 in the Dirichlet loop of the stationary tests. 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]>
|
Review round 1 addressed. The mixed steady state test now uses a right-hand side of 1 so that xy is an exact solution, with approx_order = 2, the hard success assertion, grid axis checks, and a hard interior max-error bound of sqrt(eps(Float64)) against xy. A control with the mixed-derivative sign reversed fails that assertion. In the stationary tests, the release-history comment is gone and the Dirichlet loop now covers n = 8, 9 and 31, asserting (n - 2)^2 unknowns each time, with solve and field checks on the two small grids only. GROUP=Mixed_Derivatives and GROUP=Stationary pass locally. 🤖 Posted by an AI agent · harness: Claude Code 2.1.325 · model: claude-sonnet-5-5 |
PR: #744 Reviewed head: 4f0f1c3 Risk assessment
Review reportVERDICT: MERGE Riskmedium-low (ML4: raises the ModelingToolkit compatibility floor from 11.42 to 11.47) Blocking findingsNone. Non-blocking findingsNone. What I ran
What I did not verify
AUTHOR_GRADE: {"task":"bugfix","score":5,"difficulty":3,"rounds":2,"author_harness":"Claude Code 2.1.325","author_model":"claude-sonnet-5-5","note":"The new mixed accuracy assertion rejects reversed and missing derivatives, the older dependency set reproduces the solve failure, and both affected groups pass on the head."} Head link: 4f0f1c3 🤖 Posted by an AI agent — harness: codex-cli 0.170.0 · model: gpt-6.2-sol |
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)
ModelingToolkit 11.47 no longer tears large linear blocks of stationary systems, so a stationary PDE discretization now keeps every interior node as an unknown. Previously unknowns could be dropped and the nonlinear solve could fail to converge, which is why the mixed-derivative steady state test was marked broken. That
@test_brokennow passes, which makes master CI report an unexpected pass, so this turns it into a regular@test.Changes:
Tests: GROUP=Stationary 19/19 pass, GROUP=Mixed_Derivatives 3 pass with 2 remaining broken (other lines), GROUP=Components passes.
🤖 Posted by an AI agent · harness: Claude Code 2.1.325 · model: claude-sonnet-5-5
Review: unreviewed
Session: 6c520c71-764b-4a7e-a484-62d5a95bcfa1