Skip to content

Reset default spectral proposals between native initializations - #19

Merged
krystophny merged 1 commit into
developfrom
fix/init-default-proposals-20261024
Oct 23, 2026
Merged

krystophny merged 1 commit into
developfrom
fix/init-default-proposals-20261024

Conversation

@krystophny

@krystophny krystophny commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Repeated GVEC initialization can inherit the preceding VMEC input’s spectral defaults and sine/cosine parity. Four local proposal variables have declaration initializers, which give them implicit SAVE semantics in Fortran. Reset the same proposals on every initialization, preserving explicit input choices and VMEC/boundary-derived overrides.

The regression reads an existing synthetic asymmetric VMEC input, then checks the default spectral range and the analytic circle’s four independent normal traces. No private fixture, numerical tolerance or equation changes. This is the lower prerequisite for the separate converter state-persistence repair #18.

Slurm3362324 qualified integrated50895d4a: original default1 and converter4 cases fail before their respective repairs, repaired5/5 pass, full1314Python tests pass (31existing skips,36expected failures), and all17native tests pass in clean resident generation18b62645be5677bdf71c9f125cfe1ce97634b98d1bfa84255bd5bb2f1f7cd95a. Private Fo/runtime pre/post identities match and owner exit is verified. Final canonicalcae1ac53 has the identical qualified tree4c1356a2afad489bd14fa99f13ba2a98eff6d97e.

Source181f26ed was squash-merged as3aefb809 and retained in archive/pr19-source-20261024. The genuine standalone upstream repair remains draft MR195. Later optional test-collection integration is tracked separately in #20; no failed CI receipt is relabelled.

Chris&AI

@krystophny
krystophny marked this pull request as ready for review October 23, 2026 23:28
@krystophny
krystophny added this pull request to the merge queue Oct 23, 2026
Merged via the queue into develop with commit 3aefb80 Oct 23, 2026
7 checks passed
@krystophny
krystophny deleted the fix/init-default-proposals-20261024 branch October 23, 2026 23:41
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.

1 participant