Datasets:
qid stringlengths 9 23 | lang stringclasses 3
values | bucket stringclasses 6
values | query stringlengths 4 112 | expected_verses listlengths 0 9 | answerable bool 2
classes | source_dataset stringclasses 3
values | source_id stringclasses 23
values | notes stringclasses 39
values |
|---|---|---|---|---|---|---|---|---|
ae_en_000 | en | cross_lingual_en | how to be patient during hardship and difficulty | [
"2:153",
"2:155",
"94:5",
"94:6",
"3:200",
"39:10"
] | true | wahi-quran-retrieval-pairs/benchmark | patience-en | thematic query; any gold key counts |
ae_en_001 | en | cross_lingual_en | dealing with grief and the loss of a loved one | [
"2:155",
"2:156",
"3:185",
"21:35"
] | true | wahi-quran-retrieval-pairs/benchmark | grief-en | thematic query; any gold key counts |
ae_en_002 | en | cross_lingual_en | do not despair, Allah forgives all sins | [
"39:53",
"4:110",
"3:135"
] | true | wahi-quran-retrieval-pairs/benchmark | forgiveness-en | thematic query; any gold key counts |
ae_en_003 | en | cross_lingual_en | being thankful and grateful to God increases blessings | [
"14:7",
"2:152",
"31:12"
] | true | wahi-quran-retrieval-pairs/benchmark | gratitude-en | thematic query; any gold key counts |
ae_en_004 | en | cross_lingual_en | the story of Mary mother of Jesus | [
"3:42",
"3:45",
"19:16",
"19:17",
"19:20",
"19:27",
"66:12",
"21:91"
] | true | wahi-quran-retrieval-pairs/benchmark | maryam-en | thematic query; any gold key counts |
ae_en_005 | en | cross_lingual_en | reward for giving charity and spending in the way of God | [
"2:261",
"2:267",
"2:274",
"57:18"
] | true | wahi-quran-retrieval-pairs/benchmark | charity-en | thematic query; any gold key counts |
ae_en_006 | en | cross_lingual_en | standing up firmly for justice and fairness | [
"4:135",
"5:8",
"16:90"
] | true | wahi-quran-retrieval-pairs/benchmark | justice-en | thematic query; any gold key counts |
ae_en_007 | en | cross_lingual_en | kindness and good treatment to your parents | [
"17:23",
"17:24",
"31:14",
"46:15"
] | true | wahi-quran-retrieval-pairs/benchmark | parents-en | thematic query; any gold key counts |
ae_en_008 | en | cross_lingual_en | putting your trust and reliance in God | [
"65:3",
"3:159",
"8:2",
"9:51",
"64:13",
"8:61",
"10:84",
"14:11",
"39:38"
] | true | wahi-quran-retrieval-pairs/benchmark | tawakkul-en | thematic query; any gold key counts |
ae_en_009 | en | cross_lingual_en | the prohibition of usury and interest | [
"2:275",
"2:276",
"2:278",
"3:130"
] | true | wahi-quran-retrieval-pairs/benchmark | riba-en | thematic query; any gold key counts |
ae_en_010 | en | cross_lingual_en | fasting and the month of Ramadan | [
"2:183",
"2:185",
"2:187"
] | true | wahi-quran-retrieval-pairs/benchmark | fasting-en | thematic query; any gold key counts |
ae_en_011 | en | cross_lingual_en | love and mercy between husband and wife | [
"30:21",
"4:1",
"2:187"
] | true | wahi-quran-retrieval-pairs/benchmark | marriage-en | thematic query; any gold key counts |
ae_en_012 | en | cross_lingual_en | signs of God in the creation of the heavens and the earth | [
"3:190",
"2:164",
"21:30",
"41:53",
"30:22",
"42:29"
] | true | wahi-quran-retrieval-pairs/benchmark | creation-en | thematic query; any gold key counts |
ae_en_013 | en | cross_lingual_en | caring for orphans and not oppressing them | [
"93:9",
"2:220",
"4:2",
"4:10"
] | true | wahi-quran-retrieval-pairs/benchmark | orphans-en | thematic query; any gold key counts |
ae_en_014 | en | cross_lingual_en | the sin of backbiting and gossip about others | [
"49:12",
"104:1"
] | true | wahi-quran-retrieval-pairs/benchmark | backbiting-en | thematic query; any gold key counts |
ae_en_015 | en | cross_lingual_en | do not be wasteful or extravagant in spending | [
"7:31",
"17:26",
"17:27",
"25:67"
] | true | wahi-quran-retrieval-pairs/benchmark | moderation-en | thematic query; any gold key counts |
ae_en_016 | en | cross_lingual_en | life is a test and trial from God | [
"67:2",
"29:2",
"2:155",
"21:35"
] | true | wahi-quran-retrieval-pairs/benchmark | tests-en | thematic query; any gold key counts |
ae_en_017 | en | cross_lingual_en | Allah is the light of the heavens and the earth | [
"24:35"
] | true | wahi-quran-retrieval-pairs/benchmark | light-en | thematic query; any gold key counts |
ae_en_018 | en | cross_lingual_en | an atom's weight of good or evil on the day of judgement | [
"99:7",
"99:8"
] | true | wahi-quran-retrieval-pairs/benchmark | judgement-en | thematic query; any gold key counts |
ae_en_019 | en | cross_lingual_en | sincere repentance and turning back to God | [
"66:8",
"9:104",
"24:31"
] | true | wahi-quran-retrieval-pairs/benchmark | repentance-en | thematic query; any gold key counts |
ae_sem_wahi_000 | ar | semantic_ar | الصبر عند المصيبة والشدة | [
"2:153",
"2:155",
"2:156",
"94:5",
"94:6"
] | true | wahi-quran-retrieval-pairs/benchmark | patience-ar | thematic AR query from wahi |
ae_sem_wahi_001 | ar | semantic_ar | التوبة والرجوع إلى الله | [
"66:8",
"9:104",
"24:31"
] | true | wahi-quran-retrieval-pairs/benchmark | repentance-ar | thematic AR query from wahi |
ae_lexical_ar_020 | ar | lexical_ar | الصدقة | [
"2:263",
"2:264",
"2:271",
"9:60",
"57:18"
] | true | manual | hand-labeled | |
ae_lexical_ar_021 | ar | lexical_ar | الصدق | [
"3:17",
"5:119",
"9:119",
"33:70"
] | true | manual | hand-labeled | |
ae_lexical_ar_022 | ar | lexical_ar | الصبر على البلاء | [
"2:153",
"2:155",
"2:156",
"2:157"
] | true | manual | hand-labeled | |
ae_lexical_ar_023 | ar | lexical_ar | العفو | [
"7:199",
"24:22",
"64:14",
"3:159"
] | true | manual | hand-labeled | |
ae_lexical_ar_024 | ar | lexical_ar | الخشية | [
"13:21",
"23:57",
"35:28",
"50:33",
"67:12"
] | true | manual | hand-labeled | |
ae_lexical_ar_005 | ar | lexical_ar | التوبة | [
"2:37",
"2:160",
"4:17",
"5:39",
"66:8"
] | true | manual | hand-labeled | |
ae_lexical_ar_006 | ar | lexical_ar | الشكر | [
"2:152",
"14:7",
"16:114",
"31:12"
] | true | manual | hand-labeled | |
ae_lexical_ar_007 | ar | lexical_ar | العلم | [
"2:31",
"20:114",
"39:9",
"58:11",
"96:1"
] | true | manual | hand-labeled | |
ae_lexical_ar_008 | ar | lexical_ar | بر الوالدين | [
"2:83",
"4:36",
"17:23",
"17:24",
"31:14"
] | true | manual | hand-labeled | |
ae_lexical_ar_009 | ar | lexical_ar | حفظ اللسان | [
"17:53",
"50:18",
"4:114",
"33:70"
] | true | manual | hand-labeled | |
ae_lexical_ar_010 | ar | lexical_ar | الجنة | [
"2:82",
"3:133",
"3:185",
"7:42",
"7:43"
] | true | manual | hand-labeled | |
ae_lexical_ar_011 | ar | lexical_ar | التقوى | [
"2:2",
"2:21",
"2:177",
"2:183",
"65:2",
"3:102"
] | true | manual | hand-labeled | |
ae_lexical_ar_012 | ar | lexical_ar | الإحسان | [
"2:195",
"3:134",
"4:125",
"7:56",
"16:90"
] | true | manual | hand-labeled | |
ae_lexical_ar_013 | ar | lexical_ar | الصلاة | [
"2:43",
"2:45",
"2:238",
"4:103",
"20:14",
"29:45"
] | true | manual | hand-labeled | |
ae_lexical_ar_014 | ar | lexical_ar | الأمانة | [
"4:58",
"8:27",
"23:8",
"33:72",
"70:32"
] | true | manual | hand-labeled | |
ae_semantic_ar_002 | ar | semantic_ar | الشدة والفرج | [
"2:286",
"94:5",
"94:6",
"65:7"
] | true | manual | hand-labeled | |
ae_semantic_ar_003 | ar | semantic_ar | الظلم والعدل الإلهي | [
"4:40",
"18:49",
"21:47",
"41:46"
] | true | manual | hand-labeled | |
ae_multi_hop_ar_000 | ar | multi_hop_ar | الصبر والصلاة | [
"2:45",
"2:153"
] | true | manual | hand-labeled | |
ae_multi_hop_ar_001 | ar | multi_hop_ar | الإيمان والعمل الصالح | [
"2:277",
"16:97",
"18:107",
"103:3"
] | true | manual | hand-labeled | |
ae_roman_urdu_020 | ur-roman | roman_urdu | namaz kaise padhe | [
"2:43",
"2:45",
"2:238",
"4:103",
"20:14",
"29:45"
] | true | manual | hand-labeled | |
ae_roman_urdu_021 | ur-roman | roman_urdu | roza kab farz hua | [
"2:183",
"2:184",
"2:185",
"2:187"
] | true | manual | hand-labeled | |
ae_roman_urdu_022 | ur-roman | roman_urdu | zakat kis par farz hai | [
"2:110",
"2:267",
"9:60",
"9:103"
] | true | manual | hand-labeled | |
ae_roman_urdu_023 | ur-roman | roman_urdu | walidain ke huqooq | [
"2:83",
"4:36",
"17:23",
"17:24",
"31:14"
] | true | manual | hand-labeled | |
ae_roman_urdu_024 | ur-roman | roman_urdu | ghibat kya hai | [
"49:12",
"104:1"
] | true | manual | hand-labeled | |
ae_roman_urdu_025 | ur-roman | roman_urdu | dua ki qabooliyat | [
"2:186",
"7:55",
"7:56",
"40:60"
] | true | manual | hand-labeled | |
ae_roman_urdu_026 | ur-roman | roman_urdu | qayamat kab hogi | [
"7:187",
"20:15",
"22:7",
"33:63",
"42:17"
] | true | manual | hand-labeled | |
ae_roman_urdu_027 | ur-roman | roman_urdu | jannat kaisi hai | [
"3:133",
"7:43"
] | true | manual | hand-labeled | |
ae_roman_urdu_028 | ur-roman | roman_urdu | jahannam ka azab | [
"2:24",
"3:131",
"4:14"
] | true | manual | hand-labeled | |
ae_roman_urdu_029 | ur-roman | roman_urdu | shadi ke ahkam | [
"2:221",
"4:3",
"24:32",
"4:22",
"4:25"
] | true | manual | hand-labeled | |
ae_roman_urdu_030 | ur-roman | roman_urdu | talaq ke ahkam | [
"2:227",
"2:229",
"2:230",
"2:231",
"65:1"
] | true | manual | hand-labeled | |
ae_roman_urdu_031 | ur-roman | roman_urdu | waris ki taqseem | [
"4:7",
"4:11",
"4:12",
"4:33",
"4:176"
] | true | manual | hand-labeled | |
ae_roman_urdu_032 | ur-roman | roman_urdu | sood kya hai | [
"2:275",
"2:276",
"2:278",
"3:130",
"4:161"
] | true | manual | hand-labeled | |
ae_roman_urdu_033 | ur-roman | roman_urdu | sharab ki hurmat | [
"2:219",
"5:90",
"5:91"
] | true | manual | hand-labeled | |
ae_roman_urdu_034 | ur-roman | roman_urdu | jaanwar ki halal haram | [
"5:1",
"5:3",
"5:4",
"5:5",
"5:87"
] | true | manual | hand-labeled | |
ae_roman_urdu_036 | ur-roman | roman_urdu | maa baap ki nafarmani | [
"17:23",
"17:24",
"31:14",
"2:83",
"4:36"
] | true | manual | hand-labeled | |
ae_roman_urdu_037 | ur-roman | roman_urdu | hasad kya hai | [
"4:54",
"113:5",
"2:109"
] | true | manual | hand-labeled | |
ae_roman_urdu_038 | ur-roman | roman_urdu | takabbur ka anjaam | [
"2:34",
"7:13",
"7:36",
"7:40",
"7:146",
"16:23",
"40:35"
] | true | manual | hand-labeled | |
ae_roman_urdu_039 | ur-roman | roman_urdu | sach bolne ki fazilat | [
"3:17",
"5:119",
"9:119",
"33:70"
] | true | manual | hand-labeled | |
ae_unanswerable_ar_000 | ar | unanswerable_ar | ما حكم شراء العملات الرقمية؟ | [] | false | manual | hand-labeled | |
ae_unanswerable_ar_001 | ar | unanswerable_ar | كم عدد ركعات صلاة الوتر؟ | [] | false | manual | hand-labeled | |
ae_unanswerable_ar_002 | ar | unanswerable_ar | ما حكم التدخين في الإسلام؟ | [] | false | manual | hand-labeled | |
ae_unanswerable_ar_003 | ar | unanswerable_ar | ما حكم صيام يوم عرفة؟ | [] | false | manual | hand-labeled | |
ae_unanswerable_ar_004 | ar | unanswerable_ar | ما حكم أكل لحم الحصان؟ | [] | false | manual | hand-labeled | |
ae_unanswerable_ar_005 | ar | unanswerable_ar | ماذا أكل النبي ﷺ يوم الثلاثاء؟ | [] | false | manual | hand-labeled | |
ae_unanswerable_ar_006 | ar | unanswerable_ar | من فاز بكأس العالم 1998؟ | [] | false | manual | hand-labeled | |
ae_lexical_ar_015 | ar | lexical_ar | الاستغفار | [
"3:135",
"71:10",
"110:3",
"3:17"
] | true | manual | hand-labeled | |
ae_lexical_ar_016 | ar | lexical_ar | الرضاعة | [
"2:233",
"4:23",
"65:6",
"22:2"
] | true | manual | hand-labeled | |
ae_lexical_ar_017 | ar | lexical_ar | العدل | [
"4:58",
"5:8",
"16:90",
"4:135"
] | true | manual | hand-labeled | |
ae_lexical_ar_018 | ar | lexical_ar | الهجرة | [
"2:218",
"4:100",
"9:20",
"16:41"
] | true | manual | hand-labeled | |
ae_lexical_ar_019 | ar | lexical_ar | الإفك | [
"24:11",
"24:12",
"37:86",
"46:11"
] | true | manual | hand-labeled | |
ae_lexical_ar_060 | ar | lexical_ar | الصلح | [
"4:128",
"49:9",
"49:10",
"8:1"
] | true | manual | hand-labeled | |
ae_lexical_ar_061 | ar | lexical_ar | اليتامى | [
"2:220",
"4:2",
"4:3",
"4:6"
] | true | manual | hand-labeled | |
ae_lexical_ar_062 | ar | lexical_ar | الكبر | [
"17:23",
"14:39",
"15:54",
"3:40"
] | true | manual | hand-labeled | |
ae_lexical_ar_063 | ar | lexical_ar | الميسر | [
"2:219",
"5:90",
"5:91"
] | true | manual | hand-labeled | |
ae_lexical_ar_064 | ar | lexical_ar | القصاص | [
"2:178",
"2:179",
"5:45"
] | true | manual | hand-labeled | |
ae_lexical_ar_025 | ar | lexical_ar | الانفاق | [
"2:261",
"2:262",
"2:270",
"3:134"
] | true | manual | hand-labeled | |
ae_lexical_ar_026 | ar | lexical_ar | الوسوسة | [
"7:20",
"20:120",
"50:16",
"114:4",
"114:5"
] | true | manual | hand-labeled | |
ae_lexical_ar_027 | ar | lexical_ar | المحيا والممات | [
"6:162",
"45:21"
] | true | manual | hand-labeled | |
ae_lexical_ar_028 | ar | lexical_ar | الشح | [
"4:128",
"59:9",
"64:16"
] | true | manual | hand-labeled | |
ae_lexical_ar_029 | ar | lexical_ar | النجوى | [
"17:47",
"20:62",
"58:7",
"58:8",
"58:12"
] | true | manual | hand-labeled | |
ae_lexical_ar_030 | ar | lexical_ar | الشهادة | [
"2:282",
"2:283",
"5:106",
"65:2"
] | true | manual | hand-labeled | |
ae_lexical_ar_031 | ar | lexical_ar | البغضاء | [
"3:118",
"5:14",
"5:64",
"5:91",
"60:4"
] | true | manual | hand-labeled | |
ae_lexical_ar_032 | ar | lexical_ar | الميثاق | [
"2:83",
"2:84",
"3:81",
"5:7",
"13:20"
] | true | manual | hand-labeled | |
ae_lexical_ar_033 | ar | lexical_ar | الجهاد | [
"2:218",
"3:142",
"9:41",
"22:78"
] | true | manual | hand-labeled | |
ae_lexical_ar_034 | ar | lexical_ar | الصيام | [
"2:183",
"2:184",
"2:187"
] | true | manual | hand-labeled | |
ae_lexical_ar_035 | ar | lexical_ar | الرزق | [
"2:3",
"2:22",
"11:6",
"51:58"
] | true | manual | hand-labeled | |
ae_lexical_ar_036 | ar | lexical_ar | الشفاء | [
"9:14",
"10:57",
"16:69",
"17:82"
] | true | manual | hand-labeled | |
ae_lexical_ar_037 | ar | lexical_ar | النور | [
"2:257",
"5:15",
"24:35",
"64:8"
] | true | manual | hand-labeled | |
ae_lexical_ar_038 | ar | lexical_ar | الظلمات | [
"2:257",
"6:1",
"14:1",
"33:43"
] | true | manual | hand-labeled | |
ae_lexical_ar_039 | ar | lexical_ar | الظلم | [
"3:57",
"6:52",
"10:52",
"31:13"
] | true | manual | hand-labeled | |
ae_lexical_ar_040 | ar | lexical_ar | القصص | [
"3:62",
"7:176",
"12:3",
"28:25"
] | true | manual | hand-labeled | |
ae_lexical_ar_041 | ar | lexical_ar | البر | [
"2:177",
"2:189",
"3:92",
"5:2"
] | true | manual | hand-labeled | |
ae_lexical_ar_042 | ar | lexical_ar | الشفاعة | [
"2:255",
"6:51",
"10:3",
"39:44"
] | true | manual | hand-labeled | |
ae_lexical_ar_043 | ar | lexical_ar | الوصية | [
"2:180",
"4:11",
"4:12",
"5:106"
] | true | manual | hand-labeled | |
ae_lexical_ar_044 | ar | lexical_ar | القسط | [
"3:18",
"5:8",
"49:9",
"57:25"
] | true | manual | hand-labeled | |
ae_lexical_ar_045 | ar | lexical_ar | الفرقان | [
"2:53",
"3:4",
"8:29",
"25:1"
] | true | manual | hand-labeled | |
ae_lexical_ar_046 | ar | lexical_ar | الاستقامة | [
"11:112",
"41:30",
"46:13"
] | true | manual | hand-labeled | |
ae_lexical_ar_047 | ar | lexical_ar | الإخلاص | [
"39:2",
"39:11",
"40:14"
] | true | manual | hand-labeled |
Ahmad-Eval v1
A 232-question retrieval and QA benchmark for Quranic question answering. Queries are in Modern Standard Arabic, English, and Romanized Urdu. Gold-standard verse references are always to the Arabic Quran (6236 verses, Uthmani script).
This dataset is intended as an evaluation benchmark for retrieval and question-answering systems built on the Quran. It is not a fiqh (Islamic jurisprudence) dataset, and it is not intended to answer religious questions authoritatively. See "Intended uses" and "Out-of-scope uses" below.
Dataset description
Ahmad-Eval v1 contains 232 questions across six evaluation
buckets, each testing a distinct retrieval and abstention
capability. The questions are hand-labeled or drawn from public
sources; the gold verse sets are human-verified. Each question
carries a source_dataset field identifying its origin.
The dataset was built in Sessions 6–7 of an 8-session development
cycle to evaluate a retrieval + verifier + scope-routing pipeline
on the Quran. The pipeline's measured results on this benchmark,
including its observed failure modes, are in
pipeline_results.md. They are linked
from this card so that anyone using ahmad_eval_v1 as a baseline
sees both the benchmark and the pipeline that produced it, with
its limitations recorded honestly.
Composition
Total: 232 questions.
By bucket:
| bucket | n | lang | tests |
|---|---|---|---|
lexical_ar |
66 | ar |
root or surface keyword matching |
cross_lingual_en |
46 | en |
cross-lingual retrieval from English to Arabic |
roman_urdu |
45 | ur-roman |
low-resource transliteration retrieval |
semantic_ar |
45 | ar |
paraphrase and thematic matching |
unanswerable_ar |
22 | ar |
correct abstention (out-of-corpus questions) |
multi_hop_ar |
8 | ar |
compound queries combining two concepts |
By source:
| source_dataset | n | provenance |
|---|---|---|
manual |
196 | hand-labeled in Sessions 6–7 of this project |
synthetic_gemini_v2 |
36 | contributed by an external model, hand-reviewed, frozen before evaluation (Session 7k) |
The 36 synthetic_gemini_v2 questions are the "fresh" evaluation
set. They were not present when the pipeline's retrieval stack was
tuned. The 196 manual questions are the "calibration" set.
Fields
Each question in ahmad_eval_v1.json is an object with these
fields:
| field | type | description |
|---|---|---|
qid |
string | unique question identifier |
lang |
string | query language: ar, en, or ur-roman |
bucket |
string | one of the six bucket names above |
query |
string | question text in the stated language |
expected_verses |
array of strings | gold-standard verse refs in "S:A" format; empty for unanswerable_ar |
answerable |
boolean | false iff bucket == "unanswerable_ar" |
source_dataset |
string | "manual" or "synthetic_gemini_v2" |
source_id |
string | original ID within source, "" for manual |
notes |
string | labeling notes and adversarial properties |
Splits
testsplit: all 232 questions. There is no train split. This is an evaluation benchmark; using it for training contaminates it as a fresh-question test.
To reproduce the "calibration" / "fresh" split used in the
reference pipeline's evaluation, filter on source_dataset:
manual for calibration (196 questions), synthetic_gemini_v2
for fresh (36 questions).
Intended uses
- Evaluating retrieval systems built on the Quran. R@5, R@10, MRR, hit@k, and similar metrics on the retrieval stack.
- Evaluating abstention behavior on out-of-corpus questions.
The
unanswerable_arbucket is designed to test whether a system correctly refuses to answer questions whose rulings are not in the Quran. - Evaluating cross-lingual retrieval from English and Romanized Urdu to Arabic verses.
- Reproducing the reference pipeline's evaluation, using the
artifacts described in
pipeline_results.md.
Out-of-scope uses
- Answering religious questions authoritatively. This is an evaluation benchmark, not a fatwa service. The gold verses are retrieval targets, not rulings. Anyone building a user-facing Islamic QA system on this data must route rulings to qualified scholars, as the reference pipeline's gate does.
- Training a model to answer Quranic questions. The 232 questions are evaluation data. Training on them contaminates every future evaluation on this benchmark.
- Publishing a "system accuracy" number from this benchmark
without also publishing the abstention split and the failure-mode
analysis. A verified rate without the abstention rate is not
informative; see
pipeline_results.mdfor why. - Claiming the gold
expected_versesare the only valid answers. They are a set of valid verses, not the set. The benchmark's gold sets are known to be narrower than the space of relevant verses; see "Known limitations" below.
Known limitations and observed failure modes
These are recorded here so that anyone using ahmad_eval_v1 as a
baseline understands what the reference pipeline found when it ran
on this benchmark, and what a better system would need to do
differently.
Limitation 1 — the gold sets are narrow
The expected_verses for each question are a specific set of
verses that answer the question. They are not the only such
verses. A retrieval system that returns a valid verse not in
expected_verses will be scored as "wrong" by strict R@5, even
though the verse is a valid answer.
This was quantified in Day 28 of the project's development (see
journal/2026-10-18-day28.md): a hand-review of 15 sampled
retrieval failures found that 13 of 15 (87%) returned at least
one verse a human reviewer marked as clearly or plausibly
relevant. The failures were gold-set narrowness, not retriever
failures, in the majority of cases.
Implication for evaluation: R@5 on this benchmark understates a system's real retrieval quality. If evaluating a new system, report R@5 and hit@5 and (ideally) a hand-reviewed "relevance@5" sample. Do not report R@5 alone as a retrieval- quality number.
Limitation 2 — the unanswerable_ar bucket is out-of-corpus, not unanswerable in principle
The 22 unanswerable_ar questions include two subtypes:
- type (a): questions the Quran does not address at all (e.g. "who won the 1998 World Cup").
- type (b): questions whose topic appears in the Quran but whose ruling comes from hadith or fiqh (e.g. the number of rak'ahs in witr prayer, the ruling on smoking).
Type (b) questions are not unanswerable in Islamic scholarship;
they are out-of-corpus for a Quran-only retrieval system. A system
that answers type (b) from a broader corpus would be correct in
principle. The bucket name is unanswerable_ar for historical
reasons; out_of_corpus would be more accurate.
Implication for evaluation: treat the unanswerable_ar bucket
as "should abstain given a Quran-only corpus," not as "should
abstain in all contexts."
Limitation 3 — the query phrasing distribution is not uniform
The 196 manual questions and the 36 synthetic_gemini_v2
questions are phrased differently. The manual set contains a
large proportion of single-word Arabic lexical queries
(التوبة, الصبر). The synthetic_gemini_v2 set contains
proportionally more full-sentence prose questions, in all three
languages.
This is not a limitation of the benchmark per se — diversity of
phrasing is a feature. But it means that a system tuned on the
196 will not necessarily generalize to the 36, and this was
observed in the reference pipeline: a Layer 1 classification
prompt that over-fired on 18% of the 196's answerable questions
over-fired on 57% of the 36 fresh questions. See
pipeline_results.md for the full analysis.
Implication for evaluation: if your system was developed with the 196 visible, evaluate it on the 36 as a fresh test, not on the 196 as a confirmation set.
Limitation 4 — cross-lingual translations are not perfect
The cross_lingual_en and roman_urdu questions depend on
machine translation or transliteration mappings for their Arabic
query form. Some translations are non-literal (e.g. "backbiting"
in the Yusuf Ali English corpus is rendered "behind their backs"
in Surah 49), and a system that relies on literal translation for
cross-lingual retrieval will fail on such cases.
This is documented in the Day 28 journal as a specific
stemmer-vocabulary mismatch on the Roman-Urdu ghibat kya hai
question.
Observed failure mode — the reference pipeline
The reference pipeline (retrieval + verifier + two-layer gate) was
run on this benchmark in Sessions 7h–7k. The measured results are
in pipeline_results.md. The short version:
- On the 196 calibration questions, the pipeline achieved 32 verified, 33 abstained, 115 wrong on the 180 answerable; 16/16 out-of-scope abstained, 0 false answers.
- On the 36 fresh questions, the pipeline achieved 3 verified, 17 abstained, 10 wrong on the 30 answerable; 4/6 out-of-scope abstained, 2 false answers.
The 36-fresh numbers are the publishable result. They fail the
pre-registered thresholds the reference pipeline committed to
before running. The dominant failure is that the reference
pipeline's scope-routing gate over-fires on the fresh set's
prose-like phrasing: 17 of 30 answerable fresh questions were
gated out before reaching the retriever. See
pipeline_results.md for the analysis.
Implication for evaluation: the reference pipeline is a useful baseline for retrieval on the 196, and an honest failure case for generalization on the 36. Any new system that improves on the reference pipeline's 36-fresh numbers has genuinely improved generalization.
Licensing and provenance
- The Quranic text (
canonical_quran.dbin the reference pipeline) is public domain. - The English translation is the Yusuf Ali translation, public domain.
- The 196
manualquestions were hand-labeled in this project. - The 36
synthetic_gemini_v2questions were contributed by an external model and hand-reviewed before being frozen in the benchmark. They are not produced by the reference pipeline's authors; they were reviewed for correctness against the Uthmani text. - The dataset is released under CC-BY-4.0.
Citation
If you use ahmad_eval_v1 in published work, cite it as:
Ahmad-Eval v1: A 232-question retrieval and QA benchmark for the Quran.
Project: Ahmad-AI. Sessions 6–7, 2026.
Repository: https://github.com/emadaed/quran-retrieval-benchmark
See also
pipeline_results.md— full pipeline evaluation results, failure-mode analysis, confidence intervals, and pre-registered pass-rule verdict. (In this dataset repo.)- Journal: Day 28, Session 7h — the template-drafter agent (first end-to-end pipeline). (In the code repo.)
- Journal: Day 28, Session 7g — development notes on the retriever's measurements and the gold-set-narrowness finding. (In the code repo.)
- Journal: Day 30, Session 7j — the reference pipeline's calibration run (196 questions). (In the code repo.)
- Journal: Day 31, Session 7k — the reference pipeline's fresh-question run (36 questions) and the failure analysis. (In the code repo.)
- Downloads last month
- 43