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>
14 lines
582 B
Plaintext
14 lines
582 B
Plaintext
cargo:rerun-if-changed=build.rs
|
|
cargo:rustc-cfg=if_docsrs_then_no_serde_core
|
|
cargo:rustc-check-cfg=cfg(feature, values("result"))
|
|
cargo:rustc-check-cfg=cfg(if_docsrs_then_no_serde_core)
|
|
cargo:rustc-check-cfg=cfg(no_core_cstr)
|
|
cargo:rustc-check-cfg=cfg(no_core_error)
|
|
cargo:rustc-check-cfg=cfg(no_core_net)
|
|
cargo:rustc-check-cfg=cfg(no_core_num_saturating)
|
|
cargo:rustc-check-cfg=cfg(no_diagnostic_namespace)
|
|
cargo:rustc-check-cfg=cfg(no_serde_derive)
|
|
cargo:rustc-check-cfg=cfg(no_std_atomic)
|
|
cargo:rustc-check-cfg=cfg(no_std_atomic64)
|
|
cargo:rustc-check-cfg=cfg(no_target_has_atomic)
|