Views
No views yet
| Verifier | Signal | Cost |
|---|---|---|
| V2 Numeral / identity integrity | Deterministic checks: GSTIN mod-36 checksum, Aadhaar Verhoeff, PAN format, phone/pincode shape, Indic-numeral normalization | free (local) |
| V2b Cross-field arithmetic | subtotal + tax = total; line items sum; date sanity | free (local) |
| V1 Round-trip semantic | native → English → native via Sarvam-Translate/Mayura, compare to source span | cheap (30B/translate) |
| V1b Name transliteration cross-check | Indic-specific: a name in Latin and native script must transliterate-match (Sarvam Transliterate); catches a misread name/surname on KYC forms | cheap (translate) |
| V3 Source-grounding entailment | Sarvam-105B judges whether the value is entailed by its source block | expensive (105B, gated) |
| V4 Self-consistency | N temperature-varied re-extractions; disagreement = uncertainty (the only intrinsic signal, since there are no logprobs) | N× extraction |
MOCK_SARVAM convention), so
the full red→green pipeline runs offline against bundled fixtures. Drop a real
SARVAM_API_KEY in .env to go live.1pip install -r requirements.txt
2python -m quorum.scripts.demo # runs the fixture GST invoice end-to-endquorum/
quorum/
config.py # env + thresholds
schema/ # the shared data contract (Field, VerifierSignal, FieldTrust ...)
sarvam/ # Vision / LLM / Translate clients (Haqdaar-validated auth)
extract/ # Vision blocks -> schema fields
verifiers/ # the quorum: numeral, arithmetic, grounding, roundtrip, consistency
fusion/ # trust fusion + isotonic calibration + ECE
escalation/ # verifier-gated cascade to 105B
repair/ # self-repair agent
orchestrator.py # doc -> extract -> verify -> fuse -> escalate -> repair
server/ # FastAPI + websocket (live red->green board)
scripts/ # demo + eval
fixtures/ # bundled Vision blocks + gold fields (offline demo)
frontend/ # React red->green dashboard
eval/ # stage-broken metrics + gold set