ACE ACE Grammar Engine Arabic Construction Engine
R007 ISOLATED DIAGNOSTIC: LOADED
R006 OPTIONAL: LOADED
MOD-059 — runtime R007/R008/R009 audit

R007: probe callable DEFINED; source /home/b5jrkec8448d/reviewpe_net_public_html/ace/reverse/reverse_functions/ace_pattern_no/new_functions/ace_r007_t_diagnostics_revised_02.php:8

Included: /home/b5jrkec8448d/reviewpe_net_public_html/ace/reverse/reverse_functions/ace_pattern_no/new_functions/ace_r007_t_diagnostics_revised_02.php

R008: probe callable DEFINED; source /home/b5jrkec8448d/reviewpe_net_public_html/ace/reverse/reverse_functions/ace_pattern_no/new_functions/ace_r008_index_diagnostics.php:7

Included: /home/b5jrkec8448d/reviewpe_net_public_html/ace/reverse/reverse_functions/ace_pattern_no/new_functions/ace_r008_index_diagnostics.php
Included: /home/b5jrkec8448d/reviewpe_net_public_html/ace/reverse/reverse_functions/ace_pattern_no/new_functions/ace_r008_full_pattern_guard_revised_01.php

R009: probe callable DEFINED; source /home/b5jrkec8448d/reviewpe_net_public_html/ace/reverse/reverse_functions/ace_pattern_no/new_functions/ace_r009_root_verification.php:9

Included: /home/b5jrkec8448d/reviewpe_net_public_html/ace/reverse/reverse_functions/ace_pattern_no/new_functions/ace_r009_root_verification.php

R008 full-pattern guard: DEFINED.

R007 invocation: controller calls ace_r007_t_diagnostics per analysis group when its diagnostic branch executes.

R008 invocation: MOD-068 uses final R006/R007-compatible pairs; guard requires authoritative expected units. R009 is invoked read-only per derived analysis group (MOD-099); see token diagnostics.

ACE Morphological Analysis — R003

Analyze Qur'anic Surah or Ayah
Quranic passage analysis

Paste one ayah or an entire surah, preserving the original Arabic orthography. The analysis runs on every token in order.

Return to fixture tests

Input: ACE controller Arabic passage | 1 tokens

MOD-111 — Single-token display audit
Token #1: كَتَبْتُنَّهُمَا — 1 display group(s)
Compound suffix matched (candidate)

← Flashcard view

Token navigation
#1كَتَبْتُنَّهُمَاROOT VALIDATED · Record 2255, 2263R008 candidates: 1.1.12Native R008: UNRESOLVEDController-retained: 1.1.12 (MOD-093)Suffix: ْتُنَّهُمَا | Pronoun: هُمَا | Role: object | Stem: كَتَبR009: ORDER_COMPATIBLER008: UNRESOLVEDكتب
Suffixْتُنَّهُمَا
Preserved stemكَتَب
Form.T.Index candidates (MOD-035)1.1.12
R008 finalized index hypotheses (MOD-068; read-only)1.1.12
R009 execution status (MOD-099)ORDER_COMPATIBLE
R008 diagnostic status (MOD-068)UNRESOLVED
Morphology & segmentation (10 fields)
Root typesurface-test
VoiceUndetermined
Attached pronounهُمَا
Pronoun roleobject
Normalized stemكتب
Internal vowelsa · a
Length3
Analysis statusCompound suffix matched (candidate)
Analysis token (normalized input)كَتَبْتُنَّهُمَا
Root candidates (all)كتب
Verification & records (7 fields)
Dictionary root statusVALIDATED
Matching record IDs2255, 2263
Root-associated record IDs (legacy verification)2255, 2263
Dictionary root verification explanationExtracted root found in dictionary; no full-token comparison required
Legacy token records tested (no match)0
Legacy token records not testable2
Roots after Form.T.Index (MOD-085; existing candidates)كتب
Rule diagnostics (7 fields)
Legacy R007 (reference only)Legacy R007 isolated
New R007 (isolated diagnostic)R006 Forms: 1; Voice: active-perfect; T: 1; HYPOTHESIS (R006 + suff1) + MOD-043 exact vowel patterns: 1.1
R009 other evidence (MOD-099)1.1.12 — ORDER_COMPATIBLE — كتب
MOD-105 native R008 statusUNRESOLVED
MOD-105 controller-retained candidates1.1.12 (MOD-093)
R008 full-pattern guard (MOD-068)accepted=0; rejected=0; unverified=1 (counts reflect R008 hypotheses; authoritative expected_surface_units not supplied)
Structural patternsكتب: three radicals
Extended diagnostics: patterns, traces and source evidence
Suffix-family evidence (MOD-032)
suff1: physically detected; full Form/T pattern required
suff6: physically detected; full Form/T pattern required
NDCL / DCL Step Trace (expand)
NDCL-01Exact NDNO MATCHAlternative not matched
NDCL-02Prepend + NDNO MATCHAlternative not matched
NDCL-03ND + AppendNO MATCHAlternative not matched
NDCL-04Prepend + ND + AppendNO MATCHAlternative not matched
DCL-01Token LengthEVIDENCEToken: كَتَبْتُنَّهُمَا; source length field: 3
DCL-02Suffix RemovalEVIDENCEPhysical suffix: ْتُنَّهُمَا; families/indices: suff1 [12]; suff6 [12]
DCL-03Length After Suffix RemovalEVIDENCEPreserved stem after suffix removal: كَتَب
DCL-04Length Without VowelsEVIDENCENormalized stem: كتب; reported structural length: 3
DCL-05Root CandidatesEVIDENCERoot candidates: كتب
DCL-06Form CandidatesEVIDENCER006 Form candidates: 1
DCL-07Form IdentifierEVIDENCER006 forms: 1; R007 voice: active-perfect
DCL-08T CategoriesEVIDENCER007 T candidates: 1
DCL-09Person / Declension IndexEVIDENCEActual prefix: (none); compatible Form.T.Index: 1.1.12; prefix-person compatibility applied by MOD-038
DCL-10Dictionary VerificationEVIDENCEDictionary ROOT status: VALIDATED; matching record IDs: 2255, 2263; no full-token validation required
كتب — Base English translation
Record 2255 · to write
Record 2263 · to correspond with each other
ACE Structural Diagnostics (actual trace; unique values)
FeatureExisting / trace value
Full Tokenكَتَبْتُنَّهُمَا
R-L — Raw Length (code points including marks)16
R-L — Raw Letter Count8
Suffix Removed (upstream R001/R002)ْتُنَّهُمَا
R-U — Preserved Stem (with marks)كَتَب
R-U — Normalized Stemكتب
R-U Length (existing controller)3
Prefix (controller fallback)NOT AVAILABLE
R006 Actual Prefix RemovedNOT AVAILABLE
R006 Actual After PrefixNOT AVAILABLE
R006 Actual Prefix ArithmeticNOT AVAILABLE
R006 Actual Form-Specific Marker RemovedNOT AVAILABLE
R006 Actual After Form RemovalNOT AVAILABLE
R006 Actual Form ArithmeticNOT AVAILABLE
R006 Form-Specific Adjustment RationaleNOT AVAILABLE
F-I — R006 Form Candidates[1]
I-V — Internal Vowels (existing output)NOT AVAILABLE
S-T — Physical Suffix Families["suff1","suff6"]
S-I — Physical Suffix Indices{"suff1":[12],"suff6":[12]}
P-R — Existing Pattern Evidence{"كتب":{"three radicals":"three radicals"}}
R007 T Candidates[1]
R008 Index (parsed from existing candidates)[12]
R008 Form.T.Index Candidates["1.1.12"]
R008 StatusUNRESOLVED
R008 Guard Accepted[]
R008 Guard Rejected[]
R008 Guard Unverified[{"address":"1.1.12","r007_consistency":"SUPPORTED AS EXISTING OVERLAPPING HYPOTHESIS","structural_guard":"UNVERIFIED: no complete pattern supplied"}]
Authoritative Full PatternNOT AVAILABLE
Authoritative Full Structural UnitsNOT AVAILABLE
Prefix / S-I Synchronization (existing verdict)NOT AVAILABLE
Read-only. R006 removal rows use only the actual trace captured by R006; no display-only stripping or morphology matching. The suffix-stripped stem is supplied upstream. The R008 index is parsed for display from existing Form.T.Index candidates, not independently recognized. Missing authoritative fields remain NOT AVAILABLE. [] is an observed empty result.
Full token analysis and diagnostic evidence (all fields)
{
    "original_analysis_group": {
        "token_no": 1,
        "token": "كَتَبْتُنَّهُمَا",
        "expected": "",
        "form": "",
        "root_type": "surface-test",
        "voice": "Undetermined",
        "suffix": "ْتُنَّهُمَا",
        "pronoun": "هُمَا",
        "pronoun_role": "object",
        "analysis_token": "كَتَبْتُنَّهُمَا",
        "stem": "كَتَب",
        "normalized_stem": "كتب",
        "prefix": "",
        "nominal_prefix": "",
        "nominal_core": "",
        "stem_length": 3,
        "root_candidates": [
            "كتب"
        ],
        "root_patterns": {
            "كتب": {
                "three radicals": "three radicals"
            }
        },
        "findings": {
            "suff1": [
                12
            ],
            "suff6": [
                12
            ]
        },
        "status": "Compound suffix matched (candidate)"
    },
    "r006": {
        "form_candidates": [
            1
        ],
        "perfect_forms": [
            1
        ],
        "evidence": {
            "1": [
                "I perfect: strong\/doubled stem with suff1"
            ]
        },
        "structural_trace": [],
        "status": "STRUCTURAL HYPOTHESIS"
    },
    "r008": {
        "form_t_index_candidates": [
            "1.1.12"
        ],
        "index_candidates": [],
        "status": "UNRESOLVED",
        "comments": [],
        "details": []
    },
    "mod105_native_r008": {
        "status": "UNRESOLVED",
        "candidates": []
    },
    "mod105_controller_retained_sources": {
        "1.1.12": [
            "MOD-093"
        ]
    },
    "r009": {
        "original": "كَتَبْتُنَّهُمَا",
        "remaining": "كَتَب",
        "r005_root_candidate": "",
        "root_candidate": "",
        "root_length": 0,
        "accepted_root_candidates": [],
        "accepted_root_count": 0,
        "rejected_root_candidates": [
            "كتب"
        ],
        "rejected_root_count": 1,
        "accepted_details": [],
        "rejected_details": [
            {
                "address": "1.1.12",
                "form": 1,
                "t": 1,
                "index": 12,
                "expected_radicals": 3,
                "observed_radicals": 3,
                "root_candidate": "كتب",
                "source": "R005 root_candidates",
                "prefix": "",
                "introductory": "",
                "structural_body": "",
                "pattern": "",
                "status": "ORDER_COMPATIBLE",
                "evidence": [
                    "Ordered letters compatible; not sufficient for verification",
                    "No dictionary or conjugator validation"
                ]
            }
        ],
        "accepted_roots_by_address": [],
        "original_skeleton": "كتبتنهما",
        "stem_skeleton": "كتب",
        "addresses": [
            "1.1.12"
        ],
        "details": [
            {
                "address": "1.1.12",
                "form": 1,
                "t": 1,
                "index": 12,
                "expected_radicals": 3,
                "observed_radicals": 3,
                "root_candidate": "كتب",
                "source": "R005 root_candidates",
                "prefix": "",
                "introductory": "",
                "structural_body": "",
                "pattern": "",
                "status": "ORDER_COMPATIBLE",
                "evidence": [
                    "Ordered letters compatible; not sufficient for verification",
                    "No dictionary or conjugator validation"
                ]
            }
        ],
        "status": "ORDER_COMPATIBLE",
        "comments": [
            "Accepted roots: none; structural verification only, not dictionary or conjugator validation.",
            "Preliminary\/incomplete candidates: 1 row(s); see rejected_details separately."
        ]
    },
    "r009_dictionary_exact_root_mod103": [],
    "r007_text": "R006 Forms: 1; Voice: active-perfect; T: 1; HYPOTHESIS (R006 + suff1) + MOD-043 exact vowel patterns: 1.1",
    "mod035_form_t_index": [
        {
            "code": "1.1.12",
            "form": 1,
            "t": 1,
            "index": 12,
            "family": "suff1",
            "source": "R006 + R007 + physical suffix"
        }
    ],
    "r007_t_candidates": [
        1
    ],
    "r007_voice": "active-perfect",
    "r007_status": "HYPOTHESIS (R006 + suff1) + MOD-043 exact vowel patterns: 1.1",
    "nominal_evidence": "",
    "resolved_findings": [],
    "dictionary_root_verification": {
        "status": "VALIDATED",
        "roots": [
            "كتب"
        ],
        "records": [
            {
                "id": 2255,
                "root": "كتب"
            },
            {
                "id": 2263,
                "root": "كتب"
            }
        ],
        "reason": "Extracted root found in dictionary; no full-token comparison required"
    },
    "legacy_record_verification": {
        "status": "VALIDATION_PENDING",
        "records": [],
        "root_records": [
            {
                "id": "2255",
                "root": "كتب"
            },
            {
                "id": "2263",
                "root": "كتب"
            }
        ],
        "roots": [
            "كتب"
        ],
        "reason": "Generator adapter not connected or candidate untestable",
        "tested": 0,
        "untestable": 2
    }
}
Dictionary records for candidate roots (2)
Record 2255 · root كتب
{
    "root": "كتب",
    "arabic": "كَتَبَ",
    "root_type": "triliteral",
    "form": 1,
    "english": "to write",
    "urdu": "لکھنا",
    "verbalnoun117": "كِتَابَة",
    "verbalnoun2": "كِتَاب",
    "verbalnoun3": "",
    "activeparticiple115": "كَاتِب",
    "passiveparticiple116": "مَكْتُوب",
    "activepast11": "كَتَبَ",
    "activeimperfect12": "يَكْتُبُ",
    "imperative113": "اُكْتُبْ",
    "passiveperfect17": "كُتِبَ",
    "passiveimperfect18": "يُكْتَبُ",
    "activeheavyemphatic16": "لَيَكْتُبَنَّ"
}
Record 2263 · root كتب
{
    "root": "كتب",
    "arabic": "تَكَاتَبَ",
    "root_type": "triliteral",
    "form": "VI",
    "english": "to correspond with each other",
    "urdu": "ایک دوسرے کو لکھنا",
    "verbalnoun117": "تَكَاتُب",
    "verbalnoun2": "مُكَاتَبَة",
    "verbalnoun3": "",
    "activeparticiple115": "مُتَكَاتِب",
    "passiveparticiple116": "مُتَكَاتَب",
    "activepast11": "تَكَاتَبَ",
    "activeimperfect12": "يَتَكَاتَبُ",
    "imperative113": "تَكَاتَبْ",
    "passiveperfect17": "",
    "passiveimperfect18": "",
    "activeheavyemphatic16": "لَيَتَكَاتَبَنَّ"
}

MOD-014 display consolidation: 0 equivalent R004 rows hidden; raw R004/R001-R003 candidates preserved. Different root, family/index, pronoun role, or R006/R007 results remain separate.

R010 — Dictionary Root Review Queue (MOD-033)

Read-only root lookup. Morphological Form/T/index verification is separate. No dictionary files modified.