Files
settled-reach/tooling/econ-sim/target/debug/build/zerocopy-3e4c106aef611585/output
T
jpmschweitzerandClaude Sonnet 4.6 fb87f933f5 feat(simulation): add economics simulation binary with Layer 1+2 (#806, #807)
Adds tooling/econ-sim — a standalone Rust binary for the Phase 2 economics
simulation:

Layer 1 (Leontief production, #806):
- Deterministic per-run PRNG seeding of corp×site productivity (D-176)
- Fixed-coefficient production chains; scarcity cascades downstream (D-178)
- Per-capita population demand for finals and services
- Gate-energy demand reduction for fusion_fuel at connected nodes (D-186)
- Price adjustment via local tâtonnement

Layer 2 (spatial price equilibrium, #807):
- Damped tâtonnement trade flows along gate links (α=0.03, β=0.4, D-178)
- 8% transport cost per hop damps long-distance arbitrage
- Flows computed from pre-step snapshot; applied atomically
- --stability-check implements D-179 Tests 1 and 2:
  · Test 1: cold-start convergence ±5% at tick 100 → PASS (max 1.05%)
  · Test 2: long-run stability ±2% over ticks 900–999 → PASS (max 0.00%)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 13:56:06 +02:00

25 lines
1.3 KiB
Plaintext

cargo:rerun-if-changed=build.rs
cargo:rerun-if-changed=Cargo.toml
cargo:rustc-check-cfg=cfg(no_zerocopy_simd_x86_avx12_1_89_0)
cargo:rustc-check-cfg=cfg(rust, values("1.89.0"))
cargo:rustc-check-cfg=cfg(no_zerocopy_core_error_1_81_0)
cargo:rustc-check-cfg=cfg(rust, values("1.81.0"))
cargo:rustc-check-cfg=cfg(no_zerocopy_diagnostic_on_unimplemented_1_78_0)
cargo:rustc-check-cfg=cfg(rust, values("1.78.0"))
cargo:rustc-check-cfg=cfg(no_zerocopy_generic_bounds_in_const_fn_1_61_0)
cargo:rustc-check-cfg=cfg(rust, values("1.61.0"))
cargo:rustc-check-cfg=cfg(no_zerocopy_target_has_atomics_1_60_0)
cargo:rustc-check-cfg=cfg(rust, values("1.60.0"))
cargo:rustc-check-cfg=cfg(no_zerocopy_aarch64_simd_1_59_0)
cargo:rustc-check-cfg=cfg(rust, values("1.59.0"))
cargo:rustc-check-cfg=cfg(no_zerocopy_aarch64_simd_be_1_87_0)
cargo:rustc-check-cfg=cfg(rust, values("1.87.0"))
cargo:rustc-check-cfg=cfg(no_zerocopy_panic_in_const_and_vec_try_reserve_1_57_0)
cargo:rustc-check-cfg=cfg(rust, values("1.57.0"))
cargo:rustc-check-cfg=cfg(doc_cfg)
cargo:rustc-check-cfg=cfg(kani)
cargo:rustc-check-cfg=cfg(__ZEROCOPY_INTERNAL_USE_ONLY_NIGHTLY_FEATURES_IN_TESTS)
cargo:rustc-check-cfg=cfg(__ZEROCOPY_INTERNAL_USE_ONLY_DEV_MODE)
cargo:rustc-check-cfg=cfg(coverage_nightly)
cargo:rustc-check-cfg=cfg(zerocopy_inline_always)