Repository navigation
Replies: 1 comment
|
Decision (maintainer): option B — include geometry in the hash only when the entry carries positions. Entries without Details I will implement unless someone objects here:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Proposal: schema v0.2 — atomic positions, valence charges, and what goes into the hash.
Tracking issue: #13. Context: integrations plan, milestone M2.
Why
A first-quantized plane-wave exporter needs atomic positions and the valence charge of each species.
QMatEntrystores species and lattice, but not site coordinates or valence charges, so no exporter can be built from the NIR alone today.Proposal
SiteMetadata(element, fractional coordinates) andStructureMetadata.sites, defaulting to empty so existing entries stay valid.from_dict/read_entry_jsonand reject unknownschema_version.schema_versionto0.2with a migration note.Open questions — please weigh in
canonical_hash()currently covers 11 fields. Positions are part of the physics, but adding them changes every existing hash. Options:hash_version) and hash positions in v2 only.sitesis non-empty, so existing entries keep their hash.canonical_hash()unchanged and add a separate structure hash.HamiltonianMetadata, or alongside the pseudopotential in provenance?My leaning: B for the hash (no breakage, simple to explain), valence charges in
HamiltonianMetadata, coordinates stored as given with rounding applied only when hashing. Happy to be talked out of any of it.Per GOVERNANCE.md, I'll leave this open for discussion before any schema code is written.
All reactions