gendesign/backend/tests/services/generative
Light1YT 9e848cee43
All checks were successful
CI / changes (pull_request) Successful in 6s
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Successful in 1m47s
CI / backend-tests (pull_request) Successful in 11m0s
feat(financial/dcf): dormant separate-index inflation capability (default OFF)
Wire smr_inflation_annual / sale_inflation_annual into _build_monthly_cashflow
(monthly-compounded escalation of СМР costs vs sale revenue), gated by module
constants _SMR_INFLATION_ANNUAL / _SALE_INFLATION_ANNUAL = 0.0. At default the
factor (1+0)**t == 1.0 → byte-identical cashflow → existing Σ cashflow ==
net_profit invariant and all 57 prior tests unchanged (deep-review verified
IEEE-754 identity + proration-denominator guard). Land not escalated (t0 lump);
marketing/VAT/tax prorated on escalated revenue (total preserved, only retimed).

Capability разведено+протестировано, OFF until calibrated indices + a decision
to reframe the headline today-money invariant (nominal DCF vs real БДР). No
schema/API/codegen change. +10 tests (zero-diff, compounding, NPV monotonicity,
land-excluded, nominal-Σ-diverges-when-on).

Refs #1881
2026-06-25 16:53:32 +05:00
..
test_api_concepts.py feat(financial): ground-floor нежилое (office/commercial) tranche 2026-06-25 11:40:01 +00:00
test_exporters.py feat(finmodel): monthly DCF — real NPV/IRR/PBP, replace IRR-proxy (epic #1881 PR-3) 2026-06-23 21:52:04 +05:00
test_financial_dcf.py feat(financial/dcf): dormant separate-index inflation capability (default OFF) 2026-06-25 16:53:32 +05:00
test_geometry.py feat(generative): exporters (dxf/pdf) + generative test suite (#54 #55 #56) 2026-06-13 21:33:20 +05:00
test_market_price_lookup.py feat(generative): calibrate finmodel sale price from Objective market data (epic #1881 PR-2) 2026-06-23 21:10:25 +05:00
test_placement.py feat(generative): exporters (dxf/pdf) + generative test suite (#54 #55 #56) 2026-06-13 21:33:20 +05:00
test_teap_financial.py feat(financial): ground-floor нежилое (office/commercial) tranche 2026-06-25 11:40:01 +00:00