Repository navigation
fix(dist): preserve ordered OpenDSS source and line snapshots - #599
Conversation
Conversion MatrixLegendCells show A nonzero cell means the target format cannot carry what the source stated, and every warning names the field or record it cannot carry. A write or readback warning names a field of the target format; a source parse warning, which every cell of that row shares, names what the source document itself leaves unstated. A warning that named a writer PowerIO could extend instead of a limit of the format would be a defect in this table.
TransmissionSix generated cases per writable source row; one vendored case per read-only source row. Into a case format
Into an exchange format
Into a dataset directory
DistributionSeven cases per source row. Into a distribution format
Geographic LayerOne case per source row. Into the geographic layer document
A geographic layer is a Full warning details: download |
9731e43 to
fa48cb0
Compare
b4d655c to
25d1fa1
Compare
8789654 to
162b9d4
Compare
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017y9wBqFvHDPxuADQVtZTEZ
# Conflicts: # CHANGELOG.md # powerio-dist/tests/cim.rs
…ine (#740) Clippy 1.99's assert_is_empty lint fails two tests added today; compare the slices with assert_eq!/assert_ne! instead. The cim-dist schema baseline predates #599, where the dss reader began stating each Vsource as an ideal EMF plus a series Thevenin line. The writer emits that line as an ACLineSegment with two Terminals, so each dss fixture output has two more Terminal.phases profile findings. Record the new counts, a baseline for the case3_balanced PMD fixture from #738, and the expected refusal for its multinetwork variant, which parses to a time series that cim-dist cannot write. Claude-Session: https://claude.ai/code/session_017y9wBqFvHDPxuADQVtZTEZ Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
OpenDSS sources and lines previously lost native assignment order, source impedance and source-return semantics during typed conversion. Resolve executed snapshot state for Circuit/Vsource, Line and LineCode, including copying, frequency changes and native cache invalidation. Materialize finite source impedance separately from ideal EMF constraints and write independent/floating source constraints with exact circuits. Retain disabled source state and unused LineCode definitions without inventing electrical components. Invalid snapshots fail before output and retain their source diagnostics.
Native feature qualification covers 240 source imports, 156 canonical/repeated source cases, and 666 line-state cases / 732 lines / 26,196 complex observations with 732 resistance negative controls. The existing derived dot-product bound remains required for sixty current comparisons; raw discrepancies and matrix budgets are unchanged. Coordinate landing with the Julia static-consumer companion eigenergy/PowerIO.jl#167.
Rebased onto Rust main
c505aa9a0cabe56b618fc7c6f55853fc141e74f0on 27 October 2026. Parent: #598 (codex/gridlabd-pr-01-source). Current head:162b9d430c11e9b559efa6ff7063d9c9747f798c. The complete #598 → #610 chain includes #598's later pre-allocation include-budget fix, current-main correctness fixes and unchanged published schemas. Julia CI pins PowerIO.jl #167 at84cb0af3a191ebc5a735319e6a0bd12fe09a7e70.Fresh local validation of the cumulative stack: 3,268 workspace/C ABI tests passed (42 existing ignores), all seven CI Clippy configurations passed, conversion-matrix findings are unchanged, and the generated 0.11.7 schema matches. Root budget tests pass on Rust 1.99 and 1.88 (89 each); the DSS fidelity checkpoint passes 566 distribution tests (9 existing ignores). Both Julia companions passed against matching full-feature libraries (1,975 / 2,068 assertions, one existing broken test each), with byte-exact raw-binding regeneration. All 23 Python oracle/control unit tests pass.
Fresh current-head hosted CI is running. These cumulative local results do not substitute for each prefix's hosted checks. Native qualification figures above refer to existing pinned feature evidence; the complete feeder-oracle corpus was not rerun. See the committed qualification guide and #697 for current status.
Sam's review/approval remains required. Future integration keeps #598 → #610 order, pairing Julia #167 with Rust #599 and Julia #168 with Rust #610 and checking actual main between authorized merges. No PR merge, tag, deployment or release is authorized.