Skip to main content

Crate dsfb_dscd

Crate dsfb_dscd 

Source
Expand description

Deterministic Structural Causal Dynamics (DSCD) layered on DSFB + ADD.

This crate provides two layers:

  • legacy sweep utilities used by existing notebooks/binaries in this repo,
  • paper-facing deterministic simulation APIs (DscdConfig, run_dscd_simulation) for threshold scaling, provenance, and figure CSVs.

All DSCD pipelines are deterministic and reproducible.

Re-exports§

pub use config::create_timestamped_output_dir;
pub use config::create_timestamped_output_dir_in;
pub use config::workspace_root_dir;
pub use config::DscdScalingConfig;
pub use config::DscdSweepConfig;
pub use config::OutputPaths;
pub use graph::add_trust_gated_edge;
pub use graph::add_trust_gated_edge_with_provenance;
pub use graph::expansion_ratio as legacy_expansion_ratio;
pub use graph::reachable_from;
pub use graph::DscdEdge as LegacyDscdEdge;
pub use graph::DscdGraph as LegacyDscdGraph;
pub use graph::Event;
pub use graph::EventId;
pub use integrations::compute_structural_growth_for_dscd;
pub use integrations::generate_dscd_events_from_dsfb;
pub use integrations::DscdEventBatch;
pub use integrations::DscdObserverSample;
pub use integrations::ResidualState;
pub use integrations::RewriteRule;
pub use integrations::StructuralGrowthSummary;
pub use integrations::TrustProfile;
pub use paper::build_graph_for_tau;
pub use paper::compute_reachable_component_size;
pub use paper::create_dscd_run_dir;
pub use paper::effective_trust;
pub use paper::expansion_ratio;
pub use paper::linspace;
pub use paper::run_dscd_simulation;
pub use paper::structural_distance;
pub use paper::DscdConfig;
pub use paper::DscdEdge;
pub use paper::DscdError;
pub use paper::DscdEvent;
pub use paper::DscdGraph;
pub use paper::DscdParams;
pub use sweep::build_graph_from_samples;
pub use sweep::export_edge_provenance_by_edge_id;
pub use sweep::export_edge_provenance_by_endpoints;
pub use sweep::run_threshold_scaling;
pub use sweep::run_trust_threshold_sweep;
pub use sweep::ThresholdRecord;

Modules§

config
graph
integrations
paper
DSCD paper-facing deterministic simulation and export pipeline.
sweep