بسم الله الرحمن الرحيم

ضمان الجودة

Quality Assurance

Five rounds of adversarial testing. 40 automated regression tests. Every correction traced to a classical scholarly source.

IPSC v4.0.0 deployed · 40/40 regression + 7/7 cross-field · audit practice published
جولات الاختبارQA Rounds

Five rounds of adversarial testing:

Round 1FAIL

75/100

38 bugs found including narrator identity mismatches, mursal-sahih violations, false companions.

Round 2CONDITIONAL PASS

Mursal cap gap identified; Sahihayn T10+ contamination found.

Round 313 blind-spot tests

Arabic matn quality, isnad-matn split verification, clustering validation, teacher-student graph checks, chronological coherence.

Round 4PASS

With findings — Hammad ibn Salamah T9 (should be T2), 3 Sahihayn PID misresolutions, parser edge cases.

Round 5PASS

Nothing new to find — remaining errors are long-tail disambiguation; same error class shrinking each round.

مجموعة اختبارات الانحدارRegression Suite

40 automated tests organized into five categories:

NRS Integrity (16 tests)

  • Specific narrator spot checks: al-Zuhri, Aisha, Sa'id ibn al-Musayyab, Malik
  • T1/companion consistency, death year ranges, registry counts

Corpus Structure (9 tests)

  • 617,912 record count (IPSC v4.0.0)
  • Mursal-sahih = 0
  • T10+ Sahihayn = 0
  • Multi-PID = 0
  • Grade agreement, Bukhari rate >= 95.8% (canonical floor)

Cross-field consistency (7 tests, added v3.6+)

  • Regression detail vs computedGrade alignment
  • Provenance array completeness
  • Override flag respect (_naqd3Override, _ilalCap)
  • resolutionRate freshness (Bug 1.2 regression guard)

Regression Anchors (6 tests)

  • Bukhari #1 sahih, #2 sahih, #8 sahih, #15 sahih, #7280 hasan
  • Ahmad #22007 very-weak

Documentation (2 tests)

  • Methodology file exists and >30KB
  • Manifest file exists
CategoryTestsRole
NRS Integrity12Narrator and registry invariants
Corpus Structure9Counts, caps, and grade sanity
Regression Anchors6Anchor hadith grades stable
Documentation2Shipped artifacts present

CI-ready: exit code 0 = all pass; exit code 1 = any fail. Run after every correction batch.

تدقيق قاعدة بيانات الرواةNRS Systematic Audit

Six automated phases:

PhaseFocusOutcome
1Garbage collectors — PIDs absorbing multiple people's names45 found, all cleared (99,000+ positions)
2Taqrib linkage — NRS entry describes wrong person216 issues, 148 mismatches, 75+ corrected
3Companion integrity — false companions / missing flags6,982 total companions, clean
4Death years — outside tabaqah range103 outliers, 357+ corrected
5Assessment extraction — contradictory assessments164 tier mismatches reviewed
6Duplicate PIDs — same person with multiple IDs44 pairs investigated — all confirmed different people
مبدأ المصدرProvenance Principle

The Eve-Theology f5/reasoner multi-model pipeline identifies inconsistencies. The classical scholarly source provides the correction.

Every computational correction cites a specific:

  • Taqrib al-Tahdhib entry number
  • Tahdhib al-Tahdhib volume and page reference
  • Named classical scholar's documented assessment

The model is the tool that finds the error. The book is the source of the correction.

القضايا المعروفةKnown Issues Being Addressed
  • NRS death-year quality: Chronological pair analysis revealed cases where estimated death years (derived from tabaqah rather than documented sources) produce implausible teacher-student timelines. Ongoing correction via tabaqah-range validation.
  • Maqtu classification edge cases: Some entries ending at Companions may be better classified as mawquf. Under review.
  • Taqwiyah review cases: A small number of hadith flagged by fabrication-detection may still receive elevated grades through taqwiyah from supporting chains. Each case requires individual scholarly judgment.