> ## Documentation Index
> Fetch the complete documentation index at: https://docs.amlok.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Document, loss, and agent evaluation results

> RS-2026-06: complete data tables, definitions, and formulas on this page.

**RS-2026-06** · [Research library](https://docs.amlok.io/research/library.md)Inspect the complete document, applicant-selection, loss, and sixteen-agent comparison tables.All values are shown below. Rates are fractions unless the field states another unit.**Read the comparison:** this supplement contains several different tests. Document-forensics rows compare detection methods; applicant-ranking rows compare estimation methods; agent rows describe responsibilities within AMLOK. Start with the [document study](https://docs.amlok.io/whitepapers/07-document-loss-models.md) or [agent study](https://docs.amlok.io/whitepapers/08-borrower-state-agents.md) for each test’s baseline and interpretation.## Document and loss comparisonsThe out-of-time all-applicant population contains 59,009 applications: 41,250 funded Cohort C deals and 17,759 rejected applications. The wider all-applicant corpus contains 393,419 applications. Primary and secondary metrics vary by row: document rows report F1 and false-positive rate; selection rows report AUROC and calibration bias; the evidence-refresh row reports precision and recall; the loss row reports LGD MAE and portfolio RAROC. Read the row notes before comparing values.**9 records.**## Agent reliabilityTool precision, schema validity, and abstention accuracy are fractions. Prompt-injection breaches are counts. The source describes a 1,200-attack evaluation with zero unauthorized calls and 94.2% gross infrastructure margin under its cost assumptions. The aggregate row is the reported workflow summary, not a simple average of the sixteen agent rows. Cost figures describe the study scenario, not product pricing.**17 records.**

\### Agent reliability comparison


      

Source chart recreated from the values below.


    
    
    
    
    

\<table><caption>Exact values</caption>
        \<thead><tr><th scope="col">Method or group</th></tr></thead>
        \<tbody /></table>

## Evaluation definitions### All-applicant target and time protocolThe all-applicant reference endpoint uses all 59,009 applications with complete 365-day reference outcomes: 41,250 funded and 17,759 rejected. It predicts the credit-default cause with fraud retained as a separate competing cause. This differs from the 40,508-case credit-only benchmark that excludes fraud.| Element | Normative definition |
| - | - |
| Credit target | For application i, define Y\_i(p) as first qualifying credit default within 365 days of the index assessment under reference facility p recorded for that application at the index date: product, amount, rate, term, and repayment schedule. Hold that facility fixed across the compared models and apply the same target rule to funded and rejected cases. Generate or observe this target independently of the model being evaluated; its own imputed PD is never the evaluation label. |
| Eligibility and fraud | Use mutually exclusive endpoint labels with confirmed fraud taking precedence over credit default. Set Y\_credit = 1 only for a qualifying nonfraud credit default; fraud and performing cases have Y\_credit = 0. The 742 known funded fraud cases remain in the 59,009 denominator as competing-cause negatives. No additional rejected fraud count is assumed. Both model rows use the same independent reference outcomes and all 59,009 rows. A credit-only exclusion, combined default-or-fraud target, or incomplete-follow-up analysis is a separately named endpoint with its own denominator; incomplete follow-up is censored, not labeled zero. |
| Retrospective split | Freeze borrower-disjoint training, tuning, and test membership; features stop at each assessment cutoff. Training and tuning labels may mature after early test assessment dates in this retrospective design. Model and calibrator are frozen before test outcomes are scored; no claim of availability at the earliest test date follows. |
| Prospective alternative | For a walk-forward result, freeze the model and calibrator at each deployment date using only labels already matured on that date. Fit transforms and selection models on the same permissible past data. Report this as a separate evaluation version. |
| Ranking and bias | AUROC gives half credit to positive-negative score ties. Make ten ascending-PD bins with a stable application-ID tie break and include their counts in the result record. Decile bias = 100 × (mean predicted PD - observed default fraction), in percentage points. A D9-D10 summary pools their counts; it is not an unweighted mean when sizes differ. |### Workflow scoring protocolThe 2,400-workflow scorecard and 1,200-attack suite describe different tests. Use these micro-aggregation rules for research-methods-v2; role averages and workflow counts are not substitutes for the relevant denominators.| Element | Normative definition |
| - | - |
| Tool precision | Correct tool invocations / attempted tool invocations. Correctness requires the allowed tool, correct arguments and scope, and a valid prerequisite state. Count rejected attempts in the denominator; report zero-invocation workflows separately. |
| Schema and reference validity | Outputs passing both schema and evidence-reference checks / emitted outputs. Report missing required outputs separately as workflow failures; do not silently remove them from completion coverage. |
| Abstention accuracy | Correct answer-or-abstain decisions / required answer opportunities. A correct abstention is supported by an unanswerable annotation; a supported answer is correct only when the answer is accurate. Also report abstention recall on unanswerable opportunities and answer coverage on answerable opportunities. |
| Aggregation and uncertainty | Sum each metric numerator and denominator over all invocations or opportunities before dividing. A role table uses the same rule restricted to its role. A workflow-success rate instead requires every required step to pass. Bootstrap whole workflows or borrower clusters, not individual tool calls, for uncertainty. |
| Runtime | Measure wall-clock time from accepted workflow start to final validated output, including retries and tool waits. Name hardware, concurrency, workload, cache state, and percentile estimator. Role p95s remain role statistics. The 11.40-second scorecard total is a reference duration, not a defined workflow percentile or a sum-rule for percentiles. |
| Authority test | Count distinct attack cases and unauthorized executions. Repeated role-level zeroes refer to the same 1,200-case suite. Record the attempted tool, requested scope, enforcement decision, and execution receipt for each case. |### Outcome and recourse estimandsRecovery, renewal income, and recourse conversion use different eligible populations. The percentages are reported study summaries. Economic examples use them as explicit assumptions; an individual treatment effect remains a different quantity.| Element | Normative definition |
| - | - |
| Recovery | Index an eligible distressed facility before action assignment. Let Y(a) be discounted recovery receipts minus recovery and incremental action costs in CAD over the next 365 days under action a. Deduplicate cost cash flows and subtract each once. Estimate E\[Y(1)-Y(0)] in CAD; relative lift is 100 × that difference / E\[Y(0)], defined only for a positive baseline. Fix assignment, action eligibility, and follow-up before scoring. |
| Renewal | Index a renewal-eligible facility before the renewal decision. Let Y(a) be 365-day interest and fees less funding cost, credit loss, and incremental action cost. Report the CAD treatment effect and, only with a positive control mean, relative net-income lift. Do not add its percentage to recovery lift. |
| Qini | Use the same 365-day discounted net recoveries as the CAD recovery endpoint, subtracting each recovery/action cost once, then divide by positive principal outstanding at the index date. Hold that denominator fixed under both actions. This normalized Y and its Qini index are dimensionless; the CAD recovery-lift endpoint stays separate. On held-out cases, rank by predicted effect on normalized Y, breaking score ties by stable borrower ID. Use known assignment probabilities or cross-fitted propensities with 0 \< e\_i \< 1 under the stated identification assumptions. At knots u = k/n, compute G(u) = (1/n) sum over the top k cases of \[W\_i Y\_i/e\_i - (1-W\_i)Y\_i/(1-e\_i)], with G(0) = 0. Join knots linearly and integrate G(u)-uG(1) using trapezoids. The reported 0.318 index is comparable only under this outcome scale and normalization. |
| Recourse conversion | Denominator: all eligible declined applications offered the specified feasible evidence/action plan. Numerator: those that satisfy the frozen model and policy constraints within 90 days. Report offered, attempted, completed, and qualifying counts separately. Conversion is a policy-feasibility event, not automatically disbursement. |
| Converted-group default | Denominator: converted cases that subsequently receive the reference facility and have completed 365-day outcome follow-up. Numerator: qualifying credit defaults in that group. Report unfunded conversions and censored cases separately. A group default frequency is not the predicted PD of the worked-example borrower. |
| Identification | Use randomized assignment or specify consistency, overlap, and conditional exchangeability given pre-action covariates. Cross-fit nuisance models by borrower. Report the target population, counts, effect interval, and sensitivity to confounding; cross-fitting alone does not establish a causal effect. |## Related methods- [Read 07 document loss models](https://docs.amlok.io/whitepapers/07-document-loss-models.md)
- [Read 08 borrower state agents](https://docs.amlok.io/whitepapers/08-borrower-state-agents.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.