codex/aram-account-note-source-trace-20261031
add-index-html-10623938925177053894
arena/094f314c-aram
chatgpt-phase1b2-autopilot
codex/adr-future-connectors-pi-v1
codex/aram-account-note-source-trace-20261031
codex/aram-actions-node24-maintenance-20261031
codex/aram-analyst-review-workbook-20261031
codex/aram-bs-candidate-statement-20261031
codex/aram-cash-flow-direct-candidate-20261031
codex/aram-clean-reference-year-integrity-20261030
codex/aram-cross-statement-controls-20261031
codex/aram-equity-changes-candidate-20261031
codex/aram-five-statement-cli-20261031
codex/aram-five-statement-integration-20261031
codex/aram-five-statement-orchestrator-20261031
codex/aram-gate3-coverage-target-guard-20261030
codex/aram-gate3-hidden-xlsx-guard-20261030
codex/aram-gate3-integration-validation-20261030
codex/aram-gate3-mapping-change-preview-20261030
codex/aram-gate3-stale-note-guard-20261030
codex/aram-income-statement-candidate-20261031
codex/aram-manifest-referential-integrity-20261031
codex/aram-mapping-source-parser-20261101
codex/aram-multidimensional-mapping-20261101
codex/aram-multistatement-mapping-20261031
codex/aram-pipeline-manifest-schema-20261031
codex/aram-readonly-mapping-coverage-20261031
codex/aram-reconciliation-review-gate-20261031
codex/aram-same-flush-fiscal-lock-20261030
codex/aram-synthetic-windows-demo-20261031
codex/aram-trial-balance-diagnostic-20261031
codex/aram-windows-background-detail-search-20261031
codex/aram-windows-detail-review-20261031
codex/aram-windows-five-statement-pilot-20261031
codex/aram-windows-statement-figures-20261031
codex/gate-2a-pilot-workbook
codex/gate-2a-pilot-workbook-6864754244772568979
codex/gate3-authenticated-principal-boundary-20261030
codex/gate3-authored-draft-staging-20261030
codex/gate3-carry-forward-preview-20261023
codex/gate3-draft-staging-audit-20261030
codex/gate3-mapping-batch-freshness-20261030
codex/gate3-mapping-batch-review-20261030
codex/gate3-mapping-core
codex/gate3-mapping-coverage-20261023
codex/gate3-mapping-excel-20261023
codex/gate3-note-mapping-review-20261023
codex/gate3-signed-year-scope-20261030
codex/gate3-unapproved-proposal-storage-20261030
codex/payvast-mapping-discovery-20261023
codex/phase-2a-backend-foundation
codex/phase-2b-post-merge-record
codex/phase-2b-source-registration
codex/phase-2b-source-registration-12955190277775369594
codex/post-gate2a-control-reconciliation
codex/post-pr18-acceptance-record
codex/project-control-foundation
codex/t1-repo-hygiene-20261023
codex/t2-ci-hardening-20261023
codex/t3-explicit-migrations-20261023
codex/t6a-readonly-diagnostics-20261023
codex/v1-01-safety-gate-hardening
codex/v1-year-isolation-followup-20261023
codex/windows-native-pilot-shell-20261030
docs/aram-master-control-plan-20261111
docs/aram-roadmap-dashboard-20261030
docs/financial-statement-reconciliation-1402-1404-20261110
feat/gate3-governed-mapping-20261101
feat/gate3-package9-1-security-20261103
feat/gate3-package9-isolated-20261103
fix/password-unicode-validation-20261111
governance/aram-5-1-3-controls-20261030
governance/role-based-operating-model
jules-1168663913887856558-73b8a885
jules-gate-2b-mapping-workflow-foundation-4137724387867065330
phase-1b1-audit-report-7365389436990903239
phase-2a-backend-foundation-10237597358138521261
phase1b2-postmerge-metadata-fix
refactor/drg-parent-year-id-15088443704684163304
source-data-cleanup
| 1 | # PHASE 1B-2 VALIDATION REPORT |
| 2 | |
| 3 | ## Executive Summary |
| 4 | This document serves as the final, authoritative validation report for **Phase 1B-2** (Cell-by-Cell Statement Extraction, Dimensional Mapping Coverage Standardization, and Lineage Exposure Reconciliation). |
| 5 | |
| 6 | Phase 1B-2 has completed all required audit corrections directly on the accepted `source-data-cleanup` baseline. Phase 2 has **NOT** been started. |
| 7 | |
| 8 | --- |
| 9 | |
| 10 | ## 1. Core Validation Deliverables & Metrics |
| 11 | |
| 12 | ### A. Cell-by-Cell Primary Statement Extraction (`NOTE_TO_STATEMENT_MATRIX.md`) |
| 13 | - **Statements Extracted**: All four primary financial statements (`سودوزيان`, `وضعيت مالي`, `حقوق مالكانه`, `جريان هاي نقدي`) across fiscal years **1402**, **1403**, and **1404**. |
| 14 | - **Source Verification**: Every line item caption, note reference, current period amount, and comparative period amount is mapped directly to its exact Excel cell coordinate (`Sheet!ColRow`). |
| 15 | - **Scratchpad Anomaly Isolation**: Working/scratchpad columns (e.g. Column K in cash flow workbooks containing unformatted raw Rial numbers like `109388328483`, `-33462657272375`, `41299837917`, `-301280000000`, `1594875501283`) are isolated and excluded from statement values. No cell concatenation or column-shift errors are accepted as verified statement values. |
| 16 | - **Verification Gate**: Only statement items whose exact source cells are verified are marked **`MATCH`**; anomalous or unresolved source cells remain **`UNVERIFIED`**. |
| 17 | |
| 18 | ### B. Standardized Mapping Coverage Metrics (`MAPPING_ANALYSIS.md`) |
| 19 | The canonical source ledger contains **252,898 total rows**. Account `8999` contributes 11 domain-confirmed system closing rows that are retained in source but excluded from mapping scope, leaving **252,887 mapping-eligible rows**. |
| 20 | |
| 21 | | Standardized Coverage Metric | Row Count | Percentage of Mapping-Eligible Rows | Definition | |
| 22 | | --- | --- | --- | --- | |
| 23 | | **`UNIQUE_DETERMINISTIC_COVERAGE`** | **214,848** | **84.96%** (84.9581%) | Mapping-eligible rows matching exactly one unique mapping rule. | |
| 24 | | **`AMBIGUOUS/MULTI_MATCH_RATE`** | **37,907** | **14.99%** (14.9897%) | Mapping-eligible rows matching multiple mapping rules due to overlapping dimensional rules or missing sub-filters. *Not called proven lineage.* | |
| 25 | | **`UNMAPPED_RATE`** | **132** | **0.05%** (0.0522%) | Mapping-eligible rows matching zero mapping rules in `mapping_1404.xlsx`. | |
| 26 | | **`ANY_MATCH_COVERAGE`** | **252,755** | **99.95%** (99.9478%) | Mapping-eligible rows with at least one matching rule (`UNIQUE` + `AMBIGUOUS`). | |
| 27 | | **TOTAL MAPPING-ELIGIBLE ROWS** | **252,887** | **100.00%** | Source rows used as the mapping coverage denominator. | |
| 28 | |
| 29 | ### C. Reconciled Exposure Analysis |
| 30 | 1. **Account 8999 System Closing Account — Excluded From Mapping Scope**: |
| 31 | - 11 rows remain unchanged in `source_1404.xlsx` for audit traceability. |
| 32 | - Domain-confirmed system opening/closing account. |
| 33 | - Not intended to map to a financial statement note and therefore not counted as a true unmapped-account exception. |
| 34 | - Excluded from mapping coverage denominators and unmapped-exposure metrics. |
| 35 | |
| 36 | 2. **132 True Mapping-Eligible Unmapped Rows Exposure**: |
| 37 | - **OPENING Sum**: 116,541,110,893 Rials. |
| 38 | - **Debit Sum**: 3,961,800,186,318 Rials. |
| 39 | - **Credit Sum**: 3,881,433,378,410 Rials. |
| 40 | - **CLOSING Sum**: **196,907,918,801 Rials** (~196.91 Billion Rials / 196,908 Million Rials). |
| 41 | - **100% Exposure Concentration**: Account `8161` (حساب کنترل پیمانکاران) accounts for 110 rows and **100%** of the closing balance exposure (196,907,918,801 Rials). |
| 42 | - **Seven Zero-Closing Clearing Accounts**: 22 rows across 7 distinct zero-closing accounts (`8184`, `8260`, `8488`, `8724`, `8767`, `8769`, `8874`) have **EXACTLY ZERO closing balance**. |
| 43 | |
| 44 | --- |
| 45 | |
| 46 | ## 2. Updated Phase 1B-2 Markdown File Inventory |
| 47 | |
| 48 | The following approved Phase 1B-2 Markdown files have been updated for consistency: |
| 49 | 1. `NOTE_TO_STATEMENT_MATRIX.md` (Cell-by-cell statement-to-note extraction matrix) |
| 50 | 2. `MAPPING_ANALYSIS.md` (Standardized mapping coverage & exposure analysis) |
| 51 | 3. `SOURCE_LINEAGE_ANALYSIS.md` (Multi-tier lineage architecture & traceability) |
| 52 | 4. `NOTE_CATALOG.md` (Catalog of financial statement notes across 1402-1404) |
| 53 | 5. `NOTE_TO_SHEET_MATRIX.md` (Logical note to physical sheet mapping matrix) |
| 54 | 6. `HISTORICAL_DISCREPANCIES.md` (Historical restatements, structural shifts & anomalies) |
| 55 | 7. `PHASE_1B2_VALIDATION.md` (This summary validation report) |
| 56 | |
| 57 | --- |
| 58 | |
| 59 | ## 3. Strict Boundary Compliance |
| 60 | - **Protected Files Untouched**: `SOURCE_INVENTORY.md`, `WORKBOOK_SHEET_CATALOG.md`, `PHASE_1B1_VALIDATION.md`, XLSX/PDF files, and production code were **NOT** modified. |
| 61 | - **No Temporary Artifacts**: All temporary analysis scripts created during validation have been completely removed. |
| 62 | - **Phase 2 Gate**: Phase 2 has **NOT** been started. The codebase remains cleanly at the Phase 1B-2 baseline ready for independent review. |