feat(finmodel): monthly DCF — real NPV/IRR/PBP, replace IRR-proxy (epic #1881 PR-3) #1884
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#1884
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/finmodel-dcf"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Эпик #1881 PR-3 — помесячный DCF → НАСТОЯЩИЕ NPV/IRR/PBP, заменяет IRR-proxy. Hand-rolled (без numpy-financial / новых deps), чистая детерминированная математика.
Что
_npv/_irr_monthly(bisection + bracket-guard) /_payback_monthsнад помесячным cashflow из статического каскада (PR-1) + калиброванной цены (PR-2).development_type(24/36/48) → распродажа, дисконт 15%.Σ недисконтированного cashflow == net_profit(тест — гарантия что DCF не разошёлся со статикой; diff 0.0).irr_is_proxy=True, честно).sales_end = max(sales_start+длит, construction_end)— продажи не заканчиваются раньше ввода (РФ ДДУ/эскроу). Иначе high_rise распродавался за 12 мес ДО ввода → двойная смена знака → profitable-проект молча падал в proxy + инверсия NPV (найдено code-review, исправлено + регресс-тесты).FinancialModel+npv_rub/payback_months/discount_rate_used/schedule_is_default(additive).Test plan
Follow-up
PR-4: мост в site-finder cockpit Investment Clearance (ТЭП из buildability) + подключить §22 sales-pace вместо дефолта + финансирование (кредит/займы 15%).
Refs #1881
🤖 Generated with Claude Code