flatten+readme: flat string variants derived (training/flat/: sft_flat 160, sft_eval_flat 32, dpo_flat 185 — prompt/response|chosen|rejected as JSON strings for trainers expecting flat text; scripts/flatten_training.py, deterministic). README.md rewritten as the full dataset card with explicit HF configs (sft/sft_eval/dpo/hallucination_probe + flat variants) — pins each file to its own config so the viewer never lumps differently-shaped files into one split (the CastError cause); configs presence disables auto-detection for the plumbing shards. DATASET_CARD.md removed (README now carries the card; no drift risk). verify.py G1-G6 PASS, validate_manifest.py PASS
Z User
3513fe7
dpo-negatives: rejected side FILLED for all 185 rows with REAL on-policy base-model outputs (glm-4-plus via z-ai, no stored context supplied — model answers from its own knowledge, failures are natural, never hand-written). Primary verified failure_mode: wrong_root 147 / fabricated_hadith 31 / fake_quote 7; all-mode counts: fake_quote 185 (verse-text orthography + non-verbatim excerpts), wrong_root 178, fabricated_hadith 31, biblical_backmapping 6. Every label verified: deterministic checks (verse text vs Tanzil store; excerpt verbatim-or-fail vs all stored substrates; morphology vs corpus words incl. fabricated word_refs) + LLM judge with evidence-substring enforcement (79/185 rows judged so far — judge_coverage field per row; stance-mode sweep continues when API quota recovers). structure_match 178/185; length median ratio 0.6. Zero rows dropped (every draft had >=1 verified failure). Audit trail: training/dpo_generation_report.json + scripts/generate_dpo_negatives.py (checkpointed/resumable). verify.py G1-G6 PASS
Z User
e916cce
probe-expand: hallucination_probe.jsonl 5 -> 45 items (22 real / 23 fake) — real items are verbatim substrings of stored substrates (tafsir tabari/ibn-kathir/qurtubi/majma/qummi + hadith), asserted at build; fake items are deterministic mutations of stored quotes (invented-tail templates covering all 8 failure modes incl. sectarian_collapse/ghayb_adjudication/secular_reductionist/false_balance, isnad cross-splices from two stored hadiths, wrong-root claims vs corpus), asserted absent from every substrate. Legacy probe_real_1 work label corrected to tafsir_majma_albayan (matches its stored substrate); legacy duplicate probe_fake_2 id disambiguated. scripts/expand_hallucination_probe.py added. verify.py G1-G6 PASS
Z User
bdbbc04
training-resplit: SFT split fixed by surah (never random) — train sft.jsonl 160 rows (surah 1:7, 2:55, 19:98; was 7 rows surah-1-only), held-out eval sft_eval.jsonl 32 rows (6:17, 9:1, 14:1, 60:13 — the 6:74 'ab' hadith-grounded anti-hallucination cases stay held out). Rows moved verbatim, split_key=own-surah asserted for every row, deterministic (surah,ayah) sort. scripts/resplit_sft_by_surah.py added. verify.py G1-G6 PASS
Z User
0c42289
8 days ago
phase4b: Tafsir al-Qummi ingested - Imami layer now two works deep (898 units)
Z User
e046739
- 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
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
cbbb668
phase6: words data re-sharded to plain-text parts under HF 10MiB limit (data/words_[0-9]*.jsonl + words_manifest.json with sha256); all consumers updated; pipeline order build->classify; gates + acceptance PASS
Z User
e1b60ee
phase6: words.jsonl -> words.jsonl.gz (1.1MB, HF 10MiB push limit); all consumers updated; pipeline order build->classify enforced; gates + acceptance test PASS
Z User
21b1447
phase4-6: tafsir pipeline complete (171 units; Imami sources pending per manifest); rijal/audit MVP (hadith/narrators/audits with unresolved states, ghayb rule, 'ard test); compile_v2 (grounded SFT train/eval split by surah, hallucination probe 1 real + 2 labeled fake, DPO chosen staged with negatives gated on real base model); labeled md regenerated
Z User
5945aa9
10 days ago
Enrich pages 1-6 with Tafsir Ibn Kathir, add verify.py and 6-page macro context