Expand description
DataSynth group audit simulation engine.
Manifest / shard / aggregate three-phase model layered above
datasynth_runtime::EnhancedOrchestrator. See
docs/superpowers/specs/2026-04-23-group-audit-simulation-design.md.
Re-exports§
pub use aggregate::aggregate_pre_elimination;pub use aggregate::apply_eliminations_to_tb;pub use aggregate::apply_nci_and_equity_method;pub use aggregate::build_consolidated_balance_sheet;pub use aggregate::build_consolidated_balance_sheet_with_names;pub use aggregate::build_consolidated_cash_flow;pub use aggregate::build_consolidated_income_statement;pub use aggregate::build_consolidated_income_statement_with_names;pub use aggregate::build_consolidation_schedule;pub use aggregate::build_coverage_report;pub use aggregate::build_notes_to_consolidated_fs;pub use aggregate::build_statement_of_changes_in_equity;pub use aggregate::classify_account;pub use aggregate::compute_cta;pub use aggregate::compute_equity_method_investment;pub use aggregate::compute_nci_rollforward;pub use aggregate::cta_rollforward;pub use aggregate::eliminations_to_journal_entries;pub use aggregate::extract_opening_balances;pub use aggregate::generate_eliminations;pub use aggregate::ingest_opening_equity_method_carrying_values;pub use aggregate::ingest_opening_nci_balances;pub use aggregate::ingest_opening_suppressed_losses;pub use aggregate::load_entity_trial_balance;pub use aggregate::match_ic_pairs;pub use aggregate::read_prior_period_closing_tbs;pub use aggregate::run_aggregate;pub use aggregate::run_aggregate_chain;pub use aggregate::run_cgu_impairment_tests;pub use aggregate::select_restatement_path;pub use aggregate::translate_entity_tb;pub use aggregate::translate_entity_tb_with_hyperinflation;pub use aggregate::translate_entity_tb_with_indexed_restatement;pub use aggregate::write_cgu_impairment_tests;pub use aggregate::write_consolidated_fs;pub use aggregate::write_coverage_report;pub use aggregate::write_cta_rollforward;pub use aggregate::write_equity_method_investments;pub use aggregate::write_nci_rollforward;pub use aggregate::write_suppressed_losses;pub use aggregate::write_translation_worksheet;pub use aggregate::AccountNameDictionary;pub use aggregate::AggregateOptions;pub use aggregate::AggregateSummary;pub use aggregate::AggregatedAccount;pub use aggregate::AggregatedTb;pub use aggregate::BsLine;pub use aggregate::CashFlowInputs;pub use aggregate::CfLine;pub use aggregate::CfSection;pub use aggregate::CguTestInputs;pub use aggregate::ConsolidatedBalanceSheet;pub use aggregate::ConsolidatedCashFlow;pub use aggregate::ConsolidatedFinancialStatements;pub use aggregate::ConsolidatedIncomeStatement;pub use aggregate::ConsolidationSchedule;pub use aggregate::CoverageReport;pub use aggregate::CtaRollforward;pub use aggregate::DeferredEntity;pub use aggregate::DrCr;pub use aggregate::EliminationResult;pub use aggregate::EquityChangesInputs;pub use aggregate::EquityMethodInputs;pub use aggregate::EquityMethodInvestment;pub use aggregate::EquityRollforward;pub use aggregate::IcMatchResult;pub use aggregate::IcMatchedPair;pub use aggregate::IndexedRestatement;pub use aggregate::IsLine;pub use aggregate::NciInputs;pub use aggregate::NciRollforward;pub use aggregate::Note;pub use aggregate::NotesInputs;pub use aggregate::NotesToConsolidatedFs;pub use aggregate::OpeningBalance;pub use aggregate::PeriodSpec;pub use aggregate::RateBasis;pub use aggregate::RestatementPath;pub use aggregate::ScheduleLine;pub use aggregate::StatementOfChangesInEquity;pub use aggregate::TranslatedLine;pub use aggregate::TranslatedTb;pub use aggregate::TranslationAccountType;pub use aggregate::UnmatchedReason;pub use aggregate::UnmatchedSide;pub use aggregate::WorksheetEntity;pub use aggregate::WorksheetLine;pub use aggregate::CGU_IMPAIRMENT_TESTS_FILENAME;pub use aggregate::CONSOLIDATED_FS_FILENAME;pub use aggregate::CONSOLIDATED_SUBDIR;pub use aggregate::CONSOLIDATION_SCHEDULE_FILENAME;pub use aggregate::COVERAGE_REPORT_FILENAME;pub use aggregate::COVERAGE_REPORT_SUBDIR;pub use aggregate::CTA_ROLLFORWARD_FILENAME;pub use aggregate::EQUITY_METHOD_INVESTMENTS_FILENAME;pub use aggregate::NCI_ROLLFORWARD_FILENAME;pub use aggregate::NOTES_FILENAME;pub use aggregate::TRANSLATION_WORKSHEET_FILENAME;pub use aggregate::UNMATCHED_SAMPLE_CAP;pub use config::AuditEngagementConfig;pub use config::CbcReportConfig;pub use config::CguConfig;pub use config::CguDefinitionEntry;pub use config::CguGoodwillAllocationEntry;pub use config::ComponentScopeThresholds;pub use config::ConsolidationMethod;pub use config::EntityConfig;pub use config::FleetConfig;pub use config::FxConfig;pub use config::FxPolicyConfig;pub use config::FxRateBasis;pub use config::FxRateSource;pub use config::GeneratedEntityBlock;pub use config::GroupConfig;pub use config::GroupMaterialityConfig;pub use config::IcMatchingConfig;pub use config::IcMatchingStrategy;pub use config::IcPattern;pub use config::IcRelationshipConfig;pub use config::IcRelationshipExplicit;pub use config::IcRelationshipPattern;pub use config::IcTransactionType;pub use config::IntercompanyConfig;pub use config::MaterialityBasis;pub use config::OutputCompression;pub use config::OutputLayout;pub use config::OutputLayoutConfig;pub use config::OwnershipConfig;pub use config::PeriodConfig;pub use config::PeriodLength;pub use config::PillarTwoConfig;pub use config::TaxGroupConfig;pub use config::TpConfig;pub use config::TransferPricingMethod;pub use errors::GroupError;pub use errors::GroupResult;pub use manifest::build_audit_engagement_plan;pub use manifest::build_cgu_plan;pub use manifest::build_coa_master;pub use manifest::build_manifest;pub use manifest::build_shard_plan;pub use manifest::build_tax_group_plan;pub use manifest::chacha_rng_from_seed;pub use manifest::derive_aggregate_seed;pub use manifest::derive_entity_seed;pub use manifest::derive_ic_pair_id;pub use manifest::derive_manifest_seed;pub use manifest::expand_ic_relationships;pub use manifest::expand_ownership;pub use manifest::AuditEngagementPlan;pub use manifest::CbcReportPlan;pub use manifest::CguPlan;pub use manifest::ChartOfAccountsMaster;pub use manifest::ComponentAuditor;pub use manifest::ComponentMaterialityAllocation;pub use manifest::ComponentScope;pub use manifest::EntitySource;pub use manifest::ExpandedEntity;pub use manifest::FxRateMaster;pub use manifest::GroupManifest;pub use manifest::IcSource;pub use manifest::ManifestEntity;pub use manifest::ManifestPeriod;pub use manifest::OwnershipGraphSection;pub use manifest::PillarTwoPlan;pub use manifest::ResolvedIcRelationship;pub use manifest::ShardAssignment;pub use manifest::ShardPlan;pub use manifest::TaxGroupPlan;pub use manifest::TransferPricingPlan;pub use manifest::MANIFEST_SCHEMA_VERSION;pub use resolve::resolve_entity;pub use resolve::ResolvedEntity;pub use standalone::generate_standalone;pub use standalone::generate_standalone_chain;pub use standalone::PeriodChainSpec;pub use standalone::StandaloneOptions;pub use standalone::StandaloneSummary;
Modules§
- aggregate
- Aggregate phase — Chunk 5.
- config
group:YAML configuration types (spec §3).- errors
- Error types for the group engine.
- manifest
- Manifest builder — produces the JSON artifact that drives shard and aggregate phases. See spec §4.
- resolve
- Three-level inheritance: defaults → scoping_profile → per-entity override.
Produces a
ResolvedEntitywith every field the orchestrator needs. - shard
- Shard-phase derivations — plans derived per-entity from the manifest.
- standalone
- Standalone single-process generation — Task 9.2.
- validate
- Structural validation of a parsed
GroupConfig.