8 days ago
-
phase4b: Tafsir al-Qummi ingested - Imami layer now two works deep (898 units)
Z User
- fetch_qummi_eshia v1: ar.lib.eshia.ir book 12015 (Najaf: Maktabat al-Huda
1387 AH/1967, ed. al-Jaza'iri), 2 vols; page spans derived from the
edition's own pericope TOC as served by the host (vol1->p.400, vol2->p.457);
57 content pages + 2 TOC pages stored with sha256; cache-only rebuild mode.
- anchoring (no recall): bracketed quotes + longest consecutive word-run
under a nospace fold (Najaf text interleaves Qummi's word-glosses between
verse phrases, full-verse contiguity impossible by design) + hamza-loose
second pass + whole-word pass for muqatta'ah openers; all methods flagged
per unit; fold_with_map keeps raw-coordinate segmentation exact.
- ingest_qummi: 130 anchored units (S1 5/7, S2 34/55, S6 17/17, S9 1/1,
S14 1/1, S19 63/98, S60 9/13); 62 verses with no matchable Qummi comment
carry NO unit (honest gap, skip list in extraction_report.json); idempotent
replace semantics; total KB 898 = 576 sunni + 192 majma + 130 qummi.
- 6:74 Qummi segment independently… -
phase4 v2: Majma substrate cleanup + Imami position grounded
Z User
- fetch_majma_eshia v2 extraction: fence to td#book-page-content, drop
sticky-menue tool chrome + Book_Title footer + leading page number;
cache-only 'rebuild' mode; JUNK regex DOTALL. 138/192 contaminated
unit quotes -> 0/192 (site chrome fully eliminated; inline edition
footnotes retained and flagged).
- ingest_majma: replace semantics (idempotent re-ingest), provenance
'extraction' marker; 192 Imami units regenerated; citations recomputed.
- graph rebuilt: 24,033 edges (22,221 lexical + 1,805 exegetical incl.
512 citing tafsir_majma_albayan, all review-queue); G5 idf_weight
coverage intact.
- pos_6_74_imami_ab_uncle grounded with verbatim Majma citation
(al-Zajjaj/as'habana passage, locate_folded.py byte-exact mapping);
scope honest: Al-Mizan license-blocked, Qummi untranscribed in
blocked_sources.
- manifest: dedup stale tafsir_majma_al_bayan stub; enum conformance
(legal_analysis / allowed_with_attribution); validator extended with
honest 'programmatic_page…
9 days ago
-
phase4: Imami commentary live - Majma al-Bayan ingested (192 units, 0 empty segments)
- sources: ar.lib.eshia.ir book 86854 (Dar al-Marifa ed.), 289 pages stored w/ sha256,
self-labeled pagination resolved empirically (vol numbering restarts across vols;
surahs 17-19 sit at vol 6 pp. 773-826 despite the vol 6->7 seam)
- fetch_majma_eshia.py: locator (surah-filtered quote-anchor matching vs stored Tanzil
only, no recall) + walker + segmenter; per-surah and per-verse substrates; coverage
152/192 anchored, 40 merged-with-flag, 0 empty
- ingest_majma.py: 192 imami commentary_units appended (quote_ar verbatim, G2-checked;
citations via detect_citations; honest attribution_flags: footnote-text inclusion +
merge flags) -> 768 total units (576 sunni + 192 imami)
- classify_xrefs.py: create-path dedup guard (idempotent re-runs)
- graph rebuilt: 24,033 edges (+512 exegetical citing_mufassir=tafsir_majma_albayan,
all queued); classify re-applied 17/17 relations without duplicates
- manifest: tafsir_majma_albayan registered use_with_notice (PD underlying text d. 548 A… -
phase3-6 continued: NOTICE.md + DATASET_CARD.md (attribution compliance); mutashabihat detector (71 pairs) wired into graph (23,521 edges); KB expanded to 192 verses (Surah 19+60 complete, Ibrahim blocks 2:124-141, 6:74-90) with 576 commentary units + 1,662 citations; surah names + page numbers backfilled from API with provenance; probe expanded (2 real / 3 labeled fake); PERMISSION_REQUESTS.md drafts
Z User
-
phase3: xref graph — 3,633 edges (lexical IDF-weighted incl. all ingested-pairs; exegetical from 878 detected ayah citations in 171 commentary units); LLM classifier applied 17 closed-set decisions to review queue; 6:74 acceptance test PASS (lexical link + usage split + sourced positions)
Z User