Expand description
Models for the unified generation pipeline’s session state.
These types track the state of a multi-period generation run, including fiscal period decomposition, balance carry-forward, document ID sequencing, and deterministic seed advancement.
Structs§
- Balance
State - GL and sub-ledger balances carried forward between periods.
- Document
IdState - Sequential document-ID counters so IDs never collide across periods.
- Entity
Counts - Counts of master-data entities generated so far.
- Generation
Period - A single period within a generation run.
- Period
Log - Summary of what was generated in a single period.
- Session
State - Accumulated state for a multi-period generation session.
Functions§
- add_
months - Add
monthscalendar months to aNaiveDate, clamping the day to the last valid day of the target month. - advance_
seed - Derive a deterministic per-period RNG seed from the master seed.