Nooor evaluation report
Search finds a right passage in the top ten for 75% of 20 questions it never saw, up from 45%. The chat answered 67 of 71 test turns with every sentence cited and checked, and showed only its sources for the other 4. Both tests are small, so here is exactly what was measured and what was not.
The questions
I wrote 50 questions the way a person would actually ask them, each with the verses a good answer should reach. 30 form the main set I tuned against. The other 20 are a held out set I never tuned against, so they show how the search does on questions it has not seen.
| Set | Question | Expected verses |
|---|---|---|
| Main | I am anxious about my future | 65:2, 65:3, 94:5, 94:6, 13:28 |
| Main | my business partner cheated me | 4:29, 83:1, 6:152, 38:24, 2:283 |
| Held out | my friend told everyone my secret | 49:12, 4:58, 68:11 |
| Held out | I keep lying and I want to stop | 22:30, 9:119 |
What changed the score
People describe their problem in their own words, and those words rarely match the words in tafsir. So before searching, an LLM (DeepSeek) pulls the domain terms out of each question, and search runs on the question plus those terms. The passages themselves are untouched.
| Question set | hit@10 before | hit@10 after |
|---|---|---|
| Main set, 30 questions | 0.70 | 0.80 |
| Held out set, 20 unseen questions | 0.45 | 0.75 |
hit@10 is the share of questions with at least one right passage in the top ten results. The harness also scores hit@3, MRR and recall@10 and compares vector, BM25 and hybrid search. The held out jump is larger than the main one, which on 20 questions can be luck, so I treat it as early evidence, not a promise.
The chat that will not make things up
On top of search sits a chat with one rule: nothing about Islam may appear unless a retrieved passage says it, and every such sentence points at that passage. Each turn goes through eight steps.
| Step | What happens |
|---|---|
| Guard | Caps length, masks phones, emails and ID numbers. |
| Rewrite | Turns a follow up into a question that stands on its own. |
| Enrich | An LLM pulls the domain terms out of the question. |
| Retrieve | Takes the top passages from each source and merges them. |
| Answer | Every sentence about Islam cites a passage by its id. |
| Validate | Twelve code rules check the shape, the ids and the wording. |
| Judge | A second model checks each citation against its passage. |
| Fall back | After two failed tries, shows only the sources. Never guesses. |
How often it produced a checked answer
The test uses 12 real first person questions from islamqa.info, with identifying details removed, plus one to three follow ups each that I wrote. A conversation stops at its first fall back, the way a real person would.
| Run, October 2026 | Turns | Answered | Only sources |
|---|---|---|---|
| Message splitter fixed | 20 | 11 (55%) | 9 |
| Validator softened | 21 | 12 (57%) | 9 |
| Second judge added | 28 | 21 (75%) | 7 |
| Latest run, 23 October | 71 | 67 (94%) | 4 |
Answered means the reply passed all twelve rules and the judge. It does not mean the answer was good. A human rating round is designed, with three raters scoring each turn from 0 to 2 on whether it answered the question, whether it was honest about what the sources cover, and whether it fit the person. Those ratings are not in yet.
What is still wrong
- Answers that cite but do not answer. Some replies line up correct passages on a nearby topic, then say the sources do not cover the question. Grounded, but not yet helpful.
- Small samples. 50 search questions and 71 chat turns. Enough to steer the work, not to prove it.