Settings & data
Methodology parameters are code-level configuration (src/lib/config.ts) so every change is reviewable in git.
Data classes used throughout the app
| PUBLIC DATA CASE | Case built from SEC filings; every historical number traces to a datapoint (filing, accession, page / section, URL, retrieved date). |
| PUBLIC FILING | A figure reported in a filing. Never estimated or silently filled; unit conversions (US$ thousands → $M) are documented. |
| CALCULATED | Calculated from reported figures by formula (e.g. LTM = FY + YTD − prior YTD; AOI / NOI build; FCF = CFO − capex). |
| ANALYST PROJECTION | Modelled forecast under a scenario. |
| UNDERWRITING ASSUMPTION HYPOTHETICAL INVESTMENT TERMS | Hypothetical purchase price, fees, hold, new-loan terms and covenant packages. Not real transactions; not Fortress terms. |
| DEMO DATA | Fictional demo universe. |
Excel ⇄ web reconciliation
Open →Three workbooks (AMC Networks, Brandywine, Brightwater demo) are recalculated in LibreOffice and compared with the web engine on 173 metrics each, including all 105 sensitivity cells.
SEC EDGAR lookup (public filings ingestion)
Pulls company metadata, filing index and annual XBRL facts from SEC’s free APIs (validated with Zod). Set SEC_USER_AGENT in .env.local to identify yourself per SEC fair-access policy (see .env.example). Failures are shown here and never replaced by invented data.
Required-return thresholds (defaults; override per case)
| hurdleIrr | 0.12 |
| minYield | 0.09 |
| maxNetLeverage | 6 |
| minRecovery | 0.6 |
| minCovenantHeadroom | 0.15 |
| minDownsideIrr | 0 |
Credit score weights (sum 100)
| leverage | 15 |
| coverage | 15 |
| liquidity | 10 |
| fcf | 10 |
| maturity | 10 |
| marginStability | 10 |
| revenueStability | 8 |
| assetCoverage | 12 |
| industry | 10 |
Distressed Opportunity Score weights (sum 100)
| recovery | 20 |
| entryDiscount | 15 |
| catalyst | 10 |
| position | 10 |
| refiEvent | 5 |
| defaultSafety | 15 |
| liquidity | 10 |
| leverage | 5 |
| coverage | 5 |
| maturity | 3 |
| fcf | 2 |
Scenario probabilities & recovery
| base | 0.55 |
| downside | 0.3 |
| severe | 0.15 |
| adminClaimPct | 0.04 |
| accruedMonths | 3 |
| resolutionLagYears | 1 |
Monitoring thresholds
| leverageIncrease | 0.5 |
| coverageDecline | 0.5 |
| liquidityDeclinePct | 0.2 |
| maturityYears | 2 |
| ebitdaDeclinePct | 0.1 |
| covenantHeadroomPct | 0.15 |
| recoveryDeclinePts | 5 |
| revenueShortfall | 0.02 |
| ebitdaShortfall | 0.05 |
| leverageSlack | 0.25 |
| coverageSlack | 0.15 |
| liquiditySlack | 0.1 |
Maturity & risk bands
| MATURITY_MATERIAL_PCT | 0.15 |
| Low | ≥ 75 |
| Moderate | ≥ 60 |
| Elevated | ≥ 45 |
| High | ≥ 0 |