You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Product risks for Basira, ordered by severity. Every mitigation names the code that enforces it and the test that
fails if the mitigation is removed. Likelihood and impact are qualitative (L / M / H; impact may be Critical).
Review this file before every release and whenever a new failure mode is observed.
1. Religious-text integrity
ID
Risk
L
I
Mitigation (where)
Guarded by
R-01
An altered quotation is reported as found
M
Critical
Strict-tier byte match after canonical composition (match/exact.py); every found is re-proven independently by validator V6 (verify.py)
A model writes or alters religious text shown to the user
H
Critical
Models return positions only; every proposal is re-located verbatim or dropped (providers/base.py::relocate); displayed text comes from the corpus by record id (V1)
A downloaded corpus file is corrupted or tampered with
L
Critical
Every file is sha256-pinned in corpus/manifest.json; fetch.py refuses a mismatch. A TLS-certificate failure may fall back only for pinned files (the content is still verified); --strict-tls forbids it (E-013)
corpus/fetch.py exit status in CI
R-11
A source's licence changes or a rights chain is unresolved
M
H
OHD_MODE=off kill-switch turns hadith text display into links; HadeethEnc defaults to link mode (SOURCES.md)
Hadith coverage is the nine books (Open-Hadith-Data) plus HadeethEnc. Anything outside them is «not found in our
sources», which is a statement about coverage, not about the text.
A verbatim fragment of an ayah is confirmed and labelled as a fragment (quran_fragment); it is not treated
as a misquotation.
Evaluation numbers on IslamicEval are on the public DEV sets, not the hidden TEST sets
(eval/islamiceval/REPORT_*.md).