{
      "tool_id": "art-235-test-hpml-escrow",
      "tool_version": "2.0.0",
      "display_name": "HPML Definition and Escrow Requirement Test",
      "mcp_name": "test_hpml_escrow",
      "mandate_type": "compliance_mandate",
      "wave": 39,
      "gpu": false,
      "url": "https://ainumbers.co/chaingraph/art-235-test-hpml-escrow.html",
      "description": "Tests whether a closed-end consumer credit transaction secured by a principal dwelling is a Higher-Priced Mortgage Loan per Reg Z §1026.35(a)(1): APOR+1.5pp first lien, APOR+2.5pp first-lien jumbo, APOR+3.5pp subordinate lien, structural Dodd-Frank thresholds unchanged since 2014. It then applies the §1026.35(b)(1) escrow requirement for first-lien HPMLs together with every exemption §1026.35(b)(2) provides. The small-creditor exemption at §1026.35(b)(2)(iii) is implemented as the four-condition conjunctive test comment 35(b)(2)(iii)-1 describes, including leg (D), under which neither the creditor nor its affiliate maintains an escrow account for any serviced extension of consumer credit secured by real property or a dwelling, subject to the (D)(1) window for applications received on or after 2010-04-01 and before 2021-06-17 and the (D)(2) post-consummation accommodations for distressed consumers. Leg (B) counts no more than 2,000 covered transactions secured by first liens that were sold, assigned or otherwise transferred to another person, or that were subject at consummation to a commitment to be acquired, taken for the creditor and its affiliates together as §1026.32(b)(5) defines affiliate; portfolio-retained loans fall outside that count. Leg (C) tests total assets against the annually indexed limit, carried as a dated table entry (CY2026 $2,785,000,000, comment 35(b)(2)(iii)-1.iii.E) with a caller-supplied versioned-parameter override, never a hardcoded figure. Legs (A), (B) and (C) each carry the look-back stated inline in those paragraphs: the preceding calendar year, or either of the two preceding calendar years where the application was received before April 1 of the current calendar year, satisfied if either candidate year qualifies. §1026.35(b)(2)(ii) is implemented as the limited exemption it is: insurance premiums need not be included in escrow for dwellings in a condominium, planned unit development or other common interest community whose governing association maintains a master policy, and comment 35(b)(2)(ii)-1 requires the property-tax escrow regardless. Also implemented: the five categorical exemptions at §1026.35(b)(2)(i)(A) to (E), including the PACE transaction added by 90 FR 2501 (2025-01-10); the insured depository institution and insured credit union alternative path at §1026.35(b)(2)(vi), with CY2026 assets of $12,485,000,000 or less counted for the institution alone, no more than 1,000 first-lien principal-dwelling covered transactions counted for creditor and affiliates including portfolio, plus §1026.35(b)(2)(iii)(A) and (D); and the §1026.35(b)(2)(v) commitment-to-acquire override, which requires an escrow account notwithstanding either exemption path where the acquiring person does not itself satisfy one. The §1026.35(b)(2)(iv) rural and underserved determination is a declared boundary rather than a computed one: it turns on census-block and county datasets that are not inputs here, so leg (A) is taken as a caller attestation. Any exemption leg the supplied inputs cannot answer denies the exemption and raises manual_review_required, so an unevidenced exemption is never granted. Consumes art-220 (lookup_reg_z_thresholds) for the pinned HPML threshold table. For HOEPA high-cost triggers (APOR+6.5pp/8.5pp) use test_hoepa_high_cost (art-234), not this node.",
      "input_schema_ref": "chaingraph/art-235-test-hpml-escrow.html#manifest",
      "consumes": [
        "art-220-reg-z-threshold-lookup"
      ],
      "feeds": [],
      "status": "live",
      "conformance_fixtures": true,
      "compute_capability": "server",
      "compute_images": [{"system":"sha256-source","image_id":"sha256:1ae198828032158cef3630502b962e02ce05235c503f0b43bea0f76f0feac74a","valid_from":"2026-08-23"},{"system":"risc0","image_id":"sha256:a1a0bc89b5b1febaeda3519f6dbade0fa5ac16beeb143c4e1b01689573567bc6","valid_from":"2026-07-04"}],
      "export_capability": [
        "json"
      ],
      "standards_basis": "implements_standard",
      "cited_clause_digest": [
        {
          "digest": "sha256:03baa08d1ea47c9d981675860d0d97d06716ba90776e53a542f1c51965033b05",
          "source_url": "https://www.ecfr.gov/api/versioner/v1/full/2026-08-19/title-12.xml?part=1026&section=1026.35",
          "retrieved_at": "2026-08-22",
          "clause_path": "(b)(2)(iii) chapeau and (A)-(D), incl. (D)(1)-(2)",
          "scheme": "cfr",
          "id": "12 CFR 1026.35"
        },
        {
          "digest": "sha256:9b9e0b85a6a9a0a3e5c13e3fb3ae2b118f191408aede45dd625c48a4d2f0aa4c",
          "source_url": "https://www.ecfr.gov/api/versioner/v1/full/2026-08-19/title-12.xml?part=1026&section=1026.35",
          "retrieved_at": "2026-08-22",
          "clause_path": "(b)(1); (b)(2) chapeau; (b)(2)(i)(A)-(E); (b)(2)(ii)",
          "scheme": "cfr",
          "id": "12 CFR 1026.35"
        },
        {
          "digest": "sha256:60cd4ad33cd39cfda9767376441c09ea1408d51cfa52731bc98e43f8ad93c916",
          "source_url": "https://www.ecfr.gov/api/versioner/v1/full/2026-08-19/title-12.xml?part=1026&section=1026.35",
          "retrieved_at": "2026-08-22",
          "clause_path": "(b)(2)(v); (b)(2)(vi)(A)-(C)",
          "scheme": "cfr",
          "id": "12 CFR 1026.35"
        },
        {
          "digest": "sha256:3c8d6d11d39ed0f5cccff887f7593b31a1c7c717c9163a1a80ff77b5304e5879",
          "source_url": "https://www.ecfr.gov/api/versioner/v1/full/2026-08-19/title-12.xml?part=1026&appendix=Supplement%20I%20to%20Part%201026",
          "retrieved_at": "2026-08-22",
          "clause_path": "comment 35(b)(2)(iii)-1, chapeau and i-iv",
          "scheme": "cfr",
          "id": "12 CFR part 1026 Supplement I"
        },
        {
          "digest": "sha256:f9431142e866936dba76356b8c77f09c254f84168d20a396395af9c078171938",
          "source_url": "https://www.ecfr.gov/api/versioner/v1/full/2026-08-19/title-12.xml?part=1026&appendix=Supplement%20I%20to%20Part%201026",
          "retrieved_at": "2026-08-22",
          "clause_path": "comments 35(b)(2)(vi)(A)-1 and 35(b)(2)(vi)(B)-1",
          "scheme": "cfr",
          "id": "12 CFR part 1026 Supplement I"
        },
        {
          "digest": "sha256:00c244374619282b7b9cd46a7f2fa548f5d0e421cc59cdcc68de771cfa05487b",
          "source_url": "https://www.ecfr.gov/api/versioner/v1/full/2026-08-19/title-12.xml?part=1026&appendix=Supplement%20I%20to%20Part%201026",
          "retrieved_at": "2026-08-22",
          "clause_path": "comments 35(b)(2)(ii)-1 to -3",
          "scheme": "cfr",
          "id": "12 CFR part 1026 Supplement I"
        },
        {
          "digest": "sha256:dfda288c3ccd698d6562b77b8f7221c281ad9603a5fddcf8c7bc4e5697d05235",
          "source_url": "https://www.ecfr.gov/api/versioner/v1/full/2026-08-19/title-12.xml?part=1026&appendix=Supplement%20I%20to%20Part%201026",
          "retrieved_at": "2026-08-22",
          "clause_path": "comment 35(b)(2)(v)-1",
          "scheme": "cfr",
          "id": "12 CFR part 1026 Supplement I"
        }
      ],
      "compute_proof_ready": "ready",
      "compute_proof": {
        "type": "ZkVmReceipt",
        "system": "risc0",
        "receiptFormat": "groth16-bn254",
        "imageId": "sha256:a1a0bc89b5b1febaeda3519f6dbade0fa5ac16beeb143c4e1b01689573567bc6",
        "seal": "BObn4G+ajc9/+Cr4s+d8RRFmwWtqZjv8tbYqycfDBdQsKD1tmHinVqvLNYlImWWM6Evc1WeDMl+6grt9G4flhSfKD6wfY/mwR1GldSBVoDIie9X0tgAZ+60eCFNvtCmKKz3yxAqw22egS2WYYimuN9OG2nZarKsR2SvppUAw2UoJpwGX9jSmFiUYQ12WfA1bGdfRn75CdzJTp6x9v+3xSRnXqj2B4ETn/n3V3TBYQaxKzMWA2XfYIJGouhhsUhAVLSGGu5LUyZ0xE5c38LJRUvAN8oua2eyt+wPHl38YrqgWAUkHq0F9c91GmzjmmG+ijc4IYAfa07tLYNyIXXjiiQ==",
        "journal": {
          "chaingraph_version": "0.4.0",
          "kernel_digest": "sha256:1ae198828032158cef3630502b962e02ce05235c503f0b43bea0f76f0feac74a",
          "output": {
            "apor_pct": 5.5,
            "apr_pct": 7.5,
            "apr_spread_pct": 2,
            "carve_out_window": {
              "applications_received_before": "2021-06-17",
              "applications_received_from": "2010-04-01",
              "distressed_consumer_accommodations": true
            },
            "categorical_exemption": null,
            "compliance_notes": [],
            "consumes": "art-220 (lookup_reg_z_thresholds) supplies the higher-priced spread table. The spread tiers are structural statutory percentages and are not indexed; the two asset limits ARE indexed annually and are carried as dated table entries here.",
            "escrow_exemption": null,
            "escrow_exemption_basis": null,
            "escrow_insurance_premiums_required": true,
            "escrow_limited_exemption": null,
            "escrow_limited_exemption_basis": null,
            "escrow_property_taxes_required": true,
            "escrow_required": true,
            "forward_commitment_override_applied": false,
            "input_contract_version": "HPML-ESCROW-INPUTS-2",
            "insured_institution_test": {
              "asset_limit_applied": 12485000000,
              "asset_limit_provenance": null,
              "asset_limit_source": "dated_table_2026",
              "leg_a_assets": null,
              "leg_b_first_lien_principal_dwelling_count": null,
              "leg_c_area_and_no_other_escrows": null,
              "status": "not_claimed",
              "txn_limit": 1000
            },
            "is_hpml": true,
            "is_jumbo": false,
            "lien_type": "first",
            "look_back": {
              "application_before_april_1_grace": false,
              "candidate_years": [
                2025
              ],
              "grace_source": "not_claimed"
            },
            "manual_review_required": false,
            "note": "The escrow requirement reaches first-lien higher-priced transactions only; subordinate liens are never in scope. escrow_required is the account; escrow_property_taxes_required and escrow_insurance_premiums_required are its two components, and the common-interest-community master-policy exemption removes the insurance component ALONE. APOR must be supplied by the caller from the FFIEC weekly table. For the high-cost trigger test use art-234 (test_hoepa_high_cost), not this node.",
            "retired_input_keys_present": [],
            "small_originator_test": {
              "asset_limit_applied": 2785000000,
              "asset_limit_provenance": null,
              "asset_limit_source": "dated_table_2026",
              "leg_a_area": true,
              "leg_b_transferred_txn_count": true,
              "leg_c_assets": true,
              "leg_d_no_other_escrows": false,
              "status": "not_satisfied",
              "transferred_txn_limit": 2000
            },
            "spread_threshold_basis": "first_lien_standard_1.5pp",
            "spread_threshold_pct": 1.5,
            "table_version": "HPML-ESCROW-2026-08-19",
            "year": 2026
          }
        }
      }
    }
