Draft: Krane SEMF coefficients + Z/N quark decomposition (N2, reconciliation pending)#14
Draft
Cuuper22 wants to merge 1 commit into
Draft
Draft: Krane SEMF coefficients + Z/N quark decomposition (N2, reconciliation pending)#14Cuuper22 wants to merge 1 commit into
Cuuper22 wants to merge 1 commit into
Conversation
… (tests pending) Implementation (complete): - gpu_stack/presets/nuclear.py: Krane Table 3.2 semi-empirical mass formula coefficients as a sourced calibration preset factory with the pairing-term convention (A^(-1/2) exponent) and reference-energy semantics documented against this model's symbolic structure. - Quark-count decomposition across source and medium components using the quark-model identities U = 2Z + N and D = Z + 2N (PDG-referenced), turning primitive valence quark-count roots into derived equations. - Redundant triplet-integrality equations removed where the sum identity U + D = 3A is now implied by the Z/N identities. Status (honest): the structural reconciliation of the test suite is NOT finished. 54 tests across ~20 files still assert the old root structure (trace shapes, removed equation names, old root counts), dominated by tests/test_materials_calibrated_presets.py and the lithography source/species/medium boundary packs. Last observed run: 54 failed, 643 passed. The implementation imports cleanly and the resolved values are correct where probed (source_neutron_count resolves to 70 with no missing inputs). This commit preserves the interrupted agent's work for a follow-up reconciliation pass. https://claude.ai/code/session_01Eu2JVnPFgMQftwYTP3cGQZ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
N2 of 10: SEMF coefficients + quark-count decomposition — DRAFT, test reconciliation pending
Implementation (complete)
gpu_stack/presets/nuclear.py. The standing blocker (source, SI conversion, pairing/reference-energy semantics) is addressed: the pairing-termA^(-1/2)convention and the meaning ofnuclear_pairing_gap_reference_energyare verified against this model's symbolic structure and documented in the preset.U = 2Z + N,D = Z + 2N(PDG-referenced), turning the heaviest root-debt family's primitives (12+ quark-count roots at ~218 weight each) into derived values.U + D = 3Ais now implied.Why draft
The agent hit the session usage limit mid-reconciliation. 54 tests across ~20 files still assert the old structure (trace shapes, removed equation names, old root counts) — dominated by
tests/test_materials_calibrated_presets.py(10), lithography source/species boundary packs (9), and CLI/root-debt snapshots. Last observed:54 failed, 643 passed. Probed values are correct (e.g.source_neutron_countresolves to 70, missing=0); the failures are stale expectations, not wrong physics — but each deserves deliberate review rather than bulk-bumping.Remaining work
root-debt --families --limit 5) and update count assertions (619 will drop).https://claude.ai/code/session_01Eu2JVnPFgMQftwYTP3cGQZ
Generated by Claude Code