feat(financial): levered (equity) IRR — capstone финмодели #1881 #1900
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#1900
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/levered-equity-irr"
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?
Что
Последняя крупная финметрика Excel-эталона «Авангардная 13» — IRR на собственные средства (levered/equity). Раньше финансирование (#1895) считало только агрегаты (пиковый долг, проценты, прибыль после финанс.), но не доходность на equity.
Как
_compute_financingуже проходит помесячный график долга (банк покрывает LTC 70% оттока, проценты капитализируются, притоки гасят долг). Из того же прохода эмитим денежный поток собственника:(1−LTC)долю →cf·(1−ltc)cf − min(cf, debt)levered_irr = _irr_monthly(equity_cf)(annualized), с тем же roi-proxy fallback и флагомlevered_irr_is_proxy, что и unlevered IRR.Честность (важно)
0.0+ proxy-флаг, никогда не выдуманная доходность.isReal = financing_enabled && !levered_irr_is_proxy.Числа (LTC 70%)
Корректность
Σ equity_cf == net_profit_after_financingдержится точно (банковский принципал нетится в ноль, проценты — единственная утечка). Тест проверяет на реальной модели.Σ cashflow == net_profitНЕ затронуты — levered чисто additive.Изменения
financial.py—_FinancingResultdataclass (+equity_cashflow), levered IRR вcompute_financial.concept.py— additivelevered_irr/levered_irr_is_proxy(defaults, back-compat).api-types.ts— регенерён точной CI-цепочкой (app.openapi()→ openapi-typescript → prettier); diff = только 2 поля, без мусора → openapi-codegen-check пройдёт.ptica-adapt.ts+ConceptVariantsResult.tsx— строка «IRR на собственные средства» (drawer/каскад, не above-the-fold KPI), proxy/negative честно.Refs #1881