prompt stringlengths 197 199 | chosen dict | rejected unknown | rejected_source stringclasses 1
value | failure_mode stringclasses 3
values | split_key stringclasses 2
values | failure_modes listlengths 1 4 | failure_verification dict |
|---|---|---|---|---|---|---|---|
Grounded analysis of Quran 2:1: morphology (Quranic Arabic Corpus), Sunni classical tafsir (stored verbatim excerpts), cross-reference notes, and positions — with provenance. No unverified content. | {
"verse_key": "2:1",
"arabic_text": " الٓمٓ",
"provenance": [
{
"field": "arabic_text",
"source_id": "raw/00002-1.json"
},
{
"field": "morphology",
"source_id": "morphology_quranic_arabic_corpus"
},
{
"field": "tafsir",
"source_id": "raw/sources/tafsir_*"
... | {
"verse_key": "2:1",
"arabic_text": "الم",
"provenance": [
{
"field": "text",
"source_id": "quranic_arabic_corpus"
}
],
"grounding": "The first verse of Surah Al-Baqarah consists of the three separate Arabic letters 'Alif Lam Mim'.",
"morphology": [
{
"word_ref": "2:1:1",
... | on-policy base-model output: glm-4-plus (z-ai), no stored context supplied, 2026-11-29; generated via scripts/generate_dpo_negatives.py; failure labeled by deterministic substrate/verse/morphology checks + judge classification with evidence-substring enforcement | fabricated_hadith | surah_2 | [
"fabricated_hadith",
"wrong_root",
"fake_quote"
] | {
"primary": {
"mode": "fabricated_hadith",
"method": "deterministic",
"evidence": "excerpt_ar attributed to Tafsir al-Tabari is NOT a verbatim substring of any stored substrate: 'وقوله: (الم) قال: علم الله أن الناس سيسألون عن هذه الحروف التي افتتحت بها السور '"
},
"all": [
{
"mode": "fake_q... |
Grounded analysis of Quran 2:2: morphology (Quranic Arabic Corpus), Sunni classical tafsir (stored verbatim excerpts), cross-reference notes, and positions — with provenance. No unverified content. | {
"verse_key": "2:2",
"arabic_text": "ذَٰلِكَ ٱلْكِتَـٰبُ لَا رَيْبَ ۛ فِيهِ ۛ هُدًى لِّلْمُتَّقِينَ",
"provenance": [
{
"field": "arabic_text",
"source_id": "raw/00002-2.json"
},
{
"field": "morphology",
"source_id": "morphology_quranic_arabic_corpus"
},
{
"field... | {
"verse_key": "2:2",
"arabic_text": "ذَٰلِكَ الْكِتَابُ لَا رَيْبَ ۛ فِيهِ ۛ هُدًى لِّلْمُتَّقِينَ",
"provenance": [
{
"field": "morphology",
"source_id": "quranic_arabic_corpus"
},
{
"field": "tafsir",
"source_id": "tafsir_ibn_kathir"
}
],
"grounding": "This verse des... | on-policy base-model output: glm-4-plus (z-ai), no stored context supplied, 2026-11-29; generated via scripts/generate_dpo_negatives.py; failure labeled by deterministic substrate/verse/morphology checks + judge classification with evidence-substring enforcement | wrong_root | surah_2 | [
"wrong_root",
"fake_quote"
] | {
"primary": {
"mode": "wrong_root",
"method": "deterministic",
"evidence": "word 2:2:1 (ذَٰلِكَ) is stored WITHOUT a root (pos=DEM) but answer asserts root 'ذ-ل-ك'"
},
"all": [
{
"mode": "fake_quote",
"method": "deterministic",
"evidence": "verse text mismatch: stored 'ذَٰلِكَ ٱ... |
Grounded analysis of Quran 2:3: morphology (Quranic Arabic Corpus), Sunni classical tafsir (stored verbatim excerpts), cross-reference notes, and positions — with provenance. No unverified content. | {
"verse_key": "2:3",
"arabic_text": "ٱلَّذِينَ يُؤْمِنُونَ بِٱلْغَيْبِ وَيُقِيمُونَ ٱلصَّلَوٰةَ وَمِمَّا رَزَقْنَـٰهُمْ يُنفِقُونَ",
"provenance": [
{
"field": "arabic_text",
"source_id": "raw/00002-3.json"
},
{
"field": "morphology",
"source_id": "morphology_quranic_arabic_co... | {
"verse_key": "2:3",
"arabic_text": "الَّذِينَ يُؤْمِنُونَ بِالْغَيْبِ وَيُقِيمُونَ الصَّلَاةَ وَمِمَّا رَزَقْنَاهُمْ يُنفِقُونَ",
"provenance": [
{
"field": "verse_text",
"source_id": "quranic_arabic_corpus"
},
{
"field": "morphology",
"source_id": "quranic_arabic_corpus"
... | on-policy base-model output: glm-4-plus (z-ai), no stored context supplied, 2026-11-29; generated via scripts/generate_dpo_negatives.py; failure labeled by deterministic substrate/verse/morphology checks + judge classification with evidence-substring enforcement | wrong_root | surah_2 | [
"wrong_root",
"fake_quote"
] | {
"primary": {
"mode": "wrong_root",
"method": "deterministic",
"evidence": "word 2:3:1 (ٱلَّذِينَ) is stored WITHOUT a root (pos=REL) but answer asserts root 'ألذين'"
},
"all": [
{
"mode": "fake_quote",
"method": "deterministic",
"evidence": "verse text mismatch: stored 'ٱلَّذِي... |
Grounded analysis of Quran 2:4: morphology (Quranic Arabic Corpus), Sunni classical tafsir (stored verbatim excerpts), cross-reference notes, and positions — with provenance. No unverified content. | {
"verse_key": "2:4",
"arabic_text": "وَٱلَّذِينَ يُؤْمِنُونَ بِمَآ أُنزِلَ إِلَيْكَ وَمَآ أُنزِلَ مِن قَبْلِكَ وَبِٱلْـَٔاخِرَةِ هُمْ يُوقِنُونَ",
"provenance": [
{
"field": "arabic_text",
"source_id": "raw/00002-4.json"
},
{
"field": "morphology",
"source_id": "morphology_q... | {
"verse_key": "2:4",
"arabic_text": "الَّذِينَ يُؤْمِنُونَ بِالْغَيْبِ وَيُقِيمُونَ الصَّلَاةَ وَمِمَّا رَزَقْنَاهُمْ يُنفِقُونَ",
"provenance": [
{
"field": "morphology",
"source_id": "quranic_arabic_corpus"
},
{
"field": "tafsir",
"source_id": "ibn_kathir"
}
],
"grou... | on-policy base-model output: glm-4-plus (z-ai), no stored context supplied, 2026-11-29; generated via scripts/generate_dpo_negatives.py; failure labeled by deterministic substrate/verse/morphology checks + judge classification with evidence-substring enforcement | wrong_root | surah_2 | [
"wrong_root",
"fake_quote"
] | {
"primary": {
"mode": "wrong_root",
"method": "deterministic",
"evidence": "word 2:4:1 (وَ ٱلَّذِينَ) is stored WITHOUT a root (pos=REL) but answer asserts root 'أ م ن'"
},
"all": [
{
"mode": "fake_quote",
"method": "deterministic",
"evidence": "verse text mismatch: stored 'وَٱل... |
Grounded analysis of Quran 2:5: morphology (Quranic Arabic Corpus), Sunni classical tafsir (stored verbatim excerpts), cross-reference notes, and positions — with provenance. No unverified content. | {
"verse_key": "2:5",
"arabic_text": "أُو۟لَـٰٓئِكَ عَلَىٰ هُدًى مِّن رَّبِّهِمْ ۖ وَأُو۟لَـٰٓئِكَ هُمُ ٱلْمُفْلِحُونَ",
"provenance": [
{
"field": "arabic_text",
"source_id": "raw/00002-5.json"
},
{
"field": "morphology",
"source_id": "morphology_quranic_arabic_corpus"
},
... | {
"verse_key": "2:5",
"arabic_text": "الَّذِينَ يُؤْمِنُونَ بِالْغَيْبِ وَيُقِيمُونَ الصَّلَاةَ وَمِمَّا رَزَقْنَاهُمْ يُنفِقُونَ",
"provenance": [
{
"field": "morphology",
"source_id": "quranic_arabic_corpus"
},
{
"field": "tafsir",
"source_id": "tafsir_al-jalalayn"
},
... | on-policy base-model output: glm-4-plus (z-ai), no stored context supplied, 2026-11-29; generated via scripts/generate_dpo_negatives.py; failure labeled by deterministic substrate/verse/morphology checks + judge classification with evidence-substring enforcement | wrong_root | surah_2 | [
"wrong_root",
"fake_quote"
] | {
"primary": {
"mode": "wrong_root",
"method": "deterministic",
"evidence": "word 2:5:1 (أُو@لَٰ^ةِكَ) is stored WITHOUT a root (pos=DEM) but answer asserts root 'ا-م-ن'"
},
"all": [
{
"mode": "fake_quote",
"method": "deterministic",
"evidence": "verse text mismatch: stored 'أُو۟... |
Grounded analysis of Quran 2:6: morphology (Quranic Arabic Corpus), Sunni classical tafsir (stored verbatim excerpts), cross-reference notes, and positions — with provenance. No unverified content. | {
"verse_key": "2:6",
"arabic_text": "إِنَّ ٱلَّذِينَ كَفَرُوا۟ سَوَآءٌ عَلَيْهِمْ ءَأَنذَرْتَهُمْ أَمْ لَمْ تُنذِرْهُمْ لَا يُؤْمِنُونَ",
"provenance": [
{
"field": "arabic_text",
"source_id": "raw/00002-6.json"
},
{
"field": "morphology",
"source_id": "morphology_quranic_ara... | {
"verse_key": "2:6",
"arabic_text": "ٱلَّذِينَ كَفَرُوا۟ وَيَصِّدُّونَ عَن سَبِيلِ ٱللَّهِ وَٱلَّذِينَ كَفَرُوا۟ بِٱلْـَٔاخِرَةِ أُو۟لَـٰٓئِكَ عَلَىٰٓ هُدًىٰ مِّن رَّبِّهِمْ وَمَا هُم مُّهْتَدُونَ",
"provenance": [
{
"field": "quranic_arabic_corpus",
"source_id": "qac_v2"
}
],
"grounding"... | on-policy base-model output: glm-4-plus (z-ai), no stored context supplied, 2026-11-29; generated via scripts/generate_dpo_negatives.py; failure labeled by deterministic substrate/verse/morphology checks + judge classification with evidence-substring enforcement | fabricated_hadith | surah_2 | [
"fabricated_hadith",
"wrong_root",
"fake_quote"
] | {
"primary": {
"mode": "fabricated_hadith",
"method": "deterministic",
"evidence": "excerpt_ar attributed to Tafsir al-Tabari is NOT a verbatim substring of any stored substrate: 'قوله تعالى: (الذين كفروا ويصدون عن سبيل الله) قال: يعني بالذين كفروا المشركين با'"
},
"all": [
{
"mode": "fake_q... |
Grounded analysis of Quran 2:7: morphology (Quranic Arabic Corpus), Sunni classical tafsir (stored verbatim excerpts), cross-reference notes, and positions — with provenance. No unverified content. | {
"verse_key": "2:7",
"arabic_text": "خَتَمَ ٱللَّهُ عَلَىٰ قُلُوبِهِمْ وَعَلَىٰ سَمْعِهِمْ ۖ وَعَلَىٰٓ أَبْصَـٰرِهِمْ غِشَـٰوَةٌ ۖ وَلَهُمْ عَذَابٌ عَظِيمٌ",
"provenance": [
{
"field": "arabic_text",
"source_id": "raw/00002-7.json"
},
{
"field": "morphology",
"source_id": "mor... | {
"verse_key": "2:7",
"arabic_text": "وَنَقْتُطِعُ الْأَمْثَالَ ۖ وَنَذَكُّرُكُمْ بِهَا ۗ وَإِذَا أَرْسَلْنَا رِيحًا وَمَاءً مَّنْ ثَمَرَتْ فَتَزْوَجَتْ كُلُّ شَيْءٍ بِالْخَيْرِ ۗ قُلْتُمْ هَذَا مَغَرَّبٌ وَمَا هُوَ بِمَغْرَبٍ ۖ إِنَّهُ لَقَدْرُ اللَّهِ الَّذِي يُصَوِّرُكُمْ فِي الْأَرْحَامِ كَيْفَ يَشَاءُ ۚ لَا إِ... | on-policy base-model output: glm-4-plus (z-ai), no stored context supplied, 2026-11-29; generated via scripts/generate_dpo_negatives.py; failure labeled by deterministic substrate/verse/morphology checks + judge classification with evidence-substring enforcement | wrong_root | surah_2 | [
"wrong_root",
"fake_quote",
"biblical_backmapping"
] | {
"primary": {
"mode": "wrong_root",
"method": "deterministic",
"evidence": "word 2:7:1: asserted root 'ن-ق-ط' != corpus root 'ختم'"
},
"all": [
{
"mode": "fake_quote",
"method": "deterministic",
"evidence": "verse text mismatch: stored 'خَتَمَ ٱللَّهُ عَلَىٰ قُلُوبِهِمْ وَعَلَىٰ... |
Grounded analysis of Quran 2:8: morphology (Quranic Arabic Corpus), Sunni classical tafsir (stored verbatim excerpts), cross-reference notes, and positions — with provenance. No unverified content. | {
"verse_key": "2:8",
"arabic_text": "وَمِنَ ٱلنَّاسِ مَن يَقُولُ ءَامَنَّا بِٱللَّهِ وَبِٱلْيَوْمِ ٱلْـَٔاخِرِ وَمَا هُم بِمُؤْمِنِينَ",
"provenance": [
{
"field": "arabic_text",
"source_id": "raw/00002-8.json"
},
{
"field": "morphology",
"source_id": "morphology_quranic_arabi... | {
"verse_key": "2:8",
"arabic_text": "الَّذِينَ يُؤْمِنُونَ بِاللَّهِ وَالْيَوْمِ الْآخِرِ وَيُرْزَقُونَ",
"provenance": [
{
"field": "morphology",
"source_id": "quranic_arabic_corpus"
},
{
"field": "tafsir",
"source_id": "ibn_kathir"
},
{
"field": "tafsir",
... | on-policy base-model output: glm-4-plus (z-ai), no stored context supplied, 2026-11-29; generated via scripts/generate_dpo_negatives.py; failure labeled by deterministic substrate/verse/morphology checks + judge classification with evidence-substring enforcement | wrong_root | surah_2 | [
"wrong_root",
"fake_quote"
] | {
"primary": {
"mode": "wrong_root",
"method": "deterministic",
"evidence": "word 2:8:1 (وَ مِنَ) is stored WITHOUT a root (pos=P) but answer asserts root 'أ م ن'"
},
"all": [
{
"mode": "fake_quote",
"method": "deterministic",
"evidence": "verse text mismatch: stored 'وَمِنَ ٱلنّ... |
Grounded analysis of Quran 2:9: morphology (Quranic Arabic Corpus), Sunni classical tafsir (stored verbatim excerpts), cross-reference notes, and positions — with provenance. No unverified content. | {
"verse_key": "2:9",
"arabic_text": "يُخَـٰدِعُونَ ٱللَّهَ وَٱلَّذِينَ ءَامَنُوا۟ وَمَا يَخْدَعُونَ إِلَّآ أَنفُسَهُمْ وَمَا يَشْعُرُونَ",
"provenance": [
{
"field": "arabic_text",
"source_id": "raw/00002-9.json"
},
{
"field": "morphology",
"source_id": "morphology_quranic_ar... | {
"verse_key": "2:9",
"arabic_text": "هُمُ الْيَمِينُ",
"provenance": [
{
"field": "quranic_corpus",
"source_id": "v2.9"
}
],
"grounding": "This verse describes hypocrites who outwardly profess faith but inwardly disbelieve, using the term 'al-yamīn' (the right hand/righteous ones) sarcast... | on-policy base-model output: glm-4-plus (z-ai), no stored context supplied, 2026-11-29; generated via scripts/generate_dpo_negatives.py; failure labeled by deterministic substrate/verse/morphology checks + judge classification with evidence-substring enforcement | wrong_root | surah_2 | [
"wrong_root",
"fake_quote",
"biblical_backmapping"
] | {
"primary": {
"mode": "wrong_root",
"method": "deterministic",
"evidence": "word 2:9:1: asserted root 'هـ م' != corpus root 'خدع'"
},
"all": [
{
"mode": "fake_quote",
"method": "deterministic",
"evidence": "verse text mismatch: stored 'يُخَـٰدِعُونَ ٱللَّهَ وَٱلَّذِينَ ءَامَنُوا... |
Grounded analysis of Quran 2:10: morphology (Quranic Arabic Corpus), Sunni classical tafsir (stored verbatim excerpts), cross-reference notes, and positions — with provenance. No unverified content. | {
"verse_key": "2:10",
"arabic_text": "فِى قُلُوبِهِم مَّرَضٌ فَزَادَهُمُ ٱللَّهُ مَرَضًا ۖ وَلَهُمْ عَذَابٌ أَلِيمٌۢ بِمَا كَانُوا۟ يَكْذِبُونَ",
"provenance": [
{
"field": "arabic_text",
"source_id": "raw/0002-10.json"
},
{
"field": "morphology",
"source_id": "morphology_qura... | {
"verse_key": "2:10",
"arabic_text": "فِي قُلُوبِهِم مَّرَضٌ فَزَادَهُمُ اللَّهُ مَرَضًا ۖ وَلَهُمْ عَذَابٌ أَلِيمٌ بِمَا كَانُوا يَكْذِبُونَ",
"provenance": [
{
"field": "morphology",
"source_id": "quranic_arabic_corpus"
},
{
"field": "tafsir",
"source_id": "ibn_kathir"
}... | on-policy base-model output: glm-4-plus (z-ai), no stored context supplied, 2026-11-29; generated via scripts/generate_dpo_negatives.py; failure labeled by deterministic substrate/verse/morphology checks + judge classification with evidence-substring enforcement | wrong_root | surah_2 | [
"wrong_root",
"fake_quote"
] | {
"primary": {
"mode": "wrong_root",
"method": "deterministic",
"evidence": "word 2:10:1 (فِى) is stored WITHOUT a root (pos=P) but answer asserts root 'ف-و-ي'"
},
"all": [
{
"mode": "fake_quote",
"method": "deterministic",
"evidence": "verse text mismatch: stored 'فِى قُلُوبِهِم... |
Grounded analysis of Quran 2:11: morphology (Quranic Arabic Corpus), Sunni classical tafsir (stored verbatim excerpts), cross-reference notes, and positions — with provenance. No unverified content. | {
"verse_key": "2:11",
"arabic_text": "وَإِذَا قِيلَ لَهُمْ لَا تُفْسِدُوا۟ فِى ٱلْأَرْضِ قَالُوٓا۟ إِنَّمَا نَحْنُ مُصْلِحُونَ",
"provenance": [
{
"field": "arabic_text",
"source_id": "raw/0002-11.json"
},
{
"field": "morphology",
"source_id": "morphology_quranic_arabic_corpus... | {
"verse_key": "2:11",
"arabic_text": "وَإِذَا قِيلَ لَهُمْ لَا تُفْسِدُوا فِي الْأَرْضِ قَالُوا إِنَّمَا نَحْنُ مُصْلِحُونَ",
"provenance": [
{
"field": "quranic_arabic_corpus",
"source_id": "qac"
}
],
"grounding": "This verse describes hypocrites who claim to be reformers while actually ... | on-policy base-model output: glm-4-plus (z-ai), no stored context supplied, 2026-11-29; generated via scripts/generate_dpo_negatives.py; failure labeled by deterministic substrate/verse/morphology checks + judge classification with evidence-substring enforcement | fabricated_hadith | surah_2 | [
"fabricated_hadith",
"wrong_root",
"fake_quote"
] | {
"primary": {
"mode": "fabricated_hadith",
"method": "deterministic",
"evidence": "excerpt_ar attributed to تفسير ابن كثير is NOT a verbatim substring of any stored substrate: 'قال مجاهد: وإنما نحن مصلحون، أي: نحن نصلح ما افسدت العرب من دينها ودنيها. قال: و'"
},
"all": [
{
"mode": "fake_quo... |
Grounded analysis of Quran 2:12: morphology (Quranic Arabic Corpus), Sunni classical tafsir (stored verbatim excerpts), cross-reference notes, and positions — with provenance. No unverified content. | {
"verse_key": "2:12",
"arabic_text": "أَلَآ إِنَّهُمْ هُمُ ٱلْمُفْسِدُونَ وَلَـٰكِن لَّا يَشْعُرُونَ",
"provenance": [
{
"field": "arabic_text",
"source_id": "raw/0002-12.json"
},
{
"field": "morphology",
"source_id": "morphology_quranic_arabic_corpus"
},
{
"fie... | {
"verse_key": "2:12",
"arabic_text": "إِذَا قِيلَ لَهُمْ لاَ تُفْسِدُوا فِي الاَرْضِ قَالُوا إِنَّمَا نَحْنُ مُصْلِحُونَ",
"provenance": [
{
"field": "morphology",
"source_id": "quranic_arabic_corpus"
},
{
"field": "tafsir",
"source_id": "tafsir_al-tabari"
},
{
"... | on-policy base-model output: glm-4-plus (z-ai), no stored context supplied, 2026-11-29; generated via scripts/generate_dpo_negatives.py; failure labeled by deterministic substrate/verse/morphology checks + judge classification with evidence-substring enforcement | wrong_root | surah_2 | [
"wrong_root",
"fake_quote"
] | {
"primary": {
"mode": "wrong_root",
"method": "deterministic",
"evidence": "word 2:12:1 (أَلَا^) is stored WITHOUT a root (pos=INC) but answer asserts root 'إِذَ'"
},
"all": [
{
"mode": "fake_quote",
"method": "deterministic",
"evidence": "verse text mismatch: stored 'أَلَآ إِن... |
Grounded analysis of Quran 2:13: morphology (Quranic Arabic Corpus), Sunni classical tafsir (stored verbatim excerpts), cross-reference notes, and positions — with provenance. No unverified content. | {
"verse_key": "2:13",
"arabic_text": "وَإِذَا قِيلَ لَهُمْ ءَامِنُوا۟ كَمَآ ءَامَنَ ٱلنَّاسُ قَالُوٓا۟ أَنُؤْمِنُ كَمَآ ءَامَنَ ٱلسُّفَهَآءُ ۗ أَلَآ إِنَّهُمْ هُمُ ٱلسُّفَهَآءُ وَلَـٰكِن لَّا يَعْلَمُونَ",
"provenance": [
{
"field": "arabic_text",
"source_id": "raw/0002-13.json"
},
{... | {
"verse_key": "2:13",
"arabic_text": "وَإِذَا لَمْ تَكُنْ مِنَ الَّذِينَ آمَنُوا وَعَمِلُوا الصَّالِحَاتِ وَجْهُكَ تَصْدِقُ وَتَقُولُونَ مَا تُنَزَّلُ إِلَّا لِبَعْضِ الْعَرَبِ ۗ أَوَ لَا يَعْلَمُونَ أَنَّهُ مَنْ يَتَوَلَّهُ مِنْهُمْ يَوْمَ الْيُمِنَةِ يُثَبِّتُ لَهُ دِينَهُ ۖ",
"provenance": [
{
"fiel... | on-policy base-model output: glm-4-plus (z-ai), no stored context supplied, 2026-11-29; generated via scripts/generate_dpo_negatives.py; failure labeled by deterministic substrate/verse/morphology checks + judge classification with evidence-substring enforcement | wrong_root | surah_2 | [
"wrong_root",
"fake_quote"
] | {
"primary": {
"mode": "wrong_root",
"method": "deterministic",
"evidence": "word 2:13:1 (وَ إِذَا) is stored WITHOUT a root (pos=T) but answer asserts root 'و-ع-د'"
},
"all": [
{
"mode": "fake_quote",
"method": "deterministic",
"evidence": "verse text mismatch: stored 'وَإِذَا ق... |
quran.md dataset card
Canonical, cross-sectarian (Sunni canonical + Twelver Imami canonical) Quranic knowledge
base: no recall, only extraction — every quoted Arabic string is a verbatim substring
of a stored source file with sha256 provenance (scripts/verify.py fails the build on
any violation).
Why explicit configs
The Hugging Face viewer guesses splits from folder names; that previously lumped
training/eval/sft_eval.jsonl and training/eval/hallucination_probe.jsonl into one
test split even though they have different row shapes, and it mis-read the flat
variants. The configs block above pins every training file to its own config so each
is read on its own schema. Defining configs also disables automatic data-file
detection for the rest of the repo (the data/*.jsonl shards are corpus plumbing, not
training splits).
Contents
| Path | What |
|---|---|
raw/*.json |
per-verse canonical records (schema v2) |
raw/sources/ |
verbatim upstream texts + sha256 (Tanzil XML, QAC v0.4, Arabic tafsir API responses + plain-text substrates, hadith/rijal page captures) |
data/words_[0-9]*.jsonl |
77,429 word records: form/lemma/root/POS per s:a:w (Quranic Arabic Corpus 0.4, deterministic ingest) |
data/roots.json, data/lemma_index.json |
root/lemma indexes over the whole corpus |
data/commentary_units.jsonl |
tafsir commentary units (verbatim quote_ar, span, ayah citations, provenance) |
data/xref_edges.jsonl |
cross-reference graph: lexical (IDF-weighted shared root/lemma), exegetical (mufassir-cited), parallel-phrase; relation from a closed set; review_status exposed |
data/hadith.jsonl, data/narrators.jsonl, data/audits.jsonl |
rijal/audit MVP — per-criteria-set checks, no numeric trust score, unresolved is a valid state |
training/sft.jsonl |
grounded SFT train — 160 rows, split BY SURAH: surah 1 (7), 2 (55), 19 (98). Never split randomly. |
training/eval/sft_eval.jsonl |
held-out SFT eval — 32 rows: surah 6 (17), 9 (1), 14 (1), 60 (13) — the 6:74 "ab" hadith-grounded anti-hallucination cases stay held out |
training/dpo.jsonl |
DPO train — 153 rows (surah 2: 55, 19: 98), split BY SURAH, held-out eval in training/eval/dpo_eval.jsonl; chosen = grounded answers; rejected = REAL on-policy base-model outputs (glm-4-plus, no stored context supplied), never hand-written; failure_mode from a closed set, every label verified (deterministic substrate checks on every row + LLM judge with evidence-substring enforcement — judge coverage full on all 185 generated rows); see training/dpo_generation_report.json |
training/eval/dpo_eval.jsonl |
held-out DPO eval — 32 rows: surah 6 (17), 9 (1), 14 (1), 60 (13) — same held-out surahs as the SFT eval, so preference-behavior generalization is measured on the anti-hallucination set; rows moved verbatim from the generated 185 |
training/eval/hallucination_probe.jsonl |
45 items (22 real / 23 labeled-fake): real citations verbatim-grounded in stored substrates; fakes are deterministic mutations (invented-tail, isnad cross-splice, wrong-root) asserted absent from every substrate; covers all 8 failure modes |
training/flat/*.jsonl |
derived flat variants (prompt/response as strings, JSON-stringified objects) for trainers that expect strings; regenerate with scripts/flatten_training.py |
schema/*.json |
JSON Schema v2.0.0 (verse, word, commentary_unit, xref_edge, hadith, narrator, audit, sources) |
sources/manifest.json |
28-source license/access audit — license-unknown sources are excluded from published data |
NOTICE.md |
attribution notices required by upstream licenses |
docs/LICENSE_AUDIT.md |
full license audit with verbatim license quotes and unresolved items |
Grounding guarantees
quote_arfields are verbatim substrings of stored substrates (gate G2).corpus_verifiedmorphology claims must matchdata/words_*.jsonl(gate G3/G4).- Lexical edges may only use
same_usage | different_usageonce accepted (gate G5). - Cross-sectarian disagreement is stored as
positions[]with per-citation verification states — never adjudicated. - Hadith audits never collapse evaluations into one score; ghayb/eschatological claims are audited for transmission and internal coherence only. Composite isnaad determinations conclude ONLY on stored hadith-specific takhrij (phase5-takhrij: Bukhari #3350 sunni_classical 'passes' on compiler-condition admission + Ibn Hajar's Fath al-Bari defense; Al-Kafi al-Rawda 558 imami_classical 'passes' on al-Majlisi's Mir'at j26 grading 'حسن' + grounded biographical layer — identity candidates stay unmerged; qualifications recorded in the audits).
- DPO rejected answers are on-policy model outputs, not curated text; their content is NOT grounded by design (that is the point of the preference pair) — every claim of a failure mode is verified, but the rejected text itself must never be cited as data.
Known gaps (see LICENSE_AUDIT.md §5)
- Al-Mizan Arabic: license-blocked (
exclude_until_resolved). Majma' al-Bayan: INGESTED — 192 Imami commentary units over the 192-verse KB (Dar al-Ma'rifa edition via ar.lib.eshia.ir, v2td#book-page-contentextraction; inline edition footnotes kept and flagged; underlying text public domain, transcription use-with-notice, permission pending, removal pledged). Tafsir al-Qummi: INGESTED — 130 Imami commentary units (Najaf: Maktabat al-Huda 1387 AH/1967 edition via ar.lib.eshia.ir book 12015; page spans derived from the edition's own pericope TOC; anchoring by bracketed quote or longest consecutive word-run under a nospace fold — the Najaf text interleaves Qummi's word-glosses between verse phrases; hamza-loose and opener-word passes method-flagged per unit; 62 verses without a matchable Qummi comment are listed inraw/sources/tafsir_al_qummi/extraction_report.jsonand carry NO unit — honest gap, verified genuine by a cache-only negative audit (scripts/qummi_gap_audit.py, artifactraw/sources/tafsir_al_qummi/gap_audit.json): every pericope page the edition TOC assigns to a gap verse is in the cache (0 missing), 22 of the 62 have no pericope in the edition TOC at all, and for the other 40 the pericope substrate contains no >=3-word/>=12-char folded run of the verse text (ceiling: 3 words / 10 chars = noise) — any looser matcher would fabricate anchors, which the no-recall rule forbids; underlying text public domain, transcription use-with-notice, permission pending, removal pledged). Total KB: 898 commentary units = 576 Sunni + 322 Imami (192 Majma'- 130 Qummi).
- Kutub al-Sittah / Kutub al-Arba'a base texts pending sanctioned ingestion (only individual hadith pages + targeted commentary windows are stored, per-license-route).
- phase5-takhrij (2026-11-29): hadith-specific classical takhrij STORED for the two 6:74-linked hadiths — Fath al-Bari (Ibn Hajar d. 852 AH, shamela.ws book 1673, windows j6 386-391 + j8 499-503) and Mir'at al-'Uqul (al-Majlisi d. 1110 AH, ar.lib.eshia.ir book 71429 j26 548-551); plus Bukhari #4768/#4769 individual pages. Legacy 'hyena-like creature' element resolved to Ibn Hajar's quoted variant routes ('فيَمسخُ اللهُ أباهُ ضَبعًا' / 'صُورةِ ضِبعانَ') + the lexical note 'ذَكرُ الضِّباعِ'; the Ghaffari footnote[8] remark traced to Majlisi's own words. al-Khoei's Mu'jam Rijal al-Hadith remains manifest-blocked (in-copyright).
- DPO coverage is per-verse only (185 verse-analysis prompts); rejected drafts that
showed NO verifiable failure mode would be re-sampled once and dropped if still clean
(see
training/dpo_generation_report.json→dropped) rather than hand-written — in the current run zero rows were dropped: every on-policy draft had at least one verified failure. Judge classification of stance-level failure modes (biblical_backmapping, secular_reductionist_as_fact, sectarian_collapse, false_balance, ghayb_adjudication) is COMPLETE — judge coverage is full on all 185 generated rows (training/dpo_generation_report.json); merged judge modes are evidence-substring enforced (a mode is stored only with a verbatim substring of the rejected text as evidence); citation-level modes (fabricated_hadith, wrong_root, fake_quote) are deterministically verified for ALL rows regardless.
Attribution
See NOTICE.md (Tanzil, Quranic Arabic Corpus notices are mandatory in redistribution).
- Downloads last month
- 203