Skip to main content
Research period: August 2025 - November 2026 · Research timeline The November 2026 completed facility evaluation tests term and revolving contracts, exposure paths and borrowing-base calculations. It reports calculation conformance within the specified cases, separately from the forecast benchmarks in this paper. Research paper RP-2026-04 · Research library · Metric definitions workbook RS-2026-05

What this study compares

This study asks how accurately a system can forecast business cash flow before sizing a proposed obligation. AMLOK’s capacity pipeline routes short and established histories through different forecasting methods, then adds supplier stress and supported collateral. Its direct comparators are financial forecasting configurations: industry XGBoost, a uniform monthly transformer, and simpler historical rules.
The evaluation contains 39,930 active cases: 12,952 short-history and 26,978 established-history cases. Within each history subgroup, WAPE divides total absolute forecast error by total absolute observed cash flow. The overall column is case-weighted subgroup WAPE, defined in section 6; lower is better. Quantile LightGBM is part of AMLOK’s short-history route. The results compare forecasting pipelines on cash flow, rather than language models answering general questions. Source: RP-2026-04, evaluation results, capacity benchmark table and Figures 4.1-4.3. Collateral recovery and coverage-breach results remain separate measures below.

Abstract

A business can have a low estimated probability of default and still lack enough cash to support a proposed payment schedule. This paper joins cash-flow forecasting, receipt timing, customer retention, supported collateral and debt-service constraints in one capacity assessment. It routes short and established histories through different forecasting methods, then sizes an obligation against stressed monthly coverage and a 13-week cash floor. The reported active-business evaluation contains 39,930 cases. The selected configuration records 14.8% case-weighted subgroup WAPE, 5.1% collateral recovery error and an 8.5% debt-service coverage breach rate. Its event-timing accuracy is 79.6% within one day, and its nominal 90% prediction intervals cover 90.1% of outcomes. This paper also defines 58 financial metrics across eight dimensions. Source: RP-2026-04, capacity results and metric specification.

1. The capacity problem

Capacity depends on the amount, timing and reliability of future cash. A monthly surplus can conceal a payroll shortfall earlier in the month. Gross inventory can include goods the business does not own. Receivables can include overdue balances, disputes or concentrations that reduce their supported value. A forecast that overlooks these distinctions can overstate sustainable borrowing. The study evaluates four linked questions: which forecasting method fits the available history; when money should arrive; which assets support recovery; and how large a proposed obligation can be while satisfying explicit coverage and liquidity requirements. These are assessment outputs within Insights and Signal. Institutions retain their lending and intervention decisions.

2. Match the forecast to available history

The study routes businesses with fewer than 30 annual operating transactions to an insufficient-activity tier with no autonomous capacity. Short-history businesses have less than 12 months of history and account for 31.4% of the full later-period cohort. Established businesses have at least 12 months and account for 65.4%. The active evaluation includes 12,952 short-history and 26,978 established cases. These source counts sum to 39,930; they describe the forecasting evaluation population. Source: RP-2026-04, routing method and Figure 4.1.

Short histories share information across comparable businesses

The short-history route combines empirical-Bayes seasonal shrinkage by industry and province with quantile LightGBM and split-conformal intervals. Shrinkage reduces reliance on a noisy borrower-specific estimate when little history is available.
Equation 4.1a - Short-history shrinkageμ^i=HiHi+κμˉideseas+κHi+κμ0,industry,province\widehat\mu_i= \frac{H_i}{H_i+\kappa}\bar\mu_i^{\mathrm{deseas}} +\frac{\kappa}{H_i+\kappa}\mu_{0,\mathrm{industry,province}}H_i is available history, kappa controls shrinkage, and the two means describe deseasonalized borrower activity and the comparable-group prior. More history increases the weight on the borrower’s own observations. Source: RP-2026-04, equation 4.1.

Established histories retain both monthly and event timing

The established route uses a monthly temporal fusion transformer with a 32-month input and 12-month forecast, paired with a six-layer causal timing head. The timing head predicts a Gaussian-smoothed distribution over 201 interarrival-day bins. Its amount objective uses a log transform and Huber loss so unusually large amounts do not dominate every update. Source: RP-2026-04, forecasting architecture.
Equation 4.1b - Joint timing and amount objectiveLtiming=−∑b=0200q~b(Δd)log⁡p^b+λaLHuber(log⁡(1+∣anext∣),a^log⁡)\mathcal L_{\mathrm{timing}}= -\sum_{b=0}^{200}\widetilde q_b(\Delta d)\log\widehat p_b +\lambda_a\mathcal L_{\mathrm{Huber}} \left(\log(1+|a_{\mathrm{next}}|),\widehat a_{\log}\right)q is the smoothed target timing distribution and p is the predicted distribution. The second term compares predicted and observed transaction amounts on a log scale. lambda_a sets the relative weight of amount error. Source: RP-2026-04, equation 4.1.

3. Separate customer retention from supply constraints

The method resolves customer identities before constructing the customer-by-month revenue matrix. Gross revenue retention measures how much of the starting cohort’s revenue remains, without allowing expansion to offset contraction. Net revenue retention includes expansion by those same customers. Neither measure adds newly acquired customers to the starting cohort.
Equation 4.2a - Cohort revenue retentionGRRm=∑b∈C0min⁡(Rb,m,Rb,0)∑b∈C0Rb,0,NRRm=∑b∈C0Rb,m∑b∈C0Rb,0\mathrm{GRR}_m= \frac{\sum_{b\in C_0}\min(R_{b,m},R_{b,0})}{\sum_{b\in C_0}R_{b,0}}, \qquad \mathrm{NRR}_m= \frac{\sum_{b\in C_0}R_{b,m}}{\sum_{b\in C_0}R_{b,0}}C_0 is the starting customer cohort and R is supported cohort revenue. GRR lies between zero and one for non-negative revenue; NRR can exceed one when existing customers expand. Both require a positive starting denominator. The metric appendix applies these definitions to monthly recurring revenue. Source: RP-2026-04, equation 4.2 and retention metrics.
Observed sales also depend on availability. A stockout can suppress sales even when demand remains. The paper adjusts for this censoring before interpreting a decline as a change in customer demand.
Equation 4.2b - Availability-adjusted demandD^k,dlatent=Sk,dobs1−StockoutSharek,d\widehat D^{\mathrm{latent}}_{k,d}= \frac{S^{\mathrm{obs}}_{k,d}}{1-\mathrm{StockoutShare}_{k,d}}The expression scales observed sales by the share of the period with stock available. It requires a positive availability denominator and the stated censoring assumption; a fully unavailable item does not yield a finite estimate through this ratio. Source: RP-2026-04, equation 4.2.

4. Value supported collateral

The receivables calculation removes the union of invoice-level aging, related-party, contra, and dispute exclusions once, then applies concentration limits to the surviving balances. Inventory eligibility follows ownership: consigned and third-party goods do not become owned collateral merely because they appear in an inventory system. The study then applies expiry adjustments, paid-but-unfulfilled order deductions and scenario-specific tax-priority deductions.
Equation 4.3 - Receivables and realizable collateralEr=Bal⁡r−Amount⁡(UnionExcludedSlices⁡r),AReligible=∑rAllowedAfterConcentration⁡(Er),Ieligible=∑ℓmax⁡(0,Cℓ−Uℓ−Lℓ),Vrealizable=max⁡(0,0.85AReligible+(1−h0)Ieligible−Vunfulfilled,residual−Tpriority,residual)\begin{aligned} E_r&=\operatorname{Bal}_r-\operatorname{Amount}(\operatorname{UnionExcludedSlices}_r),\\ AR_{\mathrm{eligible}}&=\sum_r\operatorname{AllowedAfterConcentration}(E_r),\\ I_{\mathrm{eligible}}&=\sum_\ell\max(0,C_\ell-U_\ell-L_\ell),\\ V_{\mathrm{realizable}}&=\max\bigl(0,0.85AR_{\mathrm{eligible}}+(1-h_0)I_{\mathrm{eligible}}\\ &\qquad -V_{\mathrm{unfulfilled,residual}}-T_{\mathrm{priority,residual}}\bigr) \end{aligned}C_l is an owned lot’s current carrying value after booked write-downs; U_l is the remaining value of wholly ineligible or expired amounts, and L_l is incremental supported impairment on the eligible remainder. They cannot overlap or exceed C_l. h_0 is the haircut applied after eligibility and impairment. Residual unfulfilled-order and priority claims exclude any amount already removed from the AR/inventory pool. Calculation policies specify the allocations and prevent double deductions. The 85% receivables factor and tax-priority deduction belong to the paper’s scenario. T_priority represents supported overdue tax liabilities included under those assumptions. The formula does not determine the legal priority of a particular claim or set an institution’s advance rate. Source: RP-2026-04, equation 4.3 and collateral specification.
The Canadian scenarios consider payroll source deductions and sales-tax obligations in their collateral treatment. Keep the relevant jurisdiction, claim and security position attached to any assessment that uses these deductions. The receivables and collateral metrics preserve both gross eligible value and adjusted realizable value, so the haircut remains interpretable. The paper connects these calculations to 92 cross-system attributes: 30 receivables, 30 payables, 20 inventory and 12 debt measurements. The catalog paper explains how those families fit into the 150 cross-system attributes used across the research. Sources: RP-2026-04, scope, RP-2026-06, cross-system allocation.

5. Size the obligation under coverage and cash constraints

The sizing method searches for the largest principal that satisfies both constraints. It uses supplier-vulnerability-stressed cash flow at the tenth percentile for debt coverage and checks the lower cash-balance forecast over 13 weeks. A monotonic root finder locates the binding principal when the modeled payment and cash functions satisfy the assumed monotonic behavior.
Equation 4.4a - Constrained capacityA∗=max⁡A∈[0,Amax⁡]Asubject to Q0.10stress(NCFmop)DSmexisting+ψm(A,r(PD),T)≥γDSCR,min⁡w=1,…,13Q0.10(CashBalancew(A))≥Bmin⁡\begin{aligned} A^*={}&\max_{A\in[0,A_{\max}]} A\\ \text{subject to }{}& \frac{Q^{\mathrm{stress}}_{0.10}(NCF_m^{\mathrm{op}})} {DS_m^{\mathrm{existing}}+\psi_m(A,r(PD),T)}\geq\gamma_{\mathrm{DSCR}},\\ &\min_{w=1,\ldots,13}Q_{0.10}\bigl(\mathrm{CashBalance}_w(A)\bigr)\geq B_{\min} \end{aligned}A is proposed principal; psi is its scheduled payment for the selected rate and term. gamma_DSCR is the required coverage ratio and B_min is the explicit cash floor. Q_0.10 denotes the lower tenth-percentile estimate. Both constraints use the same proposed obligation. Source: RP-2026-04, equation 4.4.
Equation 4.4b - Headroom and break-even declineHeadroom=max⁡(0,CashAvailableγDSCR−DStotal),δbreak-even∗=min⁡{δ∈[0,1]:DSCR(R0(1−δ))≤γDSCR}.\begin{aligned} \mathrm{Headroom}&=\max\left(0,\frac{\mathrm{CashAvailable}}{\gamma_{\mathrm{DSCR}}}-DS_{\mathrm{total}}\right),\\ \delta^*_{\mathrm{break\text{-}even}}&= \min\left\{\delta\in[0,1]:\mathrm{DSCR}\bigl(R_0(1-\delta)\bigr)\leq\gamma_{\mathrm{DSCR}}\right\}. \end{aligned}Headroom measures additional payment capacity, in currency, under the specified requirement. The break-even decline identifies the first modeled revenue reduction that reaches or breaches the coverage threshold. It depends on the cost, payment and stress assumptions used in the scenario. Source: RP-2026-04, equation 4.4.

6. Evaluation results

The comparison separates history length from overall forecast error. The uniform monthly transformer records 34.8% error on short histories and 14.1% on established histories. This contrast supports matching forecasting complexity to evidence length. The selected supplier-stressed configuration records 20.1% and 12.3% respectively, with 14.8% case-weighted subgroup WAPE. Source: RP-2026-04, capacity benchmark table. For each history subgroup g, define WAPE_g = sum(abs(forecast - actual)) / sum(abs(actual)) on its supported evaluation cases, requiring a positive denominator. The overall statistic uses case counts: CW-WAPE=12,952 WAPEshort+26,978 WAPEestablished39,930.\mathrm{CW\text{-}WAPE}=\frac{12{,}952\,\mathrm{WAPE}_{\mathrm{short}}+26{,}978\,\mathrm{WAPE}_{\mathrm{established}}}{39{,}930}. The five displayed overall percentages are this case-weighted subgroup WAPE, rounded to one decimal from the displayed subgroup rates. Pooled WAPE would instead weight each subgroup by its absolute actual cash-flow sum. Those denominator sums are not supplied here, so no pooled estimate is claimed. For example, subgroup errors 20 and 90 on absolute actuals 100 and 900 yield pooled WAPE 11%, while two equally sized subgroups yield case-weighted subgroup WAPE 15%. Collateral MAPE averages percentage recovery errors over the evaluated collateral outcomes. DSCR breach rate counts assessed cases below the study’s coverage requirement. These denominators differ, so the measures should remain separate. Source: RP-2026-04, forecasting results. Interval coverage, point-forecast error and debt-service outcomes answer different questions. None substitutes for the others.

7. Complete metric specification

These formulas use research-financial-v2. Debt service unions identified payment records before summing currency. Explicit refinance mappings remove only superseded future obligations and include the payoff once; equal amounts alone never identify duplicates. The following 58 definitions preserve the paper’s metric keys, scopes and units. t_0 is the assessment time; W is the aligned observation window. Div+(a,b) means division with a supported, strictly positive denominator. Missing inputs or an invalid denominator do not become zero. Currency amounts use a consistent assessed currency and period. Sets remove duplicate records where the definition requires distinct members. Each formula links to RP-2026-04. RS-2026-05 supplies the supporting catalog definitions.

Working capital

net_working_capitalScope and unit: business (currency).
The balance-sheet surplus or deficit of current assets over current liabilities at the same date.Source: RP-2026-04, metric specification.
receivables_daysScope and unit: business (days).
The collection-time equivalent of trade receivables relative to credit sales for the period.Source: RP-2026-04, metric specification.
payables_daysScope and unit: business (days).
The payment-time equivalent of trade payables relative to credit purchases for the period.Source: RP-2026-04, metric specification.
inventory_daysScope and unit: business (days).
The holding-time equivalent of inventory relative to the period’s cost of goods sold.Source: RP-2026-04, metric specification.
cash_conversion_cycleScope and unit: business (days).
The length of the operating funding cycle across inventory holding, customer collections and supplier payment timing.Source: RP-2026-04, metric specification.
ar_overdue_shareScope and unit: business (ratio).
The portion of collectible trade receivables whose contractual payment due dates have passed.Source: RP-2026-04, metric specification.
ar_90_plus_shareScope and unit: business (ratio).
The portion of trade receivables more than 90 days past their payment due dates.Source: RP-2026-04, metric specification.
ap_overdue_shareScope and unit: business (ratio).
The portion of trade payables whose contractual payment due dates have passed.Source: RP-2026-04, metric specification.
inventory_turnoverScope and unit: business (ratio).
How many times the period’s cost of goods sold represents the average inventory balance.Source: RP-2026-04, metric specification.

Debt and leverage

total_debtScope and unit: business, person (currency).
Outstanding principal of resolved interest-bearing obligations within the supported debt scope.Source: RP-2026-04, metric specification.
net_debtScope and unit: business, person (currency).
Debt remaining after offsetting eligible unrestricted cash at the same assessment date.Source: RP-2026-04, metric specification.
debt_to_assetsScope and unit: business (ratio).
Interest-bearing debt relative to total assets; non-debt liabilities are not included as debt.Source: RP-2026-04, metric specification.
debt_to_equityScope and unit: business (ratio).
Interest-bearing debt relative to positive equity. Nonpositive equity does not produce a usable ratio.Source: RP-2026-04, metric specification.
net_debt_to_ebitdaScope and unit: business (ratio).
Net debt relative to supported trailing-12-month EBITDA, indicating debt size against earnings capacity.Source: RP-2026-04, metric specification.
credit_utilizationScope and unit: business, person (ratio).
The used portion of known committed revolving credit limits.Source: RP-2026-04, metric specification.
short_term_debt_shareScope and unit: business, person (ratio).
The portion of total debt principal contractually due within the next 365 days.Source: RP-2026-04, metric specification.
debt_maturing_90dScope and unit: business, person (currency).
Principal contractually due within the next 90 days, including supported balloon payments.Source: RP-2026-04, metric specification.
concurrent_financing_countScope and unit: business (count).
The number of distinct observed active financing facilities after resolving duplicate facility identities.Source: RP-2026-04, metric specification.
new_financing_count_90dScope and unit: business (count).
Observed active facilities funded during the 90 days ending at the assessment time.Source: RP-2026-04, metric specification.
debt_to_operating_receiptsScope and unit: business (ratio).
Supported total debt relative to observed operating receipts over the trailing year.Source: RP-2026-04, metric specification.

Repayment capacity

dscrScope and unit: business (ratio).
Eligible cash available for debt service relative to existing and proposed contractual payments. A value of one represents coverage of the stated payments, not a lending approval.Source: RP-2026-04, metric specification.
fixed_charge_coverageScope and unit: business (ratio).
Cash available against the explicitly defined set of fixed charges, including leases when applicable.Source: RP-2026-04, metric specification.
interest_coverageScope and unit: business (ratio).
Supported earnings before interest and tax relative to interest expense for the same period.Source: RP-2026-04, metric specification.
existing_debt_serviceScope and unit: business (currency).
Contractual principal, interest and mandatory debt fees on existing obligations over the assessment window.Source: RP-2026-04, metric specification.
proposed_debt_serviceScope and unit: business (currency).
Contractual payments and mandatory debt fees associated with the exact financing terms being assessed.Source: RP-2026-04, metric specification.
total_debt_serviceScope and unit: business (currency).
The combined, deduplicated contractual payments for existing and proposed obligations over the assessment window.Source: RP-2026-04, metric specification.
residual_cash_after_debtScope and unit: business (currency).
Cash left, or the shortfall, after existing and proposed contractual debt service.Source: RP-2026-04, metric specification.
debt_service_headroomScope and unit: business (currency).
Additional debt-service room at the institution’s required coverage threshold. It is an analytical capacity amount, not a credit limit or offer.Source: RP-2026-04, metric specification.
debt_payment_to_receiptsScope and unit: business (ratio).
Observed debt payments relative to operating cash receipts. This describes payment burden and does not replace contractual coverage analysis.Source: RP-2026-04, metric specification.
debt_service_to_outflowsScope and unit: business (ratio).
The portion of observed external cash outflows attributable to debt service.Source: RP-2026-04, metric specification.

Collateral and security

collateral_ltvScope and unit: business, person (ratio).
The assessed facility exposure relative to the supported value of its collateral.Source: RP-2026-04, metric specification.
combined_ltvScope and unit: business, person (ratio).
All known secured claims, including the proposed exposure, relative to the same collateral value.Source: RP-2026-04, metric specification.
collateral_coverageScope and unit: business, person (ratio).
Supported realizable collateral value after approved reductions relative to secured exposure.Source: RP-2026-04, metric specification.
eligible_receivablesScope and unit: business (currency).
Receivables that meet the institution’s stated borrowing-base eligibility and concentration rules.Source: RP-2026-04, metric specification.
collateral_haircut_ratioScope and unit: business, person (ratio).
The portion of gross eligible collateral value excluded when arriving at supported realizable value.Source: RP-2026-04, metric specification.

Commerce and subscriptions

gross_salesScope and unit: business (currency).
Eligible sales before discounts and refunds, excluding taxes, on the stated sales basis.Source: RP-2026-04, metric specification.
net_salesScope and unit: business (currency).
Eligible sales after discounts, cancellations and refunds, excluding taxes.Source: RP-2026-04, metric specification.
average_order_valueScope and unit: business (currency).
Net eligible sales value per completed noncancelled order. This is an order measure, not a processor-payout measure.Source: RP-2026-04, metric specification.
repeat_customer_shareScope and unit: business (ratio).
The portion of purchasing customers who completed more than one purchase in the defined cohort.Source: RP-2026-04, metric specification.
monthly_recurring_revenueScope and unit: business (currency).
Contracted recurring subscription revenue expressed on a monthly basis. It does not guarantee collection.Source: RP-2026-04, metric specification.
gross_revenue_retentionScope and unit: business (ratio).
The portion of opening recurring revenue retained after churn and contraction, without counting expansion.Source: RP-2026-04, metric specification.
net_revenue_retentionScope and unit: business (ratio).
Recurring revenue retained from the opening customer cohort after churn, contraction and expansion.Source: RP-2026-04, metric specification.
settlement_delay_daysScope and unit: business (days).
The amount-weighted elapsed time between captured sales and their matched bank settlements.Source: RP-2026-04, metric specification.

Operating resilience

payroll_burden_shareScope and unit: business (ratio).
Payroll cash costs, including supported employer costs, relative to verified revenue.Source: RP-2026-04, metric specification.
payroll_growth_yoyScope and unit: business (ratio).
The relative change in payroll cost against the comparable prior-year period.Source: RP-2026-04, metric specification.
inventory_stockout_shareScope and unit: business (ratio).
The portion of observed eligible item-days when sellable inventory was out of stock.Source: RP-2026-04, metric specification.
fulfillment_on_time_shareScope and unit: business (ratio).
The portion of eligible fulfilled orders completed by their promised dates.Source: RP-2026-04, metric specification.
supplier_payment_delay_daysScope and unit: business (days).
The amount-weighted lateness of settled supplier bills against their contractual due dates, with early payments treated as zero delay.Source: RP-2026-04, metric specification.
operating_outflows_change_90dScope and unit: business (ratio).
The relative change in operating cash payments against the preceding 90 days.Source: RP-2026-04, metric specification.

Tax and statutory obligations

tax_liabilityScope and unit: business (currency).
Supported outstanding assessed tax obligations at the assessment date, distinguished from estimates.Source: RP-2026-04, metric specification.
tax_overdue_amountScope and unit: business (currency).
Supported assessed tax obligations that remain unpaid after their due dates.Source: RP-2026-04, metric specification.
tax_payment_coverageScope and unit: business (ratio).
Due assessed taxes supported as covered by allocated payments for the same period.Source: RP-2026-04, metric specification.
filing_coverageScope and unit: business (ratio).
The portion of known required filings supported by filing evidence. This is evidence coverage, not a compliance conclusion.Source: RP-2026-04, metric specification.

Forecasting and stress

projected_minimum_cashScope and unit: business, person (currency).
The lowest modeled closing cash balance within the specified forecast horizon.Source: RP-2026-04, metric specification.
stress_dscrScope and unit: business (ratio).
Debt-service coverage under the stated stress scenario and its existing and proposed payment assumptions.Source: RP-2026-04, metric specification.
stress_residual_incomeScope and unit: person (currency).
Consumer income remaining after essential, housing and debt outgoings under the stated stress scenario.Source: RP-2026-04, metric specification.
liquidity_shortfallScope and unit: business, person (currency).
The modeled cash deficit against the explicitly required liquidity floor, with no deficit represented as zero.Source: RP-2026-04, metric specification.
break_even_revenue_declineScope and unit: business (ratio).
The modeled reduction in revenue at which the specified capacity threshold is first breached.Source: RP-2026-04, metric specification.

Supporting sources