Deterministic, auditable multi-perspective consensus with explicit fixpoint semantics and tamper-evident trace hashing.
QISA provides a reference-grade core for decision systems where reproducibility, auditability, and determinism are first-class constraints.
This repository intentionally avoids stochasticity and external services in order to support verifiable execution and post-hoc inspection.
-
Deterministic convergence
Fixpoint iteration converges (or fails fast) under bounded steps. -
Idempotence
Re-running from a converged state yields the same final state and trace hash. -
Tamper-evident traces
Each execution step is hash-chained; any post-hoc mutation is detectable. -
Reproducible benchmarks
Benchmarks emit pinned JSON artifacts plus a generated comparison table.
QISA (Quantum-Inspired System of AI Consensus) addresses a core problem in automated decision systems:
how to produce reproducible, auditable, and deterministic decisions when multiple perspectives disagree.
- Deterministic consensus (non-stochastic) — same inputs, same outputs.
- Verifiable audit trail — hash-chained traces detect tampering.
- Fixpoint convergence — stability via idempotence prevents loops.
- Comparable baselines — reproducible benchmark harness + pinned results.
- No external dependencies — not an LLM, no external services required.
QISA does not aim to be creative. It aims to be correct, verifiable, and repeatable.
python -m venv .venv
source .venv/bin/activate # Windows: .\.venv\Scripts\Activate.ps1
python -m pip install -U pip
python -m pip install -e ".[dev]"
<!-- QISA_META_START -->
## Tools (Trace export + external verification)
- Paper-grade instructions: ools/README.md
- Quick demo:
- Host: python tools\export_trace_demo.py then python tools\verify_trace_json.py tools\_artifacts\trace_demo.json
- Docker: docker run --rm -v \C:\repos\qisa-consensus-engine:/app qisa-consensus-engine:dev python tools/export_trace_demo.py
## Benchmarks (adversarial)
- Latest results (generated): �enchmarks\_results\results.md
- Re-run: python .\benchmarks\bench_adversarial.py
<!-- QISA_META_END -->
---
## Kemrai Linkage
This repository is part of the technical and scientific foundation behind **Kemrai** (https://www.kemrai.com).
It exists as public evidence of rigorous engineering (determinism, reproducibility, traceability) and research-grade methodology.