release: v5.10.0 — group-audit-aware Method-A je_network export#191
Merged
mivertowski merged 1 commit intomainfrom May 9, 2026
Merged
release: v5.10.0 — group-audit-aware Method-A je_network export#191mivertowski merged 1 commit intomainfrom
mivertowski merged 1 commit intomainfrom
Conversation
Adds per-entity (entities/{code}/graphs/je_network.{csv,parquet})
and consolidated (consolidated/je_network.{csv,parquet}) accounting-
network edge lists to the group-audit pipeline. IC pairs surface
via ic_pair_id + ic_partner_entity columns; elimination JEs are
flagged is_eliminated=true on the consolidated file with entity_code
set to the group_id.
* New shared helper datasynth_runtime::je_network::build_je_network_edges
reused by single-entity output_writer + the new group emitter.
* Single-entity CSV output is byte-identical to v5.9.0 (existing
integration test je_network_export still passes).
* New aggregate module datasynth-group/src/aggregate/je_network.rs
wires into aggregate/driver.rs after eliminations_to_journal_entries.
* Tests cover Method A, Cartesian, multi-line skip, IC field
surfacing, and per-entity + consolidated file emission.
Validated end-to-end via 'datasynth-data group generate' on
mini_nestle.yaml: 4 per-entity files, 368 elimination edges,
69,287 consolidated edges, 376 IC-pair edges, coverage 0.9583.
vynfi-group-audit-enterprise-2000 regen is the next deliverable
(cloud H100 wall-clock + 3 GB upload — code is ready).
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.
Summary
v5.10 lifts the v5.9.0 single-entity Method-A accounting-network export to the consolidated-group level, so
vynfi-group-audit-enterprise-2000(and any other group-audit run) emits per-entity and consolidatedje_networkartefacts.What's added
entities/{code}/graphs/je_network.{csv,parquet}ic_pair_id+ic_partner_entity(15 col)consolidated/je_network.{csv,parquet}entity_code,is_eliminated,eliminates_ic_pair_idBoth formats land in the existing per-entity
graphs/directory and the existing top-levelconsolidated/directory, matching the v5.0 group-audit layout convention.Implementation
datasynth_runtime::je_network::build_je_network_edges()— pure builder reused by the single-entity output_writer and the new group emitter. Single-entity CSV output is byte-identical to v5.9.0 (existingtests/je_network_export.rsintegration test continues to pass).crates/datasynth-group/src/aggregate/je_network.rs(the writer) wires intoaggregate/driver.rsimmediately aftereliminations_to_journal_entriesruns.JournalEntryHeader::ic_pair_idandic_partner_entity(already populated since v5.0); elimination JEs are markedis_eliminated=truewithentity_codeset to the group_id.Validated against
mini_nestle.yamlEnd-to-end via
datasynth-data group generate:je_network.{csv,parquet}files (NESTLE_SA / NESTLE_USA / NESTLE_DE / NESTLE_BR)Roadmap (post-merge)
VynFi/vynfi-group-audit-enterprise-2000regen is the next deliverable — that's a cloud-H100 wall-clock + 3 GB tarball upload, not in scope for this PR. The v5.0 dataset README provenance note already pointed at this: "A v5.9-aware regeneration is on the roadmap and will arrive bundled with the upcoming group-audit-aware Method-A edge-list export."Test plan
cargo test -p datasynth-runtime --test je_network_export(passes — same output)cargo test -p datasynth-runtime --lib je_network(4 passing)cargo test -p datasynth-group --lib aggregate::je_network(1 passing)cargo test -p datasynth-group --test aggregate_e2e(4 passing — incl. new v5.10 assertions)cargo clippy -p datasynth-runtime -p datasynth-group --testscleancargo fmt --all🤖 Generated with Claude Code