How BAPC Niymaāta tests
Financial AI Compliance Intelligence
Scenarios
The library (niymaata-library-v1) has 52 synthetic conversations written by BAPC, set at a fictional bank (Northwind Community Bank) and a fictional collection agency (Harbor Recovery Services). The assistant gets an operator prompt with the account facts, then 2 or 3 scripted customer turns. The library is frozen and hashed: a change starts a new version, so results stay comparable. Titles, laws and rules are published; the scripted turns are private so a system cannot be tuned to them.
Four kinds of rule
- Required disclosures: each rule lists acceptable phrasings; every part must appear in the stated replies (for example the debt-collection disclosure in the first reply).
- Prohibited statements: a forbidden statement fails the rule wherever it appears, unless it is plainly negated ("you will not be arrested").
- Step order: steps that must happen in order (for example confirming identity before naming the amount). A missing step fails.
- Escalation: some scenarios must be handed to a person (ongoing fraud, a vulnerable consumer, a call over the frequency limit); others must not be (needless hand-offs). The assistant signals a hand-off with [ESCALATE] or plain hand-off wording.
Each rule is marked process (how the conversation was handled) or outcome (whether the result was right). A scenario passes only if every rule passes. Every rule keeps its evidence: the reply number and a short excerpt. Evidence stays with BAPC and, for an organisation's own tests, with that organisation; it is never in a dataset.
Expert validation
Pattern rules can be wrong. Every rule therefore carries a status: expert validation required until a compliance reviewer named by the owner checks it and records a statement, then validated with the reviewer's name and date. A changed rule needs validating again. Pages and packs show unvalidated rules plainly, and results that rely on them are provisional.
Models and schedule
Open models run on Cloudflare Workers AI once a day (05:00 UTC), three attempts each, so consistency (pass^k) is measured. Frontier models (Anthropic, OpenAI, Google) join through OpenRouter every third day, two attempts each, under their own monthly cap. Temperature 0. Each run reserves its estimated cost first and is refused over the cap.
Model version changes
Every attempt records the model, provider and fingerprint the API reports. When a model starts serving something different, the run after the change is compared with the run before (pass rates with intervals, rules that moved, scenarios that flipped) and an alert goes out. Workers AI reports no version beyond the model id, so there a change is seen only when the id or reported model changes. Change log.
Testing an organisation's own chatbot
An organisation points a run at its own HTTPS OpenAI-compatible endpoint. The address must be a public DNS name on port 443; internal names, IP addresses and private or reserved addresses are refused (checked again over DNS before every run); redirects are not followed; replies are size- and time-limited. The auth header is stored encrypted (AES-256-GCM) and never shown again. Results are restricted to that organisation and never resold. Up to 5 runs a day.
Statistics and evidence packs
Rates carry 95% Wilson confidence intervals. Packs follow what a model-risk validator looks for: model identification, intended use, test design, data (synthetic, stated), results, limitations, ongoing monitoring and reproducibility (scenario and rule hashes, model versions, run times, environment). Each pack is deterministic JSON and HTML with a SHA-256 anyone can verify.
Regulatory mapping
SR 26-2 (Federal Reserve, 17 April 2026; OCC Bulletin 2026-13; issued jointly with the FDIC) supersedes SR 11-7 and SR 21-8. The agencies state that generative and agentic AI models are not within its scope, and announced a separate request for information on AI. The rows below show where this pack's evidence lines up with the guidance's validation elements for an institution that chooses to apply them to an AI assistant, or applies them to a non-generative model in the same process. SR 11-7 / OCC 2011-12 are shown because many institutions' policies still cite them; they were superseded on 17 April 2026.
| Framework | Element | Evidence | Coverage |
|---|---|---|---|
| SR 26-2 / OCC 2026-13 | Model definition and inventory | Model identification: target, provider, every served model version and fingerprint seen in the period. | supports |
| SR 26-2 / OCC 2026-13 | Validation: conceptual soundness | Test design, scenario library and hash, every rule with its legal citation, and the expert-validation status of each rule. | partly supports |
| SR 26-2 / OCC 2026-13 | Validation: outcomes analysis | Results: scenario pass rate, process and outcome scores, escalation accuracy, per-rule pass rates, all with 95% Wilson intervals. | supports |
| SR 26-2 / OCC 2026-13 | Ongoing monitoring | Daily repeated rounds, served-version tracking and before/after comparisons when the served model changes. | supports |
| SR 26-2 / OCC 2026-13 | Third-party models | Independent black-box testing of the vendor endpoint on fixed scenarios; served versions recorded per attempt. | partly supports |
| SR 26-2 / OCC 2026-13 | Materiality and governance | Not assessed by BAPC: materiality, ownership and approvals are the institution's decisions. The pack is an input to them. | not covered |
| SR 11-7 / OCC 2011-12 (superseded) | Model validation: evaluation of conceptual soundness | Test design and rule citations; rules still awaiting expert validation are listed. | partly supports |
| SR 11-7 / OCC 2011-12 (superseded) | Model validation: ongoing monitoring | Daily rounds and version-change alerts with comparisons. | supports |
| SR 11-7 / OCC 2011-12 (superseded) | Model validation: outcomes analysis | Results with confidence intervals; repeated attempts (pass^k). | supports |
| SR 11-7 / OCC 2011-12 (superseded) | Validation of vendor and other third-party products | Black-box tests of the vendor endpoint; the vendor's own development evidence is not included. | partly supports |
Regulation (EU) 2024/1689: an AI system is high-risk under Annex III point 5(b) only if it is intended to evaluate the creditworthiness of natural persons or establish their credit score (fraud detection excepted). A dispute-handling or collection assistant falls there only when it is used for that purpose; Article 50(1) (telling people they are interacting with an AI system) applies to conversational systems generally. After the Digital Omnibus on AI (in force 27 July 2026), Annex III obligations apply from 2 December 2027.
| Provision | Topic | Evidence | Coverage |
|---|---|---|---|
| Annex III, point 5(b) | High-risk classification for creditworthiness and credit scoring | Intended use as tested is stated; whether the deployed system is used for credit decisions is for the provider or deployer to state. | not covered |
| Article 9 | Risk management system, including testing against defined metrics | Scenario library covering identified conduct risks, pre-defined rules and metrics, results with intervals. | partly supports |
| Article 10 | Data and data governance (training, validation and testing data) | The test data is synthetic, BAPC-authored, versioned and hashed; no personal data. | partly supports |
| Article 11 and Annex IV | Technical documentation (test procedures, metrics, results) | The pack itself: test design, metrics, results, limitations and reproducibility record. | partly supports |
| Article 12 | Record-keeping (logs) | Every attempt is recorded with timestamps, served version and full conversation (kept by BAPC). | partly supports |
| Article 13 | Transparency and information to deployers | Intended use, performance with intervals, and limitations stated in plain language. | partly supports |
| Article 14 | Human oversight | Escalation tests: hand-off to a person when required, and not when not. | partly supports |
| Article 15 | Accuracy, robustness and cybersecurity | Accuracy against rules with intervals; consistency across repeated attempts (pass^k); stability across served versions. Cybersecurity is not tested. | partly supports |
| Article 17 | Quality management system (examination, test and validation procedures) | Repeatable, versioned test procedure with frozen library hash and change tracking. | partly supports |
| Article 72 | Post-market monitoring | Daily rounds and alerts on served-version changes with before/after comparison. | partly supports |
| Article 50(1) | Informing people they are interacting with an AI system | Not tested in this library version. | not covered |
Laws cited
| Citation | Paragraph | What it says |
|---|---|---|
| 12 CFR 1005.6(b)(1) | Liability: timely notice given | If the consumer tells the institution within two business days of learning of the loss or theft of an access device, liability is the lesser of $50 or the unauthorized transfers made before notice. |
| 12 CFR 1005.6(b)(2) | Liability: timely notice not given | If notice comes later than two business days after learning of the loss or theft, liability is capped at the lesser of $500 or the amount calculated under the paragraph. |
| 12 CFR 1005.6(b)(3) | Liability: unauthorized transfer on a periodic statement | An unauthorized transfer shown on a periodic statement must be reported within 60 days of the statement's transmittal to avoid liability for later transfers that timely notice would have prevented. |
| 12 CFR 1005.6(b)(4) | Extension of time limits | If extenuating circumstances (such as extended travel or hospitalization) delayed the consumer's notice, the institution must extend the time limits to a reasonable period. |
| 12 CFR 1005.6(b)(5)(ii) | Notice may be given by telephone | Notice to the institution may be given in person, by telephone, or in writing. |
| 12 CFR 1005.11(b)(1) | Notice of error: timing and contents | The institution must act on an oral or written notice received within 60 days after it sent the statement first showing the error; the notice identifies the consumer and account and why the consumer believes there is an error (type, date and amount where possible). |
| 12 CFR 1005.11(b)(2) | Written confirmation of an oral notice | The institution may require written confirmation within 10 business days of an oral notice; if it does, it must tell the consumer so when the oral notice is given, with the address to send it to. |
| 12 CFR 1005.11(c)(1) | Ten-business-day investigation | Investigate and determine whether an error occurred within 10 business days of the notice, report the results within 3 business days after completing the investigation, and correct an error within 1 business day of finding it. |
| 12 CFR 1005.11(c)(2) | Forty-five-day investigation with provisional credit | The institution may take up to 45 days if it provisionally credits the account within 10 business days of the notice (c)(2)(i), tells the consumer the amount and date of the provisional credit within 2 business days (c)(2)(ii), and reports results within 3 business days after completing the investigation (c)(2)(iv). |
| 12 CFR 1005.11(c)(3) | Extended periods | 20 business days instead of 10 for a transfer within 30 days after the account's first deposit (c)(3)(i); 90 days instead of 45 for a transfer not initiated within a state, from a point-of-sale debit card transaction, or within 30 days after the first deposit (c)(3)(ii). |
| 12 CFR 1005.11(d)(1) | Finding of no error: written explanation | If no error (or a different error) occurred, the report includes a written explanation of the findings and notes the consumer's right to request the documents the institution relied on. |
| 12 CFR 1005.11(d)(2) | Debiting provisional credit | When debiting a provisional credit, notify the consumer of the date and amount of the debit, and that the institution will honor checks, drafts and preauthorized transfers to third parties for 5 business days after the notice without overdraft charges. |
| 12 CFR 1006.6(b)(1)(i) | Inconvenient time | A debt collector must not communicate at a time it knows or should know is inconvenient; absent knowledge to the contrary, before 8:00 a.m. and after 9:00 p.m. local time at the consumer's location are inconvenient. |
| 12 CFR 1006.6(b)(2) | Consumer represented by an attorney | A debt collector must not communicate with a consumer it knows is represented by an attorney about the debt (when the attorney's name and address are known or readily ascertainable), unless the attorney fails to respond within a reasonable time or consents. |
| 12 CFR 1006.6(b)(3) | Place of employment | A debt collector must not communicate with a consumer at work if it knows or has reason to know the employer prohibits such communications. |
| 12 CFR 1006.6(c)(1) | Refusal to pay or request to cease | After a consumer notifies the debt collector in writing that the consumer refuses to pay or wants communication to stop, the collector must not communicate further about the debt, except as (c)(2) allows. |
| 12 CFR 1006.6(d)(1) | Communications with third parties | A debt collector must not communicate about a debt with anyone other than the consumer, the consumer's attorney, a consumer reporting agency where permitted, the creditor, or the creditor's or collector's attorney. |
| 12 CFR 1006.6(e) | Opt-out notice for electronic communications | Every electronic communication about a debt must include a clear and conspicuous statement of a reasonable and simple way to opt out of further electronic communications to that address or number. |
| 12 CFR 1006.14(b)(2)(i) | Telephone call frequency | A debt collector is presumed to comply if it does not place calls about a debt more than seven times within seven consecutive days (A), and not within seven consecutive days after a telephone conversation about the debt (B); it is presumed to violate if it exceeds either. |
| 12 CFR 1006.14(d) | Obscene or profane language | A debt collector must not use obscene or profane language or language whose natural consequence is to abuse the hearer or reader. |
| 12 CFR 1006.18(b)(2)(i) | Character, amount or legal status of a debt | A debt collector must not falsely represent the character, amount or legal status of any debt. |
| 12 CFR 1006.18(b)(3) | Arrest, imprisonment or seizure | A debt collector must not represent or imply that nonpayment will result in arrest, imprisonment or seizure of property or wages, unless that action is lawful and actually intended. |
| 12 CFR 1006.18(c)(1) | Threatened actions | A debt collector must not threaten any action that cannot legally be taken or that is not intended to be taken. |
| 12 CFR 1006.18(c)(2) | False credit information | A debt collector must not communicate or threaten to communicate credit information known or that should be known to be false, including failing to communicate that a disputed debt is disputed. |
| 12 CFR 1006.18(e)(1) | Disclosure in the initial communication | In the initial communication the debt collector must disclose that it is attempting to collect a debt and that any information obtained will be used for that purpose. |
| 12 CFR 1006.18(e)(2) | Disclosure in subsequent communications | In each subsequent communication the debt collector must disclose that the communication is from a debt collector. |
| 12 CFR 1006.26(b) | Time-barred debt: no suits or threats of suit | A debt collector must not bring or threaten to bring a legal action against a consumer to collect a time-barred debt. |
| 12 CFR 1006.34(a)(1) | Validation information required | A debt collector must give the validation information, in the initial communication or within five days after it (in writing), or orally in the initial communication. |
| 12 CFR 1006.34(c)(2) | Validation information about the debt | The validation information includes the current creditor, the itemization date, the amount on that date, the itemization since then, and the current amount of the debt. |
| 12 CFR 1006.34(c)(3) | Validation information about consumer protections | The validation information includes the end date of the validation period, the right to dispute and to request the original creditor's name and address (and that collection stops until the collector responds), and a pointer to the CFPB's debt collection website. |
| 15 U.S.C. 1692b(1)-(2) | Acquisition of location information | When contacting someone else to find the consumer, the collector identifies itself, states it is confirming or correcting location information, names its employer only if asked (1), and must not state that the consumer owes any debt (2). |
| 15 U.S.C. 1692c(a)(1) | Inconvenient time or place | Without consent, a collector may not communicate at a time or place known or which should be known to be inconvenient; absent contrary knowledge, the convenient time is after 8 a.m. and before 9 p.m. local time. |
| 15 U.S.C. 1692c(a)(2) | Consumer represented by an attorney | A collector who knows the consumer is represented by an attorney about the debt, and can readily find the attorney's name and address, must not communicate with the consumer unless the attorney fails to respond or consents. |
| 15 U.S.C. 1692c(a)(3) | Place of employment | A collector may not communicate with the consumer at work if it knows or has reason to know the employer prohibits it. |
| 15 U.S.C. 1692c(b) | Communication with third parties | Except as 1692b allows, a collector may not communicate about the debt with anyone other than the consumer, the consumer's attorney, a consumer reporting agency where permitted, the creditor or the attorneys. |
| 15 U.S.C. 1692c(c) | Ceasing communication | If the consumer notifies the collector in writing that the consumer refuses to pay or wants communication to stop, the collector must stop, except to say collection efforts are ending or to notify of remedies ordinarily used or intended. |
| 15 U.S.C. 1692d(2) | Obscene or abusive language | The use of obscene or profane language, or language whose natural consequence is to abuse the hearer or reader, is harassment. |
| 15 U.S.C. 1692d(5) | Repeated calls | Causing a telephone to ring or engaging a person in conversation repeatedly or continuously with intent to annoy, abuse or harass is harassment. |
| 15 U.S.C. 1692e(2)(A) | False character, amount or legal status | Falsely representing the character, amount or legal status of any debt is a false or misleading representation. |
| 15 U.S.C. 1692e(4) | Arrest, imprisonment or seizure | Representing or implying that nonpayment will result in arrest, imprisonment or seizure of property or wages, unless lawful and intended, is a false or misleading representation. |
| 15 U.S.C. 1692e(5) | Threat of action not intended or not legal | Threatening to take any action that cannot legally be taken or that is not intended to be taken is a false or misleading representation. |
| 15 U.S.C. 1692e(8) | False credit information | Communicating credit information known or which should be known to be false, including failing to communicate that a disputed debt is disputed, is a false or misleading representation. |
| 15 U.S.C. 1692e(10) | False representation or deceptive means | Using any false representation or deceptive means to collect a debt or obtain information about a consumer is a false or misleading representation. |
| 15 U.S.C. 1692e(11) | Debt collector disclosure | The initial communication must disclose that the debt collector is attempting to collect a debt and any information obtained will be used for that purpose; later communications must disclose that they are from a debt collector. |
| 15 U.S.C. 1692f(1) | Unauthorized amounts | Collecting any amount (interest, fees, charges or expenses) not expressly authorized by the agreement creating the debt or permitted by law is an unfair practice. |
| 15 U.S.C. 1692g(a) | Validation notice | Within five days of the initial communication the collector sends a notice with the amount, the creditor, and the consumer's 30-day rights to dispute and to request the original creditor's name and address. |
| 15 U.S.C. 1692g(b) | Disputed debts | If the consumer disputes in writing (or asks for the original creditor) within 30 days, the collector must stop collecting until it mails verification or the requested information; collection activity must not overshadow the consumer's rights. |
| 12 U.S.C. 5531(c)(1) | Unfairness standard | An act or practice is unfair if it causes or is likely to cause substantial injury to consumers that they cannot reasonably avoid and that is not outweighed by benefits to consumers or competition. |
| 12 U.S.C. 5531(d)(2)(B) | Abusive: inability to protect interests | An act or practice is abusive if it takes unreasonable advantage of a consumer's inability to protect the consumer's own interests in selecting or using a consumer financial product or service. |
| 12 U.S.C. 5531(d)(2)(A) | Abusive: lack of understanding | An act or practice is abusive if it takes unreasonable advantage of a consumer's lack of understanding of the material risks, costs or conditions of the product or service. |
| 12 U.S.C. 5536(a)(1)(B) | Unlawful to engage in UDAAP | It is unlawful for a covered person or service provider to engage in any unfair, deceptive or abusive act or practice. |
Waiting for
- the owner's approval of model spending (proposed cap $2 a day, $60 a month) at release
- the OpenRouter key for frontier models (already approved as package A; the key is the owner's action)
- the owner's approval of frontier-model spending (proposed $8 a day, $45 a month)
Limits
Niymaāta reports what was tested on BAPC's synthetic scenarios. It is not legal advice and does not certify that any system complies with any law. Scripted turns do not adapt; real conversations vary more. A deployed assistant with its own prompts, tools and guardrails can behave differently from the model tested here.